[Mono-bugs] [Bug 560327] [verifier] abort in mono_class_inflate_generic_class on bad assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 6 08:58:03 EST 2010



Sebastien Pouliot <spouliot at novell.com> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #4 from Sebastien Pouliot <spouliot at novell.com> 2010-01-06 13:58:02 UTC ---
The same assert can still be reached. Here's a test case that does not require
4_0 support.

MONO_PATH=/opt/mono/lib/moonlight/plugin/ gdb --args pedump --verify all

** ERROR:(class.c:779):mono_class_inflate_generic_class: assertion failed:
(mono_error_ok (&error))
[New Thread 0x7f6a3d909710 (LWP 25958)]

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7f6a3d909710 (LWP 25958)]
0x00007f6a3c4765c5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007f6a3c4765c5 in raise () from /lib64/libc.so.6
#1  0x00007f6a3c477bb3 in abort () from /lib64/libc.so.6
#2  0x00007f6a3d2a42c7 in g_assertion_message () from
#3  0x00007f6a3d2a4762 in g_assertion_message_expr () from
#4  0x0000000000416824 in mono_class_inflate_generic_class (gklass=0x891400,
context=0x8b0798) at class.c:779
#5  0x0000000000428a3d in mono_class_setup_interfaces (klass=0x8b20a0) at
#6  0x000000000041a9fc in collect_implemented_interfaces_aux (klass=0x8b20a0,
res=0x7fff45929ba8) at class.c:2332
#7  0x000000000041aa99 in mono_class_get_implemented_interfaces
(klass=0x8b20a0) at class.c:2351
#8  0x000000000041bb06 in setup_interface_offsets (class=0x8b20a0, cur_slot=0)
at class.c:2742
#9  0x000000000041fea9 in mono_class_init (class=0x8b20a0) at class.c:4373
#10 0x000000000042527a in mono_class_is_assignable_from (klass=0x87bca0,
oklass=0x8b20a0) at class.c:6534
#11 0x00000000004bd5ed in verify_type_compatibility_full (ctx=0x7fff45929f50,
target=0x87bd60, candidate=0x8b1688, strict=0) at verify.c:2633
#12 0x00000000004bdd8d in verify_stack_type_compatibility_full
(ctx=0x7fff45929f50, type=0x87bd60, stack=0x8b06c0, drop_byref=0,
    at verify.c:2776
#13 0x00000000004bddc5 in verify_stack_type_compatibility (ctx=0x7fff45929f50,
type=0x87bd60, stack=0x8b06c0) at verify.c:2782
#14 0x00000000004c0750 in do_ret (ctx=0x7fff45929f50) at verify.c:3349
#15 0x00000000004cbd9a in mono_method_verify (method=0x8aeee0, level=135) at
#16 0x000000000040e79f in dump_verify_info (image=0x8ac240, flags=135) at
#17 0x000000000040f4f1 in main (argc=4, argv=0x7fff4592a778) at pedump.c:730

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