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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 15 10:15:02 EDT 2010


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

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


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

This still occurs on HEAD, using pedump this time

[mono] ~/svn/moon/fuzz @ gdb --args pedump --verify all
bin/System.Core.sigsegv.127660.dll

Program received signal SIGSEGV, Segmentation fault.
0x000000000043d047 in mono_method_signature_checked (m=0x0, err=0x7fffffffce60)
at loader.c:2083
2083        if (m->signature)
(gdb) bt
#0  0x000000000043d047 in mono_method_signature_checked (m=0x0,
err=0x7fffffffce60) at loader.c:2083
#1  0x000000000043d698 in mono_method_signature (m=0x0) at loader.c:2222
#2  0x0000000000439268 in find_method_in_class (klass=0x902810,
name=0x7ffff7f6198c "Average", qname=0x0, fqname=0x0, sig=0x909d48,
from_class=0x902810)
    at loader.c:601
#3  0x00000000004395a6 in find_method (in_class=0x902810, ic=0x0,
name=0x7ffff7f6198c "Average", sig=0x909d48, from_class=0x902810) at
loader.c:664
#4  0x000000000043a583 in method_from_memberref (image=0x8e4be0, idx=126,
typespec_context=0x0, used_context=0x0) at loader.c:964
#5  0x000000000043a9b6 in method_from_methodspec (image=0x8e4be0, context=0x0,
idx=3) at loader.c:1047
#6  0x000000000043b9ce in mono_get_method_from_token (image=0x8e4be0,
token=721420291, klass=0x0, context=0x0, used_context=0x7fffffffd40c) at
loader.c:1488
#7  0x000000000043bf0a in mono_get_method_full (image=0x8e4be0,
token=721420291, klass=0x0, context=0x0) at loader.c:1609
#8  0x00000000004c8ec7 in verifier_load_method (ctx=0x7fffffffd610,
token=721420291, opcode=0x57cd16 "call") at verify.c:858
#9  0x00000000004cee3e in do_invoke_method (ctx=0x7fffffffd610,
method_token=721420291, virtual=0) at verify.c:2830
#10 0x00000000004dbf70 in mono_method_verify (method=0x908df8, level=135) at
verify.c:4947
#11 0x000000000040e762 in dump_verify_info (image=0x8e4be0, flags=135) at
pedump.c:365
#12 0x000000000040f592 in main (argc=4, argv=0x7fffffffde98) at pedump.c:720
(gdb) q

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