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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Dec 4 10:23:51 EST 2009


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

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


           Summary: [verifier] SIGSEGV in method_from_methodspec on a bad
                    assembly
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.6.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: verifier
        AssignedTo: rkumpera at novell.com
        ReportedBy: spouliot at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=331065)
 --> (http://bugzilla.novell.com/attachment.cgi?id=331065)
assembly to reproduce crash

note: following Marek's suggestion this is System.Core.dll in 4.0 profile to
test more cases of generic. Make sure MONO_PATH points to your 4.0 setup.

MONO_PATH=. gdb --args pedump --verify all System.Core.sigsegv.51791.dll 

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fea2fd3d710 (LWP 22284)]
0x00000000004331cb in method_from_methodspec (image=0x91b820, context=0xdfe6c8,
idx=617) at loader.c:1020
1020        if (context && inst->is_open) {
(gdb) p inst
$1 = (MonoGenericInst *) 0x0
(gdb) bt
#0  0x00000000004331cb in method_from_methodspec (image=0x91b820,
context=0xdfe6c8, idx=617) at loader.c:1020
#1  0x000000000043420b in mono_get_method_from_token (image=0x91b820,
token=721420905, klass=0x0, context=0xdfe6c8, used_context=0x7fff37d5cfcc) at
loader.c:1470
#2  0x00000000004346d2 in mono_get_method_full (image=0x91b820,
token=721420905, klass=0x0, context=0xdfe6c8) at loader.c:1591
#3  0x000000000049822b in verifier_load_method (ctx=0x7fff37d5d210,
token=721420905, opcode=0x535eed "callvirt") at verify.c:862
#4  0x000000000049fd21 in do_invoke_method (ctx=0x7fff37d5d210,
method_token=721420905, virtual=1) at verify.c:3371
#5  0x00000000004abeed in mono_method_verify (method=0xdfe698, level=135) at
verify.c:5400
#6  0x000000000040db9d in main (argc=0, argv=<value optimized out>) at
pedump.c:374

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