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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon May 18 16:33:35 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=504411

User munroesj at us.ibm.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=504411#c5





--- Comment #5 from Steven Munroe <munroesj at us.ibm.com>  2009-05-18 14:33:34 MDT ---
    [nant]
/home/panda/tmp/opensim-trunk-9590/OpenSim/Client/Linden/OpenSim.Client.Linden.dll.build
build
            Buildfile:
file:///home/panda/tmp/opensim-trunk-9590/OpenSim/Client/Linden/OpenSim.Client.Linden.dll.build
            Target framework: Mono 2.0 Profile
            Target(s) specified: build 


            build:

                 [echo] Build Directory is
/home/panda/tmp/opensim-trunk-9590/OpenSim/Client/Linden/bin/Debug
                [mkdir] Creating directory
'/home/panda/tmp/opensim-trunk-9590/OpenSim/Client/Linden/bin/Debug'.
GC_unmap Mmap at 0x40002800000 (length 50000)n                  [csc] Compiling
4 files to
'/home/panda/tmp/opensim-trunk-9590/OpenSim/Client/Linden/bin/Debug/OpenSim.Client.Linden.dll'.
                  [csc] GC_unix_get_mem Mmap at 0x0 (length 10000)
@0x40000040000
                  [csc] GC_unix_get_mem Mmap at 0x40000050000 (length 10000)
@0x40000050000
                  [csc] GC_unix_get_mem Mmap at 0x40000060000 (length 10000)
@0x40000620000
                  [csc] GC_unix_get_mem Mmap at 0x40000630000 (length 10000)
@0x40000650000
                  [csc] GC_unix_get_mem Mmap at 0x40000660000 (length 10000)
@0x40000f10000
                  [csc] GC_unix_get_mem Mmap at 0x40000f20000 (length 10000)
@0x40001120000
                  [csc] GC_unix_get_mem Mmap at 0x40001130000 (length 10000)
@0x40001240000
                  [csc] GC_unix_get_mem Mmap at 0x40001250000 (length 20000)
@0x40001390000
                  [csc] GC_unix_get_mem Mmap at 0x400013b0000 (length 20000)
@0x40001550000
                  [csc] GC_unix_get_mem Mmap at 0x40001570000 (length 30000)
@0x40001570000
                  [csc] GC_unix_get_mem Mmap at 0x400015a0000 (length 10000)
@0x400015a0000
                  [csc] GC_unix_get_mem Mmap at 0x400015b0000 (length 40000)
@0x400015b0000
                  [csc] GC_unix_get_mem Mmap at 0x400015f0000 (length 50000)
@0x40001b00000
                  [csc] GC_unix_get_mem Mmap at 0x40001b50000 (length 70000)
@0x40001b70000
                  [csc] GC_unix_get_mem Mmap at 0x40001be0000 (length 90000)
@0x40001c60000
                  [csc] GC_unix_get_mem Mmap at 0x40001cf0000 (length c0000)
@0x40001cf0000
                  [csc] GC_unix_get_mem Mmap at 0x40001db0000 (length 10000)
@0x40001db0000
                  [csc] GC_unix_get_mem Mmap at 0x40001dc0000 (length 100000)
@0x40001dc0000
                  [csc] GC_unix_get_mem Mmap at 0x40001ec0000 (length 160000)
@0x40002090000
                  [csc] GC_unix_get_mem Mmap at 0x400021f0000 (length 10000)
@0x400021f0000
                 [echo] Copying from
[/home/panda/tmp/opensim-trunk-9590/OpenSim/Client/Linden/bin/Debug/] to
[/home/panda/tmp/opensim-trunk-9590/OpenSim/Client/Linden/../../../bin/
                 [copy] Copying 2 files to
'/home/panda/tmp/opensim-trunk-9590/OpenSim/Client/Linden/../../../bin/'.

            BUILD SUCCEEDED - 0 non-fatal error(s), 20 warning(s)

            Total time: 1.1 seconds.

     [nant]
/home/panda/tmp/opensim-trunk-9590/OpenSim/Data/MySQL/OpenSim.Data.MySQL.dll.build
build
            Buildfile:
file:///home/panda/tmp/opensim-trunk-9590/OpenSim/Data/MySQL/OpenSim.Data.MySQL.dll.build
            Target framework: Mono 2.0 Profile
            Target(s) specified: build 


            build:

                 [echo] Build Directory is
/home/panda/tmp/opensim-trunk-9590/OpenSim/Data/MySQL/bin/Debug
                [mkdir] Creating directory
'/home/panda/tmp/opensim-trunk-9590/OpenSim/Data/MySQL/bin/Debug'.
GC_unmap_gap Munmap failed at 0x40002850000 (length 10000) with errno 0
munmap failed


Thread 1 (Thread 0x40000510000 (LWP 8485)):
#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=0xfffffafb160) 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  0x00000000101d5734 in GC_abort (msg=0x10274808 "munmap failed")
    at misc.c:1074
#7  0x00000000101d1f3c in GC_unmap_gap (start1=0x400027fe000 "", 
    bytes1=344064, 
    start2=0x40002852000 <Address 0x40002852000 out of bounds>, bytes2=385024)
    at os_dep.c:2034
#8  0x00000000101c4030 in GC_merge_unmapped () at allchblk.c:430
#9  0x00000000101c1f34 in GC_alloc_large (lw=260, k=1, flags=0) at malloc.c:56
#10 0x00000000101c25a0 in GC_generic_malloc (lb=2080, k=1) at malloc.c:204
#11 0x00000000101c2a28 in GC_malloc (lb=2080) at malloc.c:311
#12 0x00000000100de4a8 in mono_array_new_specific (vtable=0x103ca640, n=256)
    at object.c:3519

Start1 + bytes1
0x400027fe000
+     0x54000
-------------
0x40002852000

Start2 + bytes2
0x40002852000
+     0x5e000
-------------
0x400028b0000

-- 
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