http://bugzilla.novell.com/show_bug.cgi?id=567050
http://bugzilla.novell.com/show_bug.cgi?id=567050#c0 Summary: abort in compute_class_bitmap (field->offset) while JITting a verified method Classification: Mono Product: Mono: Runtime Version: 2.6.x Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: JIT AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] CC: [email protected] Found By: --- Blocker: --- Created an attachment (id=334104) --> (http://bugzilla.novell.com/attachment.cgi?id=334104) assembly to reproduce abort on x86-64 (should work on x86) MONO_PATH=/opt/mono/lib/moonlight/plugin/ gdb --args mono --security=core-clr --compile-all System.sigabrt.75351.dll ** ERROR:(object.c:678):compute_class_bitmap: assertion failed: ((field->offset % sizeof(gpointer)) == 0) Program received signal SIGABRT, Aborted. [Switching to Thread 0x41289950 (LWP 21533)] 0x00007f44345a75c5 in raise () from /lib64/libc.so.6 (gdb) bt #0 0x00007f44345a75c5 in raise () from /lib64/libc.so.6 #1 0x00007f44345a8bb3 in abort () from /lib64/libc.so.6 #2 0x00007f44353d52c7 in g_assertion_message () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f44353d5762 in g_assertion_message_expr () from /usr/lib64/libglib-2.0.so.0 #4 0x000000000062b482 in compute_class_bitmap (class=0xa49c48, bitmap=0x41287ca0, size=256, offset=0, max_set=0x41287cc4, static_fields=0) at object.c:678 #5 0x000000000062b884 in mono_class_compute_gc_descriptor (class=0xa49c48) at object.c:940 #6 0x000000000062d886 in mono_class_create_runtime_vtable (domain=0x7f44358ebdb0, class=0xa49c48, raise_on_error=0) at object.c:1829 #7 0x000000000062d234 in mono_class_vtable_full (domain=0x7f44358ebdb0, class=0xa49c48, raise_on_error=0) at object.c:1711 #8 0x000000000062d159 in mono_class_vtable (domain=0x7f44358ebdb0, class=0xa49c48) at object.c:1682 #9 0x000000000046ce25 in mono_method_to_ir (cfg=0xa6a600, method=0xa6af40, start_bblock=0xa8c0a0, end_bblock=0xa8c1a8, return_var=0x0, dont_inline=0xa850c0, inline_args=0x0, inline_offset=0, is_virtual_call=0) at method-to-ir.c:8202 #10 0x000000000041f7bd in mini_method_compile (method=0xa6af40, opts=55667199, domain=0x7f44358ebdb0, run_cctors=0, compile_aot=0, parts=0) at mini.c:3402 #11 0x00000000004a3d32 in compile_all_methods_thread_main (args=0x7fff3da5b5d0) at driver.c:881 #12 0x00000000005af9de in start_wrapper (data=0xa294e0) at threads.c:662 #13 0x0000000000658b53 in thread_start_routine (args=0x9fcbb0) at wthreads.c:286 #14 0x0000000000671d6e in GC_start_routine (arg=0x7f44358ece70) at pthread_support.c:1390 #15 0x00007f4434b2b040 in start_thread () from /lib64/libpthread.so.0 #16 0x00007f443464808d in clone () from /lib64/libc.so.6 #17 0x0000000000000000 in ?? () (gdb) up 4 #4 0x000000000062b482 in compute_class_bitmap (class=0xa49c48, bitmap=0x41287ca0, size=256, offset=0, max_set=0x41287cc4, static_fields=0) at object.c:678 678 g_assert ((field->offset % sizeof(gpointer)) == 0); (gdb) p class->name $1 = 0x7f44358c935f "Regex" (gdb) p class->name_space $2 = 0x7f44358c91b9 "System.Text.RegularExpressions" (gdb) p field->offset $3 = 76 (gdb) p *field $4 = {type = 0xa6af10, name = 0x7f44358cb9e5 "roptions", parent = 0xa49c48, offset = 76} -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
