[Mono-bugs] [Bug 404866] New: Assert on finalizer thread
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Jun 29 02:09:07 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=404866
Summary: Assert on finalizer thread
Product: Mono: Runtime
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: io-layer
AssignedTo: dick at novell.com
ReportedBy: miguel at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
While trying to compile Mono on an x86-64 with 4 cpus, I get two assertions
while bootstrapping (currently I am at r106855):
I turned the first into a g_warning:
** (../../class/lib/basic/mcs.exe:24932): WARNING **: ret != 0 in
DeleteCriticalSection, something is wrong?
**
** ERROR:(marshal.c:4657):mono_marshal_get_runtime_invoke: assertion failed:
(ret == 0)
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x40c8e950 (LWP 24934)]
0x00007f8244f4a5c5 in raise () from /lib64/libc.so.6
(gdb) where
#0 0x00007f8244f4a5c5 in raise () from /lib64/libc.so.6
#1 0x00007f8244f4bbb3 in abort () from /lib64/libc.so.6
#2 0x00007f8245d782a7 in g_assertion_message () from
/usr/lib64/libglib-2.0.so.0
#3 0x00007f8245d78742 in g_assertion_message_expr () from
/usr/lib64/libglib-2.0.so.0
#4 0x000000000048f19a in mono_marshal_get_runtime_invoke
(method=0x7f8240025268) at marshal.c:4657
#5 0x00000000005580ec in mono_jit_runtime_invoke (method=0x7f8240025268,
obj=0x7f8246212ba0, params=0x0, exc=0x40c8df58) at mini.c:12905
#6 0x000000000049b177 in run_finalize (obj=0x7f8246212ba0, data=<value
optimized out>) at gc.c:149
#7 0x000000000049b376 in finalizer_thread (unused=<value optimized out>) at
gc.c:866
#8 0x0000000000495ea3 in start_wrapper (data=<value optimized out>) at
threads.c:621
#9 0x00000000004f9cbb in thread_start_routine (args=0x8bc5f8) at threads.c:279
#10 0x000000000052b757 in GC_start_routine (arg=0x7f824628fe70) at
pthread_support.c:1369
#11 0x00007f82454ce040 in start_thread () from /lib64/libpthread.so.0
#12 0x00007f8244feb0cd in clone () from /lib64/libc.so.6
(gdb) up
#1 0x00007f8244f4bbb3 in abort () from /lib64/libc.so.6
(gdb)
#2 0x00007f8245d782a7 in g_assertion_message () from
/usr/lib64/libglib-2.0.so.0
(gdb)
#3 0x00007f8245d78742 in g_assertion_message_expr () from
/usr/lib64/libglib-2.0.so.0
(gdb)
#4 0x000000000048f19a in mono_marshal_get_runtime_invoke
(method=0x7f8240025268) at marshal.c:4657
4657 mono_marshal_lock ();
(gdb) list
4652 res = mono_marshal_find_in_cache (cache, method);
4653 } else {
4654 cache = target_klass->image->runtime_invoke_cache;
4655
4656 /* from mono_marshal_find_in_cache */
4657 mono_marshal_lock ();
4658 res = g_hash_table_lookup (cache, callsig);
4659 mono_marshal_unlock ();
4660 }
4661
(gdb) up
#5 0x00000000005580ec in mono_jit_runtime_invoke (method=0x7f8240025268,
obj=0x7f8246212ba0, params=0x0, exc=0x40c8df58) at mini.c:12905
12905 invoke = mono_marshal_get_runtime_invoke (method);
(gdb)
#6 0x000000000049b177 in run_finalize (obj=0x7f8246212ba0, data=<value
optimized out>) at gc.c:149
149 mono_runtime_invoke (finalizer, o, NULL, &exc);
(gdb)
#7 0x000000000049b376 in finalizer_thread (unused=<value optimized out>) at
gc.c:866
866 run_finalize (o, 0);
(gdb)
#8 0x0000000000495ea3 in start_wrapper (data=<value optimized out>) at
threads.c:621
621 start_func (start_arg);
(gdb)
#9 0x00000000004f9cbb in thread_start_routine (args=0x8bc5f8) at threads.c:279
279 thread_exit (thread->start_routine (thread->start_arg),
(gdb) Quit
(gdb) quit
--
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