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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 15 11:27:43 EDT 2010


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

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


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

This also occurs on HEAD with Moonlight (not 4.0) assemblies

gdb --args pedump --verify all bin/System.Core.sigsegv.81870.dll
..
Program received signal SIGSEGV, Segmentation fault.
0x000000000043a95c in method_from_methodspec (image=0x8e8a50, context=0xaf83f8,
idx=217) at loader.c:1037
1037        if (context && inst->is_open) {
(gdb) bt
#0  0x000000000043a95c in method_from_methodspec (image=0x8e8a50,
context=0xaf83f8, idx=217) at loader.c:1037
#1  0x000000000043ba27 in mono_get_method_from_token (image=0x8e8a50,
token=721420505, klass=0x0, context=0xaf83f8, used_context=0x7fffffffd40c)
    at loader.c:1489
#2  0x000000000043bf63 in mono_get_method_full (image=0x8e8a50,
token=721420505, klass=0x0, context=0xaf83f8) at loader.c:1610
#3  0x00000000004c8f23 in verifier_load_method (ctx=0x7fffffffd610,
token=721420505, opcode=0x57cdcd "callvirt") at verify.c:858
#4  0x00000000004cee9a in do_invoke_method (ctx=0x7fffffffd610,
method_token=721420505, virtual=1) at verify.c:2830
#5  0x00000000004dbfcc in mono_method_verify (method=0xaf83d0, level=135) at
verify.c:4947
#6  0x000000000040e762 in dump_verify_info (image=0x8e8a50, flags=135) at
pedump.c:365
#7  0x000000000040f592 in main (argc=4, argv=0x7fffffffde98) at pedump.c:720
(gdb) p inst
$1 = (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