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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri May 15 15:40:04 EDT 2009


User munroesj at us.ibm.com added comment

--- Comment #1 from Steven Munroe <munroesj at us.ibm.com>  2009-05-15 13:40:04 MDT ---
We see the following stack trace where GC_remap calls GC_abort after mprotect
returns errno 12.

Thread 1 (Thread 0x40000510000 (LWP 6864)):
#0  0x0000040000205b90 in .__libc_read () from /lib64/power6x/libpthread.so.0
#1  0x0000000010082300 in mono_handle_native_sigsegv (
    signal=<value optimized out>, ctx=<value optimized out>)
    at mini-exceptions.c:1480
#2  0x000000001001b0cc in sigabrt_signal_handler (
    _dummy=<value optimized out>, info=<value optimized out>, 
    context=0xfffff9eae70) at mini.c:4286
#3  <signal handler called>
#4  0x0000040000366630 in .raise () from /lib64/power6x/libc.so.6
#5  0x0000040000368300 in .abort () from /lib64/power6x/libc.so.6
#6  0x00000000101d55a8 in GC_abort (
    msg=0x10274500 "Mprotect remapping failed") at misc.c:1074
#7  0x00000000101d1c4c in GC_remap (start=0x40002770000 "", bytes=851968)
    at os_dep.c:1965
#8  0x00000000101c4b98 in GC_allochblk_nth (sz=6, kind=4, flags=0 '\0', n=54)
    at allchblk.c:730
#9  0x00000000101c4404 in GC_allochblk (sz=6, kind=4, flags=0)
    at allchblk.c:561
#10 0x00000000101cba24 in GC_new_hblk (sz=6, kind=4) at new_hblk.c:253
#11 0x00000000101c9dd8 in GC_allocobj (sz=6, kind=4) at alloc.c:1116
#12 0x00000000101c2304 in GC_generic_malloc_inner (lb=48, k=4) at malloc.c:136
#13 0x00000000101c64d4 in GC_gcj_malloc (lb=48, 
    ptr_to_struct_containing_descr=0x40004130d60) at gcj_mlc.c:157
#14 0x00000000100de32c in mono_object_new_fast (vtable=<value optimized out>)
    at object.c:3631

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