[Mono-bugs] [Bug 404866] Assert on finalizer thread

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jun 29 02:23:12 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=404866

User miguel at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=404866#c1





--- Comment #1 from Miguel de Icaza <miguel at novell.com>  2008-06-29 00:23:10 MDT ---
This error actually shows up in at least two new different forms, I got two
different crashers now:

======== DeleteCriticalSection Error ===========

0x00007fbb8423a5c5 in raise () from /lib64/libc.so.6
(gdb) where
#0  0x00007fbb8423a5c5 in raise () from /lib64/libc.so.6
#1  0x00007fbb8423bbb3 in abort () from /lib64/libc.so.6
#2  0x00007fbb850682a7 in g_assertion_message () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007fbb85068742 in g_assertion_message_expr () from
/usr/lib64/libglib-2.0.so.0
#4  0x00000000004f7802 in DeleteCriticalSection (section=<value optimized out>)
at critical-sections.c:95
#5  0x0000000000463323 in mono_runtime_cleanup (domain=0x55dc) at
appdomain.c:256
#6  0x000000000052c32a in mini_cleanup (domain=0x7fbb85580e00) at mini.c:14075
#7  0x0000000000417810 in mono_main (argc=16, argv=<value optimized out>) at
driver.c:1521
#8  0x00007fbb84226436 in __libc_start_main () from /lib64/libc.so.6
#9  0x0000000000416be9 in _start ()
(gdb) up
#1  0x00007fbb8423bbb3 in abort () from /lib64/libc.so.6
(gdb) 
#2  0x00007fbb850682a7 in g_assertion_message () from
/usr/lib64/libglib-2.0.so.0
(gdb) 
#3  0x00007fbb85068742 in g_assertion_message_expr () from
/usr/lib64/libglib-2.0.so.0
(gdb) 
#4  0x00000000004f7802 in DeleteCriticalSection (section=<value optimized out>)
at critical-sections.c:95
95              g_assert (ret == 0);
(gdb) 
#5  0x0000000000463323 in mono_runtime_cleanup (domain=0x55dc) at
appdomain.c:256
256             mono_gc_cleanup ();
(gdb) 
#6  0x000000000052c32a in mini_cleanup (domain=0x7fbb85580e00) at mini.c:14075
14075           mono_runtime_cleanup (domain);
(gdb) 
#7  0x0000000000417810 in mono_main (argc=16, argv=<value optimized out>) at
driver.c:1521
1521                    mini_cleanup (domain);
(gdb) 
#8  0x00007fbb84226436 in __libc_start_main () from /lib64/libc.so.6
(gdb) 


================= mono_marshal_find_in_cache ===================


** ERROR:(marshal.c:2707):mono_marshal_find_in_cache: assertion failed: (ret ==
0)

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x40f38950 (LWP 21979)]
0x00007f7e7639f5c5 in raise () from /lib64/libc.so.6
(gdb) where
#0  0x00007f7e7639f5c5 in raise () from /lib64/libc.so.6
#1  0x00007f7e763a0bb3 in abort () from /lib64/libc.so.6
#2  0x00007f7e771cd2a7 in g_assertion_message () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f7e771cd742 in g_assertion_message_expr () from
/usr/lib64/libglib-2.0.so.0
#4  0x000000000048d3a6 in mono_marshal_get_native_wrapper
(method=0x7f7e70064490, check_exceptions=0) at marshal.c:2707
#5  0x0000000000557879 in mono_jit_compile_method (method=0x7f7e70064490) at
mini.c:12558
#6  0x0000000000426d5e in mono_magic_trampoline (regs=0x40f37e10,
code=0x41bcd038 "H\203�\b�\006", m=0x7f7e70064490, tramp=<value optimized
out>) at mini-trampolines.c:227
#7  0x00000000401d6165 in ?? ()
#8  0x0000000000000000 in ?? ()

============= Another variation of the same method, different callstack =======

#0  0x00007f38023b35c5 in raise () from /lib64/libc.so.6
#1  0x00007f38023b4bb3 in abort () from /lib64/libc.so.6
#2  0x00007f38031e12a7 in g_assertion_message () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f38031e1742 in g_assertion_message_expr () from
/usr/lib64/libglib-2.0.so.0
#4  0x000000000048d3a6 in mono_marshal_get_native_wrapper (method=0x8e0410,
check_exceptions=0) at marshal.c:2707
#5  0x0000000000553458 in mono_method_to_ir (cfg=0x896140, method=0x8df130,
start_bblock=0x8e50a8, end_bblock=0x8e51a8, locals_offset=1, return_var=0x0,
dont_inline=0x7f37fc1a7480, 
    inline_args=0x0, inline_offset=0, is_virtual_call=0) at mini.c:5665
#6  0x0000000000555d2c in mini_method_compile (method=0x8df130, opts=5335551,
domain=0x7f38036f9e00, run_cctors=<value optimized out>, compile_aot=<value
optimized out>, parts=0)
    at mini.c:12069
#7  0x000000000055780a in mono_jit_compile_method (method=0x8df130) at
mini.c:12590
#8  0x0000000000558120 in mono_jit_runtime_invoke (method=0x8df130,
obj=0x7f38036f9a80, params=0x0, exc=0x40f1ff58) at mini.c:12923
#9  0x000000000049b0d7 in run_finalize (obj=0x7f38036f9a80, data=<value
optimized out>) at gc.c:149
#10 0x000000000049b2d6 in finalizer_thread (unused=<value optimized out>) at
gc.c:866
#11 0x0000000000495e03 in start_wrapper (data=<value optimized out>) at
threads.c:621
#12 0x00000000004f9c9b in thread_start_routine (args=0x8bc5f8) at threadsc:279
#13 0x000000000052b737 in GC_start_routine (arg=0x7f38036fae70) at
pthread_support.c:1369
#14 0x00007f3802937040 in start_thread () from /lib64/libpthread.so.0
#15 0x00007f38024540cd in clone () from /lib64/libc.so.6
(gdb) up
#1  0x00007f38023b4bb3 in abort () from /lib64/libc.so.6
(gdb) 
#2  0x00007f38031e12a7 in g_assertion_message () from
/usr/lib64/libglib-2.0.so.0
(gdb) 
#3  0x00007f38031e1742 in g_assertion_message_expr () from
/usr/lib64/libglib-2.0.so.0
(gdb) 
#4  0x000000000048d3a6 in mono_marshal_get_native_wrapper (method=0x8e0410,
check_exceptions=0) at marshal.c:2707
2707            mono_marshal_lock ();
(gdb) 


-- 
Configure bugmail: https://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