[Mono-bugs] [Bug 561227] [verifier] infinite recursion (leading to sigsegv) in mono_class_setup_supertypes

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon May 10 09:40:56 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=561227#c1


--- Comment #1 from Sebastien Pouliot <spouliot at novell.com> 2010-05-10 13:40:55 UTC ---
Created an attachment (id=360891)
 --> (http://bugzilla.novell.com/attachment.cgi?id=360891)
assembly that cause the sigsegv

This test case occurs on trunk with Moonlight (not 4.0) assemblies.

gdb --args pedump --verify all
bin/System.Runtime.Serialization.sigabrt.26637.dll

ERROR:class.c:4953:mono_class_setup_supertypes: assertion failed: (class !=
class->parent)

Program received signal SIGABRT, Aborted.
0x00007ffff6d6d4e5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff6d6d4e5 in raise () from /lib64/libc.so.6
#1  0x00007ffff6d6e9b0 in abort () from /lib64/libc.so.6
#2  0x00007ffff797577f in g_assertion_message () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007ffff7975cf0 in g_assertion_message_expr () from
/usr/lib64/libglib-2.0.so.0
#4  0x00000000004223b7 in mono_class_setup_supertypes (class=0x89f6a0) at
class.c:4953
#5  0x0000000000422306 in mono_class_setup_parent (class=0x89f6a0,
parent=0x89f6a0) at class.c:4921
#6  0x00000000004227b7 in mono_class_create_from_typedef (image=0x896e80,
type_token=33554436) at class.c:5057
#7  0x0000000000425bca in mono_class_get_full (image=0x896e80,
type_token=33554436, context=0x0) at class.c:6382
#8  0x0000000000425f1a in mono_class_get (image=0x896e80, type_token=33554436)
at class.c:6470
#9  0x000000000040eb6f in verify_image_file (fname=0x7fffffffe2ee
"bin/System.Runtime.Serialization.sigabrt.26637.dll") at pedump.c:460
#10 0x000000000040f475 in main (argc=4, argv=0x7fffffffdea8) at pedump.c:685


note: The assert being hit is something I have locally to avoid the SIGSEGV

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