[Mono-bugs] [Bug 80532][Wis] New - svn head - segfault in the runtime while running mojoportal 2.x

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jan 16 17:19:07 EST 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by grendello at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=80532

--- shadow/80532	2007-01-16 17:19:07.000000000 -0500
+++ shadow/80532.tmp.11205	2007-01-16 17:19:07.000000000 -0500
@@ -0,0 +1,468 @@
+Bug#: 80532
+Product: Mono: Runtime
+Version: 1.2
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: GC
+AssignedTo: lupus at ximian.com                            
+ReportedBy: grendello at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: svn head - segfault in the runtime while running mojoportal 2.x
+
+Current svn head of mojoportal (the 2.x branch) fails to run with current 
+mono svn head. I have no idea how to create a test case smaller than 
+mojoportal itself, since I cannot gather enough information about the bug 
+to find an anchorpoint within the mojoportal/mono code (my lack of 
+intimate familiarity with mono runtime internals doesn't help here 
+either). Here's a set of gdb backtraces, all occurred while running mono 
+on Ubuntu/feisty, amd64, libc6 2.5, kernel 2.6.20-rc3-mm1:
+
+Program received signal SIGSEGV, Segmentation fault.
+[Switching to Thread 1084983616 (LWP 7691)]
+0x00000000004fd6cd in GC_clear_stack_inner ()
+(gdb) bt
+#0  0x00000000004fd6cd in GC_clear_stack_inner ()
+#1  0x00000000004fd893 in GC_clear_stack_inner ()
+#2  0x00000000004fd95e in GC_clear_stack ()
+#3  0x0000000000503139 in GC_local_malloc_atomic ()
+#4  0x000000000049157e in mono_string_new_size (domain=0x2aaaac36fe60, 
+len=12) at object.c:2622
+#5  0x00000000004b3bc3 in ves_icall_System_String_InternalSplit (me=<value 
+optimized out>, separator=0x2aaaacae3050, count=2147483647)
+    at string-icalls.c:448
+#6  0x0000000040af3243 in ?? ()
+#7  0x0000000040ab7718 in ?? ()
+#8  0x00000000004cbd95 in 
+ves_icall_System_Threading_Thread_GetCachedCurrentCulture (this=0x5a35b0) 
+at threads.c:675
+#9  0x0000000040af31de in ?? ()
+#10 0x00000000005a35b0 in builtin_types ()
+#11 0x00000000408c1310 in ?? ()
+#12 0x00000000408c0d40 in ?? ()
+#13 0x00002aaaaaadcfc8 in ?? ()
+#14 0x0000000000000008 in ?? ()
+#15 0x0000000000000001 in ?? ()
+#16 0x00002aaaaaadcfa0 in ?? ()
+#17 0x0000000000000000 in ?? ()
+(gdb) mono_backtrace 1
+[Thread 1078614336 (LWP 7687) exited]
+[Thread 1082882368 (LWP 7690) exited]
+
+Program received signal SIGSEGV, Segmentation fault.
+mono_pmip (ip=0x4fd6cd) at mini.c:245
+245     {
+
+----------
+
+Program received signal SIGSEGV, Segmentation fault.
+[Switching to Thread 1084983616 (LWP 7733)]
+0x00000000004fd6cd in GC_clear_stack_inner ()
+(gdb) bt
+#0  0x00000000004fd6cd in GC_clear_stack_inner ()
+#1  0x00000000004fd893 in GC_clear_stack_inner ()
+#2  0x00000000004fd95e in GC_clear_stack ()
+#3  0x00000000005031fb in GC_local_malloc ()
+#4  0x0000000000494063 in mono_array_new_specific (vtable=0xdcbed8, n=4) 
+at object.c:2605
+#5  0x000000004001b919 in ?? ()
+#6  0x0000000040ab7718 in ?? ()
+#7  0x0000000000000000 in ?? ()
+
+-----------
+
+Program received signal SIGSEGV, Segmentation fault.
+[Switching to Thread 1084983616 (LWP 7763)]
+0x00000000004fd6cd in GC_clear_stack_inner ()
+(gdb) q
+The program is running.  Exit anyway? (y or n) n
+Not confirmed.
+(gdb) bt
+#0  0x00000000004fd6cd in GC_clear_stack_inner ()
+#1  0x00000000004fd893 in GC_clear_stack_inner ()
+#2  0x00000000004fd95e in GC_clear_stack ()
+#3  0x00000000005031fb in GC_local_malloc ()
+#4  0x0000000000494063 in mono_array_new_specific (vtable=0xdc9cd8, n=4) 
+at object.c:2605
+#5  0x000000004001b919 in ?? ()
+#6  0x0000000040ab7718 in ?? ()
+#7  0x0000000000000000 in ?? ()
+
+---------------
+
+Program received signal SIGSEGV, Segmentation fault.
+[Switching to Thread 1084983616 (LWP 7791)]
+0x00000000004fd6cd in GC_clear_stack_inner ()
+(gdb) bt
+#0  0x00000000004fd6cd in GC_clear_stack_inner ()
+#1  0x00000000004fd95e in GC_clear_stack ()
+#2  0x00000000005031fb in GC_local_malloc ()
+#3  0x00000000004902d0 in mono_object_new_alloc_specific 
+(vtable=0x14cd2a0) at object.c:2605
+#4  0x0000000000490388 in mono_object_new_specific (vtable=0x14cd2a0) at 
+object.c:2689
+#5  0x000000004001c63c in ?? ()
+#6  0x0000000040ab7718 in ?? ()
+#7  0x0000000040afbf9f in ?? ()
+#8  0x0000000000000000 in ?? ()
+
+---------
+And output from valgrind:
+
+==7329== Memcheck, a memory error detector.
+==7329== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
+==7329== Using LibVEX rev 1658, a library for dynamic binary translation.
+==7329== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
+==7329== Using valgrind-3.2.1-Debian, a dynamic binary instrumentation 
+framework.
+==7329== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
+==7329== 
+--7329-- Command line
+--7329--    /usr/local/devel/bin/mono
+--7329--    --debug
+--7329--    --optimize=-linears
+--7329--    /usr/local/devel//lib/mono/2.0/xsp2.exe
+--7329--    --verbose
+--7329--    --root
+--7329--    .
+--7329-- Startup, with flags:
+--7329--    --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp
+--7329--    --suppressions=/usr/src/vc/mono/mono/data/mono.supp
+--7329--    -v
+--7329--    --leak-check=full
+--7329-- Contents of /proc/version:
+--7329--   Linux version 2.6.20-rc3-mm1 (root at beowulf) (gcc version 4.1.2 
+20070104 (prerelease) (Ubuntu 4.1.1-21ubuntu5)) #0 Fri Jan 5 23:
+18:42 CET 2007
+--7329-- Arch and hwcaps: AMD64, amd64-sse2
+--7329-- Valgrind library directory: /usr/lib/valgrind
+--7329-- Reading syms from /usr/local/devel/bin/mono (0x400000)
+--7329-- Reading syms from /lib/ld-2.5.so (0x4000000)
+--7329-- Reading debug info from /lib/ld-2.5.so...
+--7329-- ... CRC mismatch (computed E33FAEEA wanted 402F3EC5)
+--7329-- Reading debug info from /usr/lib/debug/lib/ld-2.5.so...
+--7329-- Reading syms from /usr/lib/valgrind/amd64-linux/memcheck 
+(0x38000000)
+--7329--    object doesn't have a dynamic symbol table
+--7329-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp
+--7329-- Reading suppressions file: /usr/src/vc/mono/mono/data/mono.supp
+--7329-- Reading suppressions file: /usr/lib/valgrind/default.supp
+--7329-- Reading syms from /usr/lib/valgrind/amd64-linux/vgpreload_core.so 
+(0x4A1D000)
+--7329-- Reading syms from /usr/lib/valgrind/amd64-linux/
+vgpreload_memcheck.so (0x4C1E000)
+--7329-- REDIR: 0x4015030 (index) redirected to 0x4C21510 (index)
+--7329-- REDIR: 0x40151E0 (strcmp) redirected to 0x4C21790 (strcmp)
+--7329-- REDIR: 0x4015210 (strlen) redirected to 0x4C216C0 (strlen)
+--7329-- Reading syms from /usr/lib/debug/librt-2.5.so (0x4E24000)
+--7329-- Reading syms from /usr/lib/libgthread-2.0.so.0.1200.7 (0x502D000)
+--7329-- Reading debug info from /usr/lib/libgthread-2.0.so.0.1200.7...
+--7329-- ... CRC mismatch (computed CFC9269A wanted ADB83D01)
+--7329--    object doesn't have a symbol table
+--7329-- Reading syms from /usr/lib/libgmodule-2.0.so.0.1200.7 (0x5231000)
+--7329-- Reading debug info from /usr/lib/libgmodule-2.0.so.0.1200.7...
+--7329-- ... CRC mismatch (computed 18A60B8F wanted 75727BF0)
+--7329--    object doesn't have a symbol table
+--7329-- Reading syms from /usr/lib/libglib-2.0.so.0.1200.7 (0x5434000)
+--7329-- Reading debug info from /usr/lib/libglib-2.0.so.0.1200.7...
+--7329-- ... CRC mismatch (computed 2DAC8462 wanted 1C062F98)
+--7329--    object doesn't have a symbol table
+--7329-- Reading syms from /usr/lib/debug/libdl-2.5.so (0x56D5000)
+--7329-- Reading syms from /usr/lib/debug/libpthread-2.5.so (0x58D9000)
+--7329-- Reading syms from /usr/lib/debug/libm-2.5.so (0x5AF4000)
+--7329-- Reading syms from /usr/lib/debug/libc-2.5.so (0x5D76000)
+--7329-- REDIR: 0x5DED8F0 (memset) redirected to 0x4C218E0 (memset)
+--7329-- REDIR: 0x5DEE010 (memcpy) redirected to 0x4C21FB0 (memcpy)
+--7329-- REDIR: 0x5DECA10 (rindex) redirected to 0x4C213C0 (rindex)
+--7329-- REDIR: 0x5DEC0A0 (strcmp) redirected to 0x4C21750 (strcmp)
+--7329-- REDIR: 0x5DEC620 (strlen) redirected to 0x4C21680 (strlen)
+--7329-- REDIR: 0x5DEC8A0 (strncmp) redirected to 0x4C216E0 (strncmp)
+--7329-- REDIR: 0x5DEBEF0 (index) redirected to 0x4C214B0 (index)
+--7329-- REDIR: 0x5DEE9A0 (strchrnul) redirected to 0x4C21970 (strchrnul)
+--7329-- REDIR: 0x5DE7920 (malloc) redirected to 0x4C20747 (malloc)
+--7329-- REDIR: 0x5DE91F0 (free) redirected to 0x4C20357 (free)
+--7329-- REDIR: 0x5DED110 (memchr) redirected to 0x4C21810 (memchr)
+--7329-- REDIR: 0x5DE93D0 (realloc) redirected to 0x4C207F8 (realloc)
+--7329-- REDIR: 0x5DEC710 (strnlen) redirected to 0x4C21650 (strnlen)
+--7329-- REDIR: 0x5DEDD10 (stpcpy) redirected to 0x4C21C70 (stpcpy)
+--7329-- REDIR: 0x5DEC0E0 (strcpy) redirected to 0x4C21D50 (strcpy)
+--7329-- REDIR: 0x5DEE870 (rawmemchr) redirected to 0x4C219A0 (rawmemchr)
+--7329-- REDIR: 0x5DE75B0 (calloc) redirected to 0x4C1FA6C (calloc)
+--7329-- REDIR: 0xFFFFFFFFFF600000 (???) redirected to 0x380279B7 (???)
+--7329-- REDIR: 0x5DE7CF0 (posix_memalign) redirected to 0x4C1FA0E 
+(posix_memalign)
+--7329-- REDIR: 0x5DEC960 (strncpy) redirected to 0x4C22130 (strncpy)
+--7329-- REDIR: 0x5DED760 (memmove) redirected to 0x4C21910 (memmove)
+--7329-- Reading syms from /usr/lib/debug/libnss_compat-2.5.so (0x63A8000)
+--7329-- Reading syms from /usr/lib/debug/libnsl-2.5.so (0x65B1000)
+--7329-- Reading syms from /usr/lib/debug/libnss_nis-2.5.so (0x67C9000)
+--7329-- Reading syms from /usr/lib/debug/libnss_files-2.5.so (0x69D4000)
+--7329-- REDIR: 0xFFFFFFFFFF600400 (???) redirected to 0x380279C1 (???)
+xsp2
+Adding applications '/:.'...
+Registering application:
+    Host:          any
+    Port:          any
+    Virtual path:  /
+    Physical path: /usr/src/tmp/mojoportal/2.x/Web
+Listening on port: 8080 (non-secure)
+Listening on address: 0.0.0.0
+Root directory: /usr/src/tmp/mojoportal/2.x/Web
+Hit Return to stop the server.
+ESC=ESC[6n--7329-- Reading syms from /lib/libgcc_s.so.1 (0x8CBB000)
+--7329-- Reading debug info from /lib/libgcc_s.so.1...
+--7329-- ... CRC mismatch (computed F7307945 wanted 4A002394)
+--7329--    object doesn't have a symbol table
+==7329== Thread 7:
+==7329== Conditional jump or move depends on uninitialised value(s)
+==7329==    at 0x4C384F: mono_class_setup_vtable_general (class.c:2154)
+==7329==    by 0x4C4648: mono_class_setup_vtable (class.c:1819)
+==7329==    by 0x491186: mono_class_create_runtime_vtable (object.c:965)
+==7329==    by 0x492732: mono_runtime_invoke_array (object.c:927)
+==7329==    by 0x4A718D: ves_icall_InternalInvoke (icall.c:2708)
+==7329==    by 0x97A1A42: ???
+==7329==    by 0x97A1542: ???
+==7329==    by 0x98F98B8: ???
+==7329==    by 0x98F8A90: ???
+==7329==    by 0x98F43DE: ???
+==7329==    by 0x4924C0: mono_runtime_invoke_array (object.c:1642)
+==7329==    by 0x4A718D: ves_icall_InternalInvoke (icall.c:2708)
+--7329-- memcheck GC: 1024 nodes, 1024 survivors (100.0%)
+--7329-- memcheck GC: increase table size to 2048
+--7329-- Reading syms from /usr/lib/libnss_mdns4_minimal.so.2 (0x9F95000)
+--7329-- Reading debug info from /usr/lib/libnss_mdns4_minimal.so.2...
+--7329-- ... CRC mismatch (computed 1C36420A wanted 76C525D1)
+--7329--    object doesn't have a symbol table
+--7329-- Reading syms from /usr/lib/debug/libnss_dns-2.5.so (0xA197000)
+--7329-- Reading syms from /usr/lib/debug/libresolv-2.5.so (0xA39C000)
+--7329-- Reading syms from /usr/lib/libnss_mdns4.so.2 (0xA5B1000)
+--7329-- Reading debug info from /usr/lib/libnss_mdns4.so.2...
+--7329-- ... CRC mismatch (computed D786BEA7 wanted B0245060)
+--7329--    object doesn't have a symbol table
+--7329-- memcheck GC: 2048 nodes, 2048 survivors (100.0%)
+--7329-- memcheck GC: increase table size to 4096
+--7329-- memcheck GC: 4096 nodes, 3260 survivors ( 79.5%)
+--7329-- memcheck GC: increase table size to 8192
+==7329== 
+==7329== Conditional jump or move depends on uninitialised value(s)
+==7329==    at 0x4F9959: GC_is_black_listed (in /usr/local/devel/bin/mono)
+==7329== 
+==7329== Conditional jump or move depends on uninitialised value(s)
+==7329==    at 0x4F9966: GC_is_black_listed (in /usr/local/devel/bin/mono)
+==7329== 
+==7329== Conditional jump or move depends on uninitialised value(s)
+==7329==    at 0x4F9971: GC_is_black_listed (in /usr/local/devel/bin/mono)
+==7329== 
+==7329== Conditional jump or move depends on uninitialised value(s)
+==7329==    at 0x4FFD98: GC_reclaim_generic (in /usr/local/devel/bin/mono)
+==7329== 
+==7329== Conditional jump or move depends on uninitialised value(s)
+==7329==    at 0x4FFE4B: GC_reclaim_generic (in /usr/local/devel/bin/mono)
+==7329== Can't extend stack to 0x9459E80 during signal delivery for thread 
+7:
+==7329==   no stack segment
+==7329== 
+==7329== Process terminating with default action of signal 11 (SIGSEGV)
+==7329==  Access not within mapped region at address 0x9459E80
+==7329==    at 0x4FD6CD: GC_clear_stack_inner (in /usr/local/devel/bin/
+mono)
+--7329-- Discarding syms at 0x63A8000-0x65B1000 in /usr/lib/debug/
+libnss_compat-2.5.so due to munmap()
+--7329-- Discarding syms at 0x67C9000-0x69D4000 in /usr/lib/debug/
+libnss_nis-2.5.so due to munmap()
+--7329-- Discarding syms at 0x65B1000-0x67C9000 in /usr/lib/debug/libnsl-
+2.5.so due to munmap()
+--7329-- Discarding syms at 0x69D4000-0x6BDF000 in /usr/lib/debug/
+libnss_files-2.5.so due to munmap()
+--7329-- Discarding syms at 0x9F95000-0xA197000 in /usr/lib/
+libnss_mdns4_minimal.so.2 due to munmap()
+--7329-- Discarding syms at 0xA197000-0xA39C000 in /usr/lib/debug/
+libnss_dns-2.5.so due to munmap()
+--7329-- Discarding syms at 0xA39C000-0xA5B1000 in /usr/lib/debug/
+libresolv-2.5.so due to munmap()
+--7329-- Discarding syms at 0xA5B1000-0xA7B3000 in /usr/lib/
+libnss_mdns4.so.2 due to munmap()
+==7329== 
+==7329== ERROR SUMMARY: 622 errors from 6 contexts (suppressed: 2957048 
+from 3)
+==7329== 
+==7329== 1 errors in context 1 of 6:
+==7329== Conditional jump or move depends on uninitialised value(s)
+==7329==    at 0x4F9971: GC_is_black_listed (in /usr/local/devel/bin/mono)
+==7329== 
+==7329== 1 errors in context 2 of 6:
+==7329== Conditional jump or move depends on uninitialised value(s)
+==7329==    at 0x4F9966: GC_is_black_listed (in /usr/local/devel/bin/mono)
+==7329== 
+==7329== 1 errors in context 3 of 6:
+==7329== Conditional jump or move depends on uninitialised value(s)
+==7329==    at 0x4F9959: GC_is_black_listed (in /usr/local/devel/bin/mono)
+==7329== 
+==7329== 24 errors in context 4 of 6:
+==7329== Conditional jump or move depends on uninitialised value(s)
+==7329==    at 0x4FFE4B: GC_reclaim_generic (in /usr/local/devel/bin/mono)
+==7329== 
+==7329== 54 errors in context 5 of 6:
+==7329== Conditional jump or move depends on uninitialised value(s)
+==7329==    at 0x4C384F: mono_class_setup_vtable_general (class.c:2154)
+==7329==    by 0x4C4648: mono_class_setup_vtable (class.c:1819)
+==7329==    by 0x491186: mono_class_create_runtime_vtable (object.c:965)
+==7329==    by 0x492732: mono_runtime_invoke_array (object.c:927)
+==7329==    by 0x4A718D: ves_icall_InternalInvoke (icall.c:2708)
+==7329==    by 0x97A1A42: ???
+==7329==    by 0x97A1542: ???
+==7329==    by 0x98F98B8: ???
+==7329==    by 0x98F8A90: ???
+==7329==    by 0x98F43DE: ???
+==7329==    by 0x4924C0: mono_runtime_invoke_array (object.c:1642)
+==7329==    by 0x4A718D: ves_icall_InternalInvoke (icall.c:2708)
+==7329== 
+==7329== 541 errors in context 6 of 6:
+==7329== Conditional jump or move depends on uninitialised value(s)
+==7329==    at 0x4FFD98: GC_reclaim_generic (in /usr/local/devel/bin/mono)
+--7329-- 
+--7329-- supp:    8 dl-hack3
+--7329-- supp: 1437711 mono - Use of uninitialized value of size 8
+--7329-- supp: 1519329 mono - Conditional jump or move depends on 
+uninitialised value
+==7329== 
+==7329== IN SUMMARY: 622 errors from 6 contexts (suppressed: 2957048 from 
+3)
+==7329== 
+==7329== malloc/free: in use at exit: 13,054,471 bytes in 42,631 blocks.
+==7329== malloc/free: 582,585 allocs, 539,954 frees, 472,391,904 bytes 
+allocated.
+==7329== 
+==7329== searching for pointers to 42,631 not-freed blocks.
+==7329== checked 42,800,024 bytes.
+==7329== 
+==7329== Thread 1:
+==7329== 
+==7329== 16 bytes in 1 blocks are possibly lost in loss record 1 of 26
+==7329==    at 0x4C1FAF2: calloc (vg_replace_malloc.c:279)
+==7329==    by 0x546A6A1: g_malloc0 (in /usr/lib/libglib-2.0.so.0.1200.7)
+==7329==    by 0x48E468: mono_debug_add_method (mono-debug.c:535)
+==7329==    by 0x54FABC: mono_debug_close_method (debug-mini.c:239)
+==7329==    by 0x53A04C: mini_method_compile (mini.c:10497)
+==7329==    by 0x53AE99: mono_jit_compile_method_with_opt (mini.c:10662)
+==7329==    by 0x43E978: mono_magic_trampoline (mini-trampolines.c:27)
+==7329==    by 0x6102139: ???
+==7329==    by 0x833B06A: ???
+==7329==    by 0x721C9D1: ???
+==7329==    by 0x721C7EC: ???
+==7329==    by 0x7215039: ???
+==7329== 
+==7329== 
+==7329== 292 (52 direct, 240 indirect) bytes in 1 blocks are definitely 
+lost in loss record 8 of 26
+==7329==    at 0x4C207C9: malloc (vg_replace_malloc.c:149)
+==7329==    by 0x5E556F0: nss_parse_service_list (in /usr/lib/debug/libc-
+2.5.so)
+==7329==    by 0x5E55F7A: __nss_database_lookup (in /usr/lib/debug/libc-
+2.5.so)
+==7329==    by 0x63AA31F: ???
+==7329==    by 0x63AB786: ???
+==7329==    by 0x5E0B064: getpwnam_r@@GLIBC_2.2.5 (in /usr/lib/debug/libc-
+2.5.so)
+==7329==    by 0x548919F: (within /usr/lib/libglib-2.0.so.0.1200.7)
+==7329==    by 0x548A50F: g_get_home_dir (in /usr/lib/libglib-
+2.0.so.0.1200.7)
+==7329==    by 0x4C59BA: mono_config_for_assembly (mono-config.c:432)
+==7329==    by 0x4997C8: mono_assembly_open_full (assembly.c:1335)
+==7329==    by 0x4999AB: mono_assembly_load_corlib (assembly.c:416)
+==7329==    by 0x4C8306: mono_init_internal (domain.c:573)
+==7329== 
+==7329== 
+==7329== 720 bytes in 3 blocks are possibly lost in loss record 13 of 26
+==7329==    at 0x4C1F9DD: memalign (vg_replace_malloc.c:332)
+==7329==    by 0x4C1FA36: posix_memalign (vg_replace_malloc.c:421)
+==7329==    by 0x5478970: (within /usr/lib/libglib-2.0.so.0.1200.7)
+==7329==    by 0x5479C8B: g_slice_alloc (in /usr/lib/libglib-
+2.0.so.0.1200.7)
+==7329==    by 0x547A42D: g_slist_prepend (in /usr/lib/libglib-
+2.0.so.0.1200.7)
+==7329==    by 0x4CC4B2: mono_thread_push_appdomain_ref (threads.c:2308)
+==7329==    by 0x4CDEC9: start_wrapper (threads.c:298)
+==7329==    by 0x4E7D56: thread_start_routine (threads.c:253)
+==7329==    by 0x5038B1: GC_start_routine (in /usr/local/devel/bin/mono)
+==7329==    by 0x58DF2A4: start_thread (in /usr/lib/debug/libpthread-
+2.5.so)
+==7329==    by 0x5E455DC: clone (in /usr/lib/debug/libc-2.5.so)
+==7329== 
+==7329== 
+==7329== 1,440 bytes in 5 blocks are possibly lost in loss record 17 of 26
+==7329==    at 0x4C1FAF2: calloc (vg_replace_malloc.c:279)
+==7329==    by 0x4010B7D: _dl_allocate_tls (in /lib/ld-2.5.so)
+==7329==    by 0x58DFA15: pthread_create@@GLIBC_2.2.5 (in /usr/lib/debug/
+libpthread-2.5.so)
+==7329==    by 0x4E15F9: _wapi_collection_init (collection.c:71)
+==7329==    by 0x4EDD63: shared_init (handles.c:215)
+==7329==    by 0x4E6994: mono_once (mono-mutex.c:80)
+==7329==    by 0x4ED9D2: _wapi_handle_new (handles.c:375)
+==7329==    by 0x4E8974: sem_create (semaphores.c:181)
+==7329==    by 0x4E8D44: CreateSemaphore (semaphores.c:353)
+==7329==    by 0x4C9CF6: mono_thread_pool_init (threadpool.c:996)
+==7329==    by 0x49D31C: mono_runtime_init (appdomain.c:92)
+==7329==    by 0x51406F: mini_init (mini.c:11803)
+==7329== 
+==7329== 
+==7329== 170,512 bytes in 6,167 blocks are definitely lost in loss record 
+23 of 26
+==7329==    at 0x4C1FAF2: calloc (vg_replace_malloc.c:279)
+==7329==    by 0x546A6A1: g_malloc0 (in /usr/lib/libglib-2.0.so.0.1200.7)
+==7329==    by 0x48E468: mono_debug_add_method (mono-debug.c:535)
+==7329==    by 0x54FABC: mono_debug_close_method (debug-mini.c:239)
+==7329==    by 0x53A04C: mini_method_compile (mini.c:10497)
+==7329==    by 0x53AE99: mono_jit_compile_method_with_opt (mini.c:10662)
+==7329==    by 0x43E978: mono_magic_trampoline (mini-trampolines.c:27)
+==7329==    by 0x6102139: ???
+==7329==    by 0x85A2890: ???
+==7329==    by 0x85A1DE9: ???
+==7329==    by 0x85A1D4F: ???
+==7329==    by 0x849318F: ???
+==7329== 
+==7329== LEAK SUMMARY:
+==7329==    definitely lost: 170,564 bytes in 6,168 blocks.
+==7329==    indirectly lost: 240 bytes in 10 blocks.
+==7329==      possibly lost: 2,176 bytes in 9 blocks.
+==7329==    still reachable: 12,881,491 bytes in 36,444 blocks.
+==7329==         suppressed: 0 bytes in 0 blocks.
+==7329== Reachable blocks (those to which a pointer was found) are not 
+shown.
+==7329== To see them, rerun with: --show-reachable=yes
+--7329--  memcheck: sanity checks: 33247 cheap, 1330 expensive
+--7329--  memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
+--7329--  memcheck: auxmaps: 0 searches, 0 comparisons
+--7329--  memcheck: SMs: n_issued      = 774 (12384k, 12M)
+--7329--  memcheck: SMs: n_deissued    = 2 (32k, 0M)
+--7329--  memcheck: SMs: max_noaccess  = 524287 (8388592k, 8191M)
+--7329--  memcheck: SMs: max_undefined = 0 (0k, 0M)
+--7329--  memcheck: SMs: max_defined   = 1291 (20656k, 20M)
+--7329--  memcheck: SMs: max_non_DSM   = 774 (12384k, 12M)
+--7329--  memcheck: max sec V bit nodes:    7304 (627k, 0M)
+--7329--  memcheck: set_sec_vbits8 calls: 479853 (new: 8140, updates: 
+471713)
+--7329--  memcheck: max shadow mem size:   17155k, 16M
+--7329-- translate:            fast SP updates identified: 89,271 ( 77.1%)
+--7329-- translate:   generic_known SP updates identified: 25,169 ( 21.7%)
+--7329-- translate: generic_unknown SP updates identified: 1,288 (  1.1%)
+--7329--     tt/tc: 5,339,666 tt lookups requiring 13,759,820 probes
+--7329--     tt/tc: 5,339,666 fast-cache updates, 15 flushes
+--7329--  transtab: new        69,178 (4,319,412 -> 56,158,619; ratio 
+130:10) [0 scs]
+--7329--  transtab: dumped     0 (0 -> ??)
+--7329--  transtab: discarded  748 (15,626 -> ??)
+--7329-- scheduler: 3,072,767,886 jumps (bb entries).
+--7329-- scheduler: 33,247/6,431,577 major/minor sched events.
+--7329--    sanity: 33248 cheap, 1330 expensive checks.
+--7329--    exectx: 30,011 lists, 392,566 contexts (avg 13 per list)
+--7329--    exectx: 4,080,082 searches, 31,787,306 full compares (7,790 
+per 1000)
+--7329--    exectx: 537,500 cmp2, 21,420,956 cmp4, 0 cmpAll
+Killed


More information about the mono-bugs mailing list