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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 9 17:08:36 EST 2009


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

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


           Summary: [verifier] SIGSEGV in mono_method_signature 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=331841)
 --> (http://bugzilla.novell.com/attachment.cgi?id=331841)
assembly to reproduce crash

MONO_PATH=/opt/mono/lib/moonlight/plugin/ gdb --args mono --security=core-clr
--compile-all System.Core.sigabrt.8205.dll

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x42400950 (LWP 17492)]
0x00000000005cda9d in mono_method_signature (m=0x0) at loader.c:2064
2064        if (m->signature)
(gdb) bt
#0  0x00000000005cda9d in mono_method_signature (m=0x0) at loader.c:2064
#1  0x00000000005ca217 in find_method_in_class (klass=0xa3def8,
name=0x7f5f17dbcbcb "Average", qname=0x0, fqname=0x0, sig=0xa3ee40,
from_class=0xa3def8)
    at loader.c:600
#2  0x00000000005ca522 in find_method (in_class=0xa3def8, ic=0x0,
name=0x7f5f17dbcbcb "Average", sig=0xa3ee40, from_class=0xa3def8) at
loader.c:656
#3  0x00000000005cb331 in method_from_memberref (image=0x9d43d0, idx=116,
typespec_context=0x0, used_context=0x0) at loader.c:948
#4  0x00000000005cb71a in method_from_methodspec (image=0x9d43d0, context=0x0,
idx=1) at loader.c:1032
#5  0x00000000005cc674 in mono_get_method_from_token (image=0x9d43d0,
token=721420289, klass=0x0, context=0x0, used_context=0x423fe66c) at
loader.c:1471
#6  0x00000000005ccb33 in mono_get_method_full (image=0x9d43d0,
token=721420289, klass=0x0, context=0x0) at loader.c:1592
#7  0x000000000057e7da in verifier_load_method (ctx=0x423fe8b0,
token=721420289, opcode=0x6b70d6 "call") at verify.c:862
#8  0x000000000058614f in do_invoke_method (ctx=0x423fe8b0,
method_token=721420289, virtual=0) at verify.c:3372
#9  0x0000000000592106 in mono_method_verify (method=0xa3dec8, level=48) at
verify.c:5401
#10 0x000000000059581d in mono_method_verify_with_current_settings
(method=0xa3dec8, skip_visibility=0) at verify.c:6075
#11 0x000000000041a9b2 in mini_method_verify (cfg=0xa2fe00, method=0xa3dec8) at
mini.c:1249
#12 0x00000000004510eb in mono_method_to_ir (cfg=0xa2fe00, method=0xa3dec8,
start_bblock=0x0, end_bblock=0x0, return_var=0x0, dont_inline=0x0,
inline_args=0x0, 
    inline_offset=0, is_virtual_call=0) at method-to-ir.c:5403
#13 0x000000000041f7bd in mini_method_compile (method=0xa3dec8, opts=55667199,
domain=0x7f5f17de3db0, run_cctors=0, compile_aot=0, parts=0) at mini.c:3402
#14 0x00000000004a382e in compile_all_methods_thread_main (args=0x7fff1ff53ac0)
at driver.c:881
#15 0x00000000005aebe6 in start_wrapper (data=0xa27360) at threads.c:662
#16 0x0000000000657b1f in thread_start_routine (args=0x9fac00) at
wthreads.c:286
#17 0x0000000000670d3a in GC_start_routine (arg=0x7f5f17de4e70) at
pthread_support.c:1390
#18 0x00007f5f17023040 in start_thread () from /lib64/libpthread.so.0
#19 0x00007f5f16b4008d in clone () from /lib64/libc.so.6
#20 0x0000000000000000 in ?? ()

That's pretty close to a (solved) bug report - expect that, in this case, we're
calling mono_method_signature with NULL.

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