[Mono-bugs] [Bug 567676] New: abort in mono_class_inflate_generic_method_full while JITting a verified method

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 30 10:23:48 EST 2009


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

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


           Summary: abort in mono_class_inflate_generic_method_full while
                    JITting a verified method
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.6.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: spouliot at novell.com
         QAContact: mono-bugs at lists.ximian.com
                CC: rkumpera at novell.com
          Found By: ---
           Blocker: ---


Created an attachment (id=334606)
 --> (http://bugzilla.novell.com/attachment.cgi?id=334606)
assembly to reproduce abort

This case is hitting the FIXME of the function

    if (!mono_error_ok (&error))
        /*FIXME do proper error handling - on this case, kill this function. */
        g_error ("Could not inflate generic method due to %s",
mono_error_get_message (&error)); 


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

** ERROR **: Could not inflate generic method due to Could not resolve
signature of method System.Windows.PresentationFrameworkCollection`1[T]:AddImpl
aborting...

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x4049b950 (LWP 3342)]
0x00007f3ea9fc45c5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007f3ea9fc45c5 in raise () from /lib64/libc.so.6
#1  0x00007f3ea9fc5bb3 in abort () from /lib64/libc.so.6
#2  0x00007f3eaadd654b in g_logv () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f3eaadd65e3 in g_log () from /usr/lib64/libglib-2.0.so.0
#4  0x000000000056af94 in mono_class_inflate_generic_method_full
(method=0xac1630, klass_hint=0xb3a9c0, context=0xb3a998) at class.c:843
#5  0x000000000056d499 in mono_class_setup_methods (class=0xb3a9c0) at
class.c:1771
#6  0x000000000057a683 in mono_class_get_virtual_methods (klass=0xb3a9c0,
iter=0x40499ac0) at class.c:7266
#7  0x0000000000572255 in mono_class_setup_vtable_general (class=0xb2f4a8,
overrides=0x0, onum=0) at class.c:3647
#8  0x0000000000570a55 in mono_class_setup_vtable (class=0xb2f4a8) at
class.c:2977
#9  0x000000000062dca9 in mono_class_create_runtime_vtable
(domain=0x7f3eab308db0, class=0xb2f4a8, raise_on_error=0) at object.c:1794
#10 0x000000000062d864 in mono_class_vtable_full (domain=0x7f3eab308db0,
class=0xb2f4a8, raise_on_error=0) at object.c:1711
#11 0x000000000062d789 in mono_class_vtable (domain=0x7f3eab308db0,
class=0xb2f4a8) at object.c:1682
#12 0x0000000000468da3 in mono_method_to_ir (cfg=0xbd3400, method=0xb831a8,
start_bblock=0xbe17a0, end_bblock=0xbe18a8, return_var=0x0,
dont_inline=0xbeda80, 
    inline_args=0x0, inline_offset=0, is_virtual_call=0) at method-to-ir.c:7645
#13 0x000000000041f77d in mini_method_compile (method=0xb831a8, opts=55667199,
domain=0x7f3eab308db0, run_cctors=0, compile_aot=0, parts=0) at mini.c:3402
#14 0x00000000004a3dbe in compile_all_methods_thread_main (args=0x7fffb3477fe0)
at driver.c:881
#15 0x00000000005aff3a in start_wrapper (data=0xa295a0) at threads.c:662
#16 0x00000000006591a3 in thread_start_routine (args=0x9fcc30) at
wthreads.c:286
#17 0x00000000006723be in GC_start_routine (arg=0x7f3eab309e70) at
pthread_support.c:1390
#18 0x00007f3eaa548040 in start_thread () from /lib64/libpthread.so.0
#19 0x00007f3eaa06508d in clone () from /lib64/libc.so.6
#20 0x0000000000000000 in ?? ()
(gdb) p method->name
$1 = 0x7f3ea9f70cc1 "AddImpl"
(gdb) p method->klass->name
$2 = 0x7f3ea9f6391f "PresentationFrameworkCollection`1"
(gdb) p method->klass->name_space
$3 = 0x7f3ea9f5f999 "System.Windows"

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