[Mono-bugs] [Bug 566294] New: abort in mono_type_generic_inst_is_valuetype while JITting a verified method

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Dec 20 11:09:44 EST 2009


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

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


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

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

** ERROR:(metadata.c:3968):mono_type_generic_inst_is_valuetype: assertion
failed: (type->type == MONO_TYPE_GENERICINST)

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x40a56950 (LWP 19845)]
0x00007fa09968d5c5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007fa09968d5c5 in raise () from /lib64/libc.so.6
#1  0x00007fa09968ebb3 in abort () from /lib64/libc.so.6
#2  0x00007fa09a4bb2c7 in g_assertion_message () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007fa09a4bb762 in g_assertion_message_expr () from
/usr/lib64/libglib-2.0.so.0
#4  0x0000000000564abf in mono_type_generic_inst_is_valuetype (type=0xa4fc58)
at metadata.c:3968
#5  0x00000000004191d6 in mono_type_to_load_membase (cfg=0xa2e600,
type=0xa4fc58) at mini.c:671
#6  0x0000000000484073 in mono_spill_global_vars (cfg=0xa2e600,
need_local_opts=0x40a55ddc) at method-to-ir.c:10978
#7  0x0000000000420223 in mini_method_compile (method=0xa4f9a8, opts=55667199,
domain=0x7fa09a9d1db0, run_cctors=0, compile_aot=0, parts=0) at mini.c:3712
#8  0x00000000004a3d32 in compile_all_methods_thread_main (args=0x7fffa2b3f6a0)
at driver.c:881
#9  0x00000000005af87a in start_wrapper (data=0xa288a0) at threads.c:662
#10 0x000000000065896b in thread_start_routine (args=0x9fbc30) at
wthreads.c:286
#11 0x0000000000671b86 in GC_start_routine (arg=0x7fa09a9d2e70) at
pthread_support.c:1390
#12 0x00007fa099c11040 in start_thread () from /lib64/libpthread.so.0
#13 0x00007fa09972e08d in clone () from /lib64/libc.so.6
#14 0x0000000000000000 in ?? ()
(gdb) up 4
#4  0x0000000000564abf in mono_type_generic_inst_is_valuetype (type=0xa4fc58)
at metadata.c:3968
3968        g_assert (type->type == MONO_TYPE_GENERICINST);
(gdb) p type->type
$1 = MONO_TYPE_VALUETYPE
(gdb) p *type
$2 = {data = {klass = 0xa4fb98, type = 0xa4fb98, array = 0xa4fb98, method =
0xa4fb98, generic_param = 0xa4fb98, generic_class = 0xa4fb98}, attrs = 0, 
  type = MONO_TYPE_VALUETYPE, num_mods = 0, byref = 0, pinned = 0, modifiers =
0xa4fc64}
(gdb) p type->data.klass->name
$3 = 0x7fa09a9af71a "MouseButtons"
(gdb) p type->data.klass->name_space
$4 = 0x7fa09a9aeb25 "System.Windows.Browser"

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