[Mono-bugs] [Bug 568025] New: [verifier] sigsegv/infinite recursion in mono_class_implement_interface_slow

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jan 4 11:01:40 EST 2010


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

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


           Summary: [verifier] sigsegv/infinite recursion in
                    mono_class_implement_interface_slow
    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=334807)
 --> (http://bugzilla.novell.com/attachment.cgi?id=334807)
assembly to reproduce crash

MONO_PATH=/opt/mono/lib/moonlight/plugin/ gdb --args pedump --verify all
System.ServiceModel.sigsegv.37521.dll

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffe34795710 (LWP 29461)]
0x0000000000425851 in mono_class_implement_interface_slow (target=0x898308,
candidate=0x8baa30) at class.c:6642
6642                mono_class_setup_interfaces (candidate);
(gdb) bt
#0  0x0000000000425851 in mono_class_implement_interface_slow (target=0x898308,
candidate=0x8baa30) at class.c:6642
#1  0x000000000042589e in mono_class_implement_interface_slow (target=0x898308,
candidate=0x8b4980) at class.c:6644
#2  0x000000000042589e in mono_class_implement_interface_slow (target=0x898308,
candidate=0x8baa30) at class.c:6644
#3  0x000000000042589e in mono_class_implement_interface_slow (target=0x898308,
candidate=0x8b4980) at class.c:6644
#4  0x000000000042589e in mono_class_implement_interface_slow (target=0x898308,
candidate=0x8baa30) at class.c:6644
#5  0x000000000042589e in mono_class_implement_interface_slow (target=0x898308,
candidate=0x8b4980) at class.c:6644
#6  0x000000000042589e in mono_class_implement_interface_slow (target=0x898308,
candidate=0x8baa30) at class.c:6644
#7  0x000000000042589e in mono_class_implement_interface_slow (target=0x898308,
candidate=0x8b4980) at class.c:6644
#8  0x000000000042589e in mono_class_implement_interface_slow (target=0x898308,
candidate=0x8baa30) at class.c:6644
#9  0x000000000042589e in mono_class_implement_interface_slow (target=0x898308,
candidate=0x8b4980) at class.c:6644
#10 0x000000000042589e in mono_class_implement_interface_slow (target=0x898308,
candidate=0x8baa30) at class.c:6644
#11 0x000000000042589e in mono_class_implement_interface_slow (target=0x898308,
candidate=0x8b4980) at class.c:6644

..

#87250 0x000000000042589e in mono_class_implement_interface_slow
(target=0x898308, candidate=0x8baa30) at class.c:6644
#87251 0x000000000042589e in mono_class_implement_interface_slow
(target=0x898308, candidate=0x8b4980) at class.c:6644
#87252 0x000000000042589e in mono_class_implement_interface_slow
(target=0x898308, candidate=0x8b4828) at class.c:6644
#87253 0x00000000004259d0 in mono_class_is_assignable_from_slow
(target=0x898308, candidate=0x8b4828) at class.c:6676
#87254 0x000000000041cd83 in verify_class_overrides (class=0x8b4828,
overrides=0x8bcb30, onum=4) at class.c:3352
#87255 0x000000000041ce6c in mono_class_setup_vtable_general (class=0x8b4828,
overrides=0x8bcb30, onum=4) at class.c:3381
#87256 0x000000000041c65e in mono_class_setup_vtable (class=0x8b4828) at
class.c:2987
#87257 0x000000000041fda4 in mono_class_init (class=0x8b4828) at class.c:4336
#87258 0x000000000040eb23 in verify_image_file (fname=0x7fff3c7b6281
"System.ServiceModel.sigsegv.37521.dll") at pedump.c:475
#87259 0x000000000040f376 in main (argc=4, argv=0x7fff3c7b45f8) at pedump.c:692

(gdb) p target->name
$1 = 0x7ffe33286fc4 "IDefaultCommunicationTimeouts"
(gdb) p target->name_space
$2 = 0x7ffe33285231 "System.ServiceModel"
(gdb) p candidate->name
$3 = 0x7ffe33286f90 "IClientChannel"
(gdb) p candidate->name_space
$4 = 0x7ffe33285231 "System.ServiceModel"
(gdb) up
#1  0x000000000042589e in mono_class_implement_interface_slow (target=0x898308,
candidate=0x8b4980) at class.c:6644
6644                    if (candidate->interfaces [i] == target ||
mono_class_implement_interface_slow (target, candidate->interfaces [i]))
(gdb) p candidate->name
$5 = 0x7ffe3328653d "IChannel"
(gdb) p candidate->name_space
$6 = 0x7ffe33286248 "System.ServiceModel.Channels"
(gdb) up
#2  0x000000000042589e in mono_class_implement_interface_slow (target=0x898308,
candidate=0x8baa30) at class.c:6644
6644                    if (candidate->interfaces [i] == target ||
mono_class_implement_interface_slow (target, candidate->interfaces [i]))
(gdb) p candidate->name
$7 = 0x7ffe33286f90 "IClientChannel"
(gdb) p candidate->name_space
$8 = 0x7ffe33285231 "System.ServiceModel"
(gdb)

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