[Mono-bugs] [Bug 564897] New: [verifier] abort inmono_method_get_signature_full (2) on bad assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Dec 15 13:01:19 EST 2009


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

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


           Summary: [verifier] abort inmono_method_get_signature_full (2)
                    on 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=332744)
 --> (http://bugzilla.novell.com/attachment.cgi?id=332744)
assembly to reproduce abort

Similar to bug #560334 but we're not hitting the same assert

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

** ERROR:(loader.c:778):mono_method_get_signature_full: assertion failed:
(!(method->flags & METHOD_ATTRIBUTE_PINVOKE_IMPL) && mono_method_signature
(method))

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x41640950 (LWP 19213)]
0x00007ffe1f9985c5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffe1f9985c5 in raise () from /lib64/libc.so.6
#1  0x00007ffe1f999bb3 in abort () from /lib64/libc.so.6
#2  0x00007ffe207c62c7 in g_assertion_message () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007ffe207c6762 in g_assertion_message_expr () from
/usr/lib64/libglib-2.0.so.0
#4  0x00000000005cb474 in mono_method_get_signature_full (method=0xbcb2b0,
image=0x9d5380, token=721420291, context=0x0) at loader.c:777
#5  0x0000000000586894 in do_invoke_method (ctx=0x4163e890,
method_token=721420291, virtual=0) at verify.c:3395
#6  0x0000000000592558 in mono_method_verify (method=0xcc9738, level=48) at
verify.c:5405
#7  0x0000000000595d29 in mono_method_verify_with_current_settings
(method=0xcc9738, skip_visibility=0) at verify.c:6077
#8  0x000000000041a9b2 in mini_method_verify (cfg=0xad7a00, method=0xcc9738) at
mini.c:1249
#9  0x000000000045110f in mono_method_to_ir (cfg=0xad7a00, method=0xcc9738,
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
#10 0x000000000041f7bd in mini_method_compile (method=0xcc9738, opts=55667199,
domain=0x7ffe20cdcdb0, run_cctors=0, compile_aot=0, parts=0) at mini.c:3402
#11 0x00000000004a38b2 in compile_all_methods_thread_main (args=0x7fff28e4a9c0)
at driver.c:881
#12 0x00000000005af3cd in start_wrapper (data=0xa285a0) at threads.c:662
#13 0x000000000065844f in thread_start_routine (args=0x9fbbb0) at
wthreads.c:286
#14 0x000000000067166a in GC_start_routine (arg=0x7ffe20cdde70) at
pthread_support.c:1390
#15 0x00007ffe1ff1c040 in start_thread () from /lib64/libpthread.so.0
#16 0x00007ffe1fa3908d in clone () from /lib64/libc.so.6
#17 0x0000000000000000 in ?? ()
(gdb) up 4
#4  0x00000000005cb474 in mono_method_get_signature_full (method=0xbcb2b0,
image=0x9d5380, token=721420291, context=0x0) at loader.c:777
777            g_assert (!(method->flags & METHOD_ATTRIBUTE_PINVOKE_IMPL) &&
(gdb) p method->flags
$1 = 8342
(gdb) p method->name
$2 = 0x7ffe1f93d93f "shape_new"
(gdb) p method->klass->name
$3 = 0x7ffe1f935183 "NativeMethods"
(gdb) p method->klass->name_space
$4 = 0x7ffe1f9348a0 "Mono"

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