[Mono-bugs] [Bug 562009] [verifier] SIGSEGV in mono_method_signature on a bad assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jul 20 09:43:08 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=562009#c4


--- Comment #4 from Sebastien Pouliot <spouliot at novell.com> 2010-07-20 13:43:07 UTC ---
Created an attachment (id=377181)
 --> (http://bugzilla.novell.com/attachment.cgi?id=377181)
assembly causing the crash

newer test case on x86 opensuse 11.3

MONO_PATH=./bin gdb --args pedump --verify all
bin/System.Runtime.Serialization.sigsegv.6996.dll

Program received signal SIGSEGV, Segmentation fault.
0x0807c17b in mono_method_signature_checked (m=0x0, error=0xbfffe638) at
loader.c:2114
2114        if (m->signature)
(gdb) bt
#0  0x0807c17b in mono_method_signature_checked (m=0x0, error=0xbfffe638) at
loader.c:2114
#1  0x0807c7a6 in mono_method_signature (m=0x0) at loader.c:2255
#2  0x08078789 in find_method_in_class (klass=0x8291b14, name=0xb7a6fc5b
"GetAttribute", qname=0x0, fqname=0x0, sig=0x82b33e4, from_class=0x8291b14)
    at loader.c:601
#3  0x08078a89 in find_method (in_class=0x8291b14, ic=0x0, name=0xb7a6fc5b
"GetAttribute", sig=0x82b33e4, from_class=0x8291b14) at loader.c:664
#4  0x080799d6 in method_from_memberref (image=0x8290c68, idx=181,
typespec_context=0x0, used_context=0x0) at loader.c:987
#5  0x08079db3 in method_from_methodspec (image=0x8290c68, context=0x0, idx=2)
at loader.c:1070
#6  0x0807abd3 in mono_get_method_from_token (image=0x8290c68, token=721420290,
klass=0x0, context=0x0, used_context=0xbfffea14) at loader.c:1511
#7  0x0807b091 in mono_get_method_full (image=0x8290c68, token=721420290,
klass=0x0, context=0x0) at loader.c:1632
#8  0x0810294a in verifier_load_method (ctx=0xbfffeb5c, token=721420290,
opcode=0x81afdfa "call") at verify.c:868
#9  0x08107ff6 in do_invoke_method (ctx=0xbfffeb5c, method_token=721420290,
virtual=0) at verify.c:2862
#10 0x0811371e in mono_method_verify (method=0x82a54e4, level=135) at
verify.c:4990
#11 0x080508ba in dump_verify_info (image=0x8290c68, flags=135) at pedump.c:365
#12 0x08051692 in main (argc=4, argv=0xbffff064) at pedump.c:727

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