[Mono-bugs] [Bug 567884] [verifier] abort in mono_class_get_method_by_index while JITting a verified method

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 15 15:39:08 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=567884#c1


--- Comment #1 from Sebastien Pouliot <spouliot at novell.com> 2010-04-15 19:39:06 UTC ---
Created an attachment (id=354787)
 --> (http://bugzilla.novell.com/attachment.cgi?id=354787)
a more recent test case

Still occurs on HEAD
gdb --args mono --security=core-clr --compile-all
bin/System.Runtime.Serialization.sigabrt.1878.dll

ERROR:class.c:1936:mono_class_get_method_by_index: assertion failed:
(!class->exception_type)

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff6173910 (LWP 28397)]
0x00007ffff6d6d4e5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff6d6d4e5 in raise () from /lib64/libc.so.6
#1  0x00007ffff6d6e9b0 in abort () from /lib64/libc.so.6
#2  0x00007ffff797577f in g_assertion_message () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007ffff7975cf0 in g_assertion_message_expr () from
/usr/lib64/libglib-2.0.so.0
#4  0x0000000000651fae in mono_class_get_method_by_index
(class="System.Runtime.Serialization.KnownTypeCollection", index=26) at
class.c:1936
#5  0x0000000000649141 in find_method_in_class
(klass="System.Runtime.Serialization.KnownTypeCollection", name=0x7ffff7e61550
"GetAttribute", qname=0x0, 
    fqname=0x0, sig=0xb19d10,
from_class="System.Runtime.Serialization.KnownTypeCollection") at loader.c:638
#6  0x00000000006492c4 in find_method
(in_class="System.Runtime.Serialization.KnownTypeCollection", ic=0x0,
name=0x7ffff7e61550 "GetAttribute", sig=
    0xb19d10, from_class="System.Runtime.Serialization.KnownTypeCollection") at
loader.c:665
#7  0x000000000064a26d in method_from_memberref (image=0xa3c6b0, idx=182,
typespec_context=0x0, used_context=0x0) at loader.c:965
#8  0x000000000064a6b8 in method_from_methodspec (image=0xa3c6b0, context=0x0,
idx=3) at loader.c:1049
#9  0x000000000064b684 in mono_get_method_from_token (image=0xa3c6b0,
token=721420291, klass=0x0, context=0x0, used_context=0x7ffff61723dc) at
loader.c:1490
#10 0x000000000064bbb8 in mono_get_method_full (image=0xa3c6b0,
token=721420291, klass=0x0, context=0x0) at loader.c:1611
#11 0x00000000005adc0f in verifier_load_method (ctx=0x7ffff61725e0,
token=721420291, opcode=0x6e6836 "call") at verify.c:858
#12 0x00000000005b3a80 in do_invoke_method (ctx=0x7ffff61725e0,
method_token=721420291, virtual=0) at verify.c:2831
#13 0x00000000005c098a in mono_method_verify
(method="System.Runtime.Serialization.KnownTypeCollection:GetContractQName ()",
level=48) at verify.c:4948
#14 0x00000000005c45c1 in mono_method_verify_with_current_settings
(method="System.Runtime.Serialization.KnownTypeCollection:GetContractQName ()", 
    skip_visibility=0) at verify.c:5630
#15 0x000000000041a6c8 in mini_method_verify (cfg=0xb0a050,
method="System.Runtime.Serialization.KnownTypeCollection:GetContractQName ()")
at mini.c:1261
#16 0x000000000041a924 in mono_compile_is_broken (cfg=0xb0a050) at mini.c:1310
#17 0x000000000042173e in mini_method_compile
(method="System.Runtime.Serialization.KnownTypeCollection:GetContractQName ()",
opts=51472895, domain=
    0x7ffff7e7dd48, run_cctors=0, compile_aot=0, parts=0) at mini.c:4007
#18 0x00000000004ac8f6 in compile_all_methods_thread_main (args=0x7fffffffdba0)
at driver.c:879
#19 0x000000000063a569 in start_wrapper (data=0xac96e0) at threads.c:739
#20 0x000000000066a3fd in thread_start_routine (args=0xaa6518) at
wthreads.c:286
#21 0x000000000069c741 in GC_start_routine (arg=0x7ffff7e4bfc0) at
pthread_support.c:1390
#22 0x00007ffff72f165d in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#23 0x00007ffff6e0be1d in clone () from /lib64/libc.so.6
#24 0x0000000000000000 in ?? ()

-- 
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