[Mono-bugs] [Bug 504411] Mprotect fails with ENOMEM in GC_remap

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon May 18 17:25:12 EDT 2009


User munroesj at us.ibm.com added comment

--- Comment #7 from Steven Munroe <munroesj at us.ibm.com>  2009-05-18 15:25:11 MDT ---
In the previous comment we have diag printfs and stack backtrace that seems to
show a problem with GC_unmap_gap.

GC_unmap_gap called with (start1=0x400027fe000, bytes1=344064,
start2=0x40002852000, bytes2=385024)

Start1 was rounded up to 0x40002800000
Start1 + bytes1 was rounded down to 0x40002850000
Start2 was rounded up to 0x40002860000
Start2 + bytes2 was rounded down to 0x400028b0000

the munmap is called with (0x40002850000, 0x10000)

But according to the original start/end pairs there was no gap (0x40002852000 -
0x40002852000 == 0). So this leaves the possibility there that the page at
0x40002850000 was released by a previous action 

Are there other places in addition to os_dep.c where mmaps ocur?

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list