[Mono-bugs] [Bug 560325] New: [verifier] abort in find_method on bad assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 3 08:42:13 EST 2009


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

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


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

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.sigabrt.113712.dll

** ERROR:(loader.c:662):find_method: assertion failed:
(from_class->interface_offsets_count == in_class->interface_offsets_count)
[New Thread 0x7f71a7b10710 (LWP 15710)]

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7f71a7b10710 (LWP 15710)]
0x00007f71a667d5c5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007f71a667d5c5 in raise () from /lib64/libc.so.6
#1  0x00007f71a667ebb3 in abort () from /lib64/libc.so.6
#2  0x00007f71a74ab2c7 in g_assertion_message () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f71a74ab762 in g_assertion_message_expr () from
/usr/lib64/libglib-2.0.so.0
#4  0x000000000043209e in find_method (in_class=0x877410, ic=0x0,
name=0x7f71a61f43ff "field-9", sig=0x985a90, from_class=0xd47ec0) at
loader.c:662
#5  0x0000000000432edf in method_from_memberref (image=0x91b7b0, idx=3513,
typespec_context=0xd47dc8, used_context=0x7fffafb30edc) at loader.c:957
#6  0x0000000000434244 in mono_get_method_from_token (image=0x91b7b0,
token=167775673, klass=0x0, context=0xd47dc8, used_context=0x7fffafb30edc) at
loader.c:1476
#7  0x000000000043468d in mono_get_method_full (image=0x91b7b0,
token=167775673, klass=0x0, context=0xd47dc8) at loader.c:1590
#8  0x0000000000453fca in method_from_method_def_or_ref (m=0x91b7b0, tok=7027,
context=0xd47dc8) at metadata.c:5062
#9  0x0000000000454198 in mono_class_get_overrides_full (image=0x91b7b0,
type_token=33554821, overrides=0x7fffafb31020, num_overrides=0x7fffafb3101c, 
    generic_context=0xd47dc8) at metadata.c:5125
#10 0x000000000041ad59 in mono_class_setup_vtable (class=0xd42a10) at
class.c:2884
#11 0x000000000041e2cc in mono_class_init (class=0xd42a10) at class.c:4204
#12 0x00000000004979eb in mono_type_is_valid_in_context (ctx=0x7fffafb311f0,
type=0xd47ae0) at verify.c:778
#13 0x00000000004a9cce in mono_method_verify (method=0xd487c0, level=135) at
verify.c:5006
#14 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