[Mono-bugs] [Bug 562150] abort in compute_class_bitmap while JITting a verified method

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jul 20 07:54:14 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=562150

http://bugzilla.novell.com/show_bug.cgi?id=562150#c9


--- Comment #9 from Sebastien Pouliot <spouliot at novell.com> 2010-07-20 11:54:12 UTC ---
Created an attachment (id=377157)
 --> (http://bugzilla.novell.com/attachment.cgi?id=377157)
assembly causing the abort

more recent test case on x86 opensuse 11.3

gdb --args mono --security=core-clr --compile-all
bin/System.Runtime.Serialization.sigabrt.23314.dll


Compilation of System.Xml.XmlBinaryDictionaryReader:Read () failed with
exception 'Error verifying System.Xml.XmlBinaryDictionaryReader:Read ():
Invalid field token 0x04000478 for ldfld at 0x00d6':
compute_class_bitmap: Invalid type 13 for field
System.Collections.Generic.List`1+Enumerator[T]:current


Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb740db70 (LWP 5597)]
0xffffe424 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb7e2d7ff in raise () from /lib/libc.so.6
#2  0xb7e2f140 in abort () from /lib/libc.so.6
#3  0x0827bc52 in monoeg_g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR,
format=0x832f8b8 "compute_class_bitmap: Invalid type %x for field %s:%s\n", 
    args=0xb740c52c "\023") at goutput.c:134
#4  0x0827bc91 in monoeg_g_log (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR,
format=0x832f8b8 "compute_class_bitmap: Invalid type %x for field %s:%s\n")
    at goutput.c:144
#5  0x08244752 in compute_class_bitmap (class="MyBinaryWriter",
bitmap=0xb740c598, size=128, offset=0, max_set=0xb740c5a8, static_fields=0) at
object.c:727
#6  0x08244a58 in mono_class_compute_gc_descriptor (class="MyBinaryWriter") at
object.c:952
#7  0x08246728 in mono_class_create_runtime_vtable (domain=0x34e70,
class="MyBinaryWriter", raise_on_error=0) at object.c:1869
#8  0x082461f2 in mono_class_vtable_full (domain=0x34e70,
class="MyBinaryWriter", raise_on_error=0) at object.c:1751
#9  0x08246137 in mono_class_vtable (domain=0x34e70, class="MyBinaryWriter") at
object.c:1722
#10 0x0809e9dc in mono_method_to_ir (cfg=0x8512008,
method="System.Xml.XmlBinaryDictionaryWriter:.ctor ()", start_bblock=0x8543414,
end_bblock=0x85434b4, 
    return_var=0x0, dont_inline=0x8557018, inline_args=0x0, inline_offset=0,
is_virtual_call=0) at method-to-ir.c:7636
#11 0x08061718 in mini_method_compile
(method="System.Xml.XmlBinaryDictionaryWriter:.ctor ()", opts=59861503,
domain=0x34e70, run_cctors=0, compile_aot=0, 
    parts=0) at mini.c:4026
#12 0x080e22a0 in compile_all_methods_thread_main (args=0xbfffee34) at
driver.c:878
#13 0x081e3fa2 in start_wrapper (data=0x8421d58) at threads.c:747
#14 0x082602ef in thread_start_routine (args=0x840a7d4) at wthreads.c:285
#15 0x0828a451 in GC_start_routine (arg=0x5efc0) at pthread_support.c:1390
#16 0xb7f73b25 in start_thread () from /lib/libpthread.so.0
#17 0xb7ed546e in clone () from /lib/libc.so.6

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