[Mono-bugs] [Bug 571167] New: [verifier] abort in mono_method_search_in_array_class on bad assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jan 15 15:49:17 EST 2010


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

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


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

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

** ERROR:(loader.c:859):mono_method_search_in_array_class: assertion failed:
(!klass->exception_type)

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x41015950 (LWP 19435)]
0x00007fc9b07735c5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007fc9b07735c5 in raise () from /lib64/libc.so.6
#1  0x00007fc9b0774bb3 in abort () from /lib64/libc.so.6
#2  0x00007fc9b15a12c7 in g_assertion_message () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007fc9b15a1762 in g_assertion_message_expr () from
/usr/lib64/libglib-2.0.so.0
#4  0x00000000005ccecb in mono_method_search_in_array_class (klass=0xa737f8,
name=0x7fc9b1a9781b "get_Count", sig=0xa2d710) at loader.c:859
#5  0x00000000005cd46b in method_from_memberref (image=0x9d73d0, idx=177,
typespec_context=0x0, used_context=0x410144ac) at loader.c:983
#6  0x00000000005ce788 in mono_get_method_from_token (image=0x9d73d0,
token=167772337, klass=0x0, context=0x0, used_context=0x410144ac) at
loader.c:1498
#7  0x00000000005cebcd in mono_get_method_full (image=0x9d73d0,
token=167772337, klass=0x0, context=0x0) at loader.c:1612
#8  0x000000000057fd7e in verifier_load_method (ctx=0x410146f0,
token=167772337, opcode=0x6b987d "callvirt") at verify.c:870
#9  0x00000000005877c6 in do_invoke_method (ctx=0x410146f0,
method_token=167772337, virtual=1) at verify.c:3386
#10 0x0000000000593972 in mono_method_verify (method=0xa73798, level=48) at
verify.c:5424
#11 0x0000000000597143 in mono_method_verify_with_current_settings
(method=0xa73798, skip_visibility=0) at verify.c:6096
#12 0x000000000041a9b3 in mini_method_verify (cfg=0xa52a40, method=0xa73798) at
mini.c:1252
#13 0x000000000041ab9a in mono_compile_is_broken (cfg=0xa52a40) at mini.c:1297
#14 0x000000000041f7ff in mini_method_compile (method=0xa73798, opts=55667199,
domain=0x7fc9b1ab7db0, run_cctors=0, compile_aot=0, parts=0) at mini.c:3415
#15 0x00000000004a3eea in compile_all_methods_thread_main (args=0x7fffb9c277a0)
at driver.c:881
#16 0x00000000005b0a0a in start_wrapper (data=0xa2a460) at threads.c:662
#17 0x0000000000659e57 in thread_start_routine (args=0x9fdb70) at
wthreads.c:286
#18 0x0000000000673072 in GC_start_routine (arg=0x7fc9b1ab8e70) at
pthread_support.c:1390
#19 0x00007fc9b0cf7040 in start_thread () from /lib64/libpthread.so.0
#20 0x00007fc9b081408d in clone () from /lib64/libc.so.6
#21 0x0000000000000000 in ?? ()
(gdb) up 4
#4  0x00000000005ccecb in mono_method_search_in_array_class (klass=0xa737f8,
name=0x7fc9b1a9781b "get_Count", sig=0xa2d710) at loader.c:859
859        g_assert (!klass->exception_type); /*FIXME this should not fail,
right?*/
(gdb) 

^ yes it can ;-)

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