[Mono-bugs] [Bug 560834] [verifier] SIGSEGV in method_from_methodspec on a bad assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jul 21 07:51:01 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=560834#c2


--- Comment #2 from Sebastien Pouliot <spouliot at novell.com> 2010-07-21 11:51:00 UTC ---
Created an attachment (id=377440)
 --> (http://bugzilla.novell.com/attachment.cgi?id=377440)
assembly causing the crash

newer test case on x86 opensuse 11.3

MONO_PATH=./bin gdb --args pedump --verify all
bin/System.ServiceModel.sigsegv.58369.dll

Program received signal SIGSEGV, Segmentation fault.
0x08079e1e in method_from_methodspec (image=0x82ce518, context=0x8321b34,
idx=29) at loader.c:1059
1059        if (context && inst->is_open) {
(gdb) bt
#0  0x08079e1e in method_from_methodspec (image=0x82ce518, context=0x8321b34,
idx=29) at loader.c:1059
#1  0x0807aceb in mono_get_method_from_token (image=0x82ce518, token=721420317,
klass=0x0, context=0x8321b34, used_context=0xbfffea14) at loader.c:1511
#2  0x0807b1a9 in mono_get_method_full (image=0x82ce518, token=721420317,
klass=0x0, context=0x8321b34) at loader.c:1632
#3  0x08102e5a in verifier_load_method (ctx=0xbfffeb5c, token=721420317,
opcode=0x81b43f1 "callvirt") at verify.c:868
#4  0x08108506 in do_invoke_method (ctx=0xbfffeb5c, method_token=721420317,
virtual=1) at verify.c:2862
#5  0x08113c2e in mono_method_verify (method=0x8321a74, level=135) at
verify.c:4990
#6  0x080508ca in dump_verify_info (image=0x82ce518, flags=135) at pedump.c:365
#7  0x080516a2 in main (argc=4, argv=0xbffff064) at pedump.c:727
(gdb) p context
$1 = (MonoGenericContext *) 0x8321b34
(gdb) p inst
$2 = (MonoGenericInst *) 0x0

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