[Mono-bugs] [Bug 54813][Nor] Changed - mcs 0.30.1 crashes mono in metadata.c

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 8 Mar 2004 15:43:47 -0500 (EST)


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 diltonm@mccomsoft.com.

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

--- shadow/54813	2004-03-08 15:18:58.000000000 -0500
+++ shadow/54813.tmp.16478	2004-03-08 15:43:47.000000000 -0500
@@ -280,6 +280,80 @@
 ALSO, the crash test code I wrote and attached earlier is crashing
 with fairly recent CVS versions of the code. It seems to be random.
 Regarding the test code, to reproduce it I recommend deleting
 Utils.dll and Client.exe each time before attempting a new build.
 
 
+
+------- Additional Comments From diltonm@McCOMSoft.com  2004-03-08 15:43 -------
+gdb running mcs reports (at the first SIGPWR - which I have 'handled'
+in  .gdbinit BTW ???):
+
+#0  0x003ecc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
+#1  0x0042be08 in sigsuspend () from /lib/tls/libc.so.6
+#2  0x00ccb074 in GC_suspend_handler (sig=30) at linux_threads.c:695
+#3  <signal handler called>
+#4  0x003ecc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
+#5  0x0069554a in pthread_cond_timedwait@@GLIBC_2.3.2 ()
+   from /lib/tls/libpthread.so.0
+#6  0x00cb55de in _wapi_handle_wait_signal_handle (handle=0x3)
+    at handles-private.h:87
+#7  0x00cbd893 in WaitForSingleObject (handle=0x3, timeout=4294967295)
+    at wait.c:95
+#8  0x00c80ad0 in finalizer_thread (unused=0x0) at gc.c:528
+#9  0x00c8aeae in start_wrapper (data=0x9e24fc0) at threads.c:232
+#10 0x00cbd34f in timed_thread_start_routine (args=0x9e24fd8)
+    at timed-thread.c:115
+#11 0x00ccc0a3 in GC_start_routine (arg=0x9db6d40) at linux_threads.c:1663
+#12 0x0069279c in start_thread () from /lib/tls/libpthread.so.0
+#13 0x004df27a in clone () from /lib/tls/libc.so.6
+
+After 'continue' I get this:
+
+(gdb) where
+#0  0x003ecc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
+#1  0x0042b98f in raise () from /lib/tls/libc.so.6
+#2  0x0042d302 in abort () from /lib/tls/libc.so.6
+#3  0x0088baa7 in GC_abort (msg=0x8b1445 "sem_wait in handler failed")
+    at misc.c:1044
+#4  0x008865d9 in linux_stop_world () at linux_threads.c:986
+#5  0x00886604 in GC_stop_world () at linux_threads.c:1007
+#6  0x008815de in GC_stopped_mark (stop_func=0x880ed0
+<GC_never_stop_func>)
+    at alloc.c:479
+#7  0x008812fa in GC_try_to_collect_inner (
+    stop_func=0x880ed0 <GC_never_stop_func>) at alloc.c:362
+#8  0x00882054 in GC_collect_or_expand (needed_blocks=1,
+ignore_off_page=0)
+    at alloc.c:981
+#9  0x00882246 in GC_allocobj (sz=4, kind=1) at alloc.c:1056
+#10 0x008876fa in GC_generic_malloc_inner (lb=12, k=1) at malloc.c:134
+#11 0x008877f7 in GC_generic_malloc (lb=12, k=1) at malloc.c:190
+#12 0x00887a99 in GC_malloc (lb=12) at malloc.c:295
+#13 0x0087921f in mono_g_hash_table_insert (hash_table=0x8e07f00,
+    key=0xbeb93dc0, value=0x8fd9e40) at mono-hash.c:301
+#14 0x0082ca87 in mono_ldstr (domain=0x8e0aed8, image=0x539998, idx=0)
+    at object.c:2175
+#15 0x007e2094 in mono_method_to_ir (cfg=0x8f74598, method=0x8f50888,
+    start_bblock=0x8f6d6f0, end_bblock=0x8f6d788, locals_offset=0,
+---Type <return> to continue, or q <return> to quit---
+    return_var=0x0, dont_inline=0x8f4ba4c, inline_args=0x0,
+inline_offset=0,
+    is_virtual_call=0) at mini.c:3857
+#16 0x007ee97a in mini_method_compile (method=0x8f50888, opts=0,
+domain=0x0,
+    run_cctors=0, parts=0) at mini.c:7419
+#17 0x007ef26e in mono_jit_compile_method_inner (method=0x8f50888)
+    at mini.c:7722
+#18 0x007ef453 in mono_jit_compile_method_with_opt (method=0x8f50888,
+    opt=84363) at mini.c:7774
+#19 0x007ef48d in mono_jit_compile_method (method=0x8f50888) at
+mini.c:7784
+#20 0x00829d13 in mono_compile_method (method=0x8f50888) at object.c:187
+#21 0x0081b480 in x86_magic_trampoline (eax=150259760, ecx=0,
+edx=150276232,
+    esi=0, edi=150208248, ebx=9256176, code=0x0, m=0x8f50888) at
+tramp-x86.c:97
+#22 0x08e704cf in ?? ()
+#23 0x08f4c830 in ?? ()
+
+HTH -Dilton