[Mono-bugs] [Bug 568004] New: abort in mono_marshal_get_remoting_invoke_with_check while JITting a verified method

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jan 4 09:28:09 EST 2010


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

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


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

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

** ERROR:(marshal.c:3634):mono_marshal_get_remoting_invoke_with_check:
assertion failed: (mono_method_signature (method)->hasthis)

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x40438950 (LWP 24326)]
0x00007f1a2e44c5c5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007f1a2e44c5c5 in raise () from /lib64/libc.so.6
#1  0x00007f1a2e44dbb3 in abort () from /lib64/libc.so.6
#2  0x00007f1a2f27a2c7 in g_assertion_message () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f1a2f27a762 in g_assertion_message_expr () from
/usr/lib64/libglib-2.0.so.0
#4  0x00000000005d7dbb in mono_marshal_get_remoting_invoke_with_check
(method=0xb4e800) at marshal.c:3634
#5  0x00000000004313d6 in mono_emit_method_call_full (cfg=0xa4d840,
method=0xb4e800, sig=0xb3bb98, args=0xb3cdc8, this=0xb3d0c0, imt_arg=0x0)
    at method-to-ir.c:2314
#6  0x000000000043245f in mono_emit_rgctx_method_call_full (cfg=0xa4d840,
method=0xb4e800, sig=0xb3bb98, args=0xb3cdc8, this=0xb3d0c0, imt_arg=0x0, 
    vtable_arg=0x0) at method-to-ir.c:2402
#7  0x0000000000469361 in mono_method_to_ir (cfg=0xa4d840, method=0xb3bd10,
start_bblock=0xb3c770, end_bblock=0xb3c878, return_var=0x0,
dont_inline=0xb4fd00, 
    inline_args=0x0, inline_offset=0, is_virtual_call=0) at method-to-ir.c:7701
#8  0x000000000041f785 in mini_method_compile (method=0xb3bd10, opts=55667199,
domain=0x7f1a2f790db0, run_cctors=0, compile_aot=0, parts=0) at mini.c:3404
#9  0x00000000004a3dce in compile_all_methods_thread_main (args=0x7fff37900470)
at driver.c:881
#10 0x00000000005b00f6 in start_wrapper (data=0xa29380) at threads.c:662
#11 0x0000000000659333 in thread_start_routine (args=0x9fcc00) at
wthreads.c:286
#12 0x000000000067254e in GC_start_routine (arg=0x7f1a2f791e70) at
pthread_support.c:1390
#13 0x00007f1a2e9d0040 in start_thread () from /lib64/libpthread.so.0
#14 0x00007f1a2e4ed08d in clone () from /lib64/libc.so.6
#15 0x0000000000000000 in ?? ()
(gdb) up 4
#4  0x00000000005d7dbb in mono_marshal_get_remoting_invoke_with_check
(method=0xb4e800) at marshal.c:3634
3634        g_assert (mono_method_signature (method)->hasthis);
(gdb) p method->name
$1 = 0x7f1a2f763345 ".ctor"
(gdb) p method->klass->name
$2 = 0x7f1a2f762a0a "DelegatingWaitHandle"
(gdb) p method->klass->name_space
$3 = 0x7f1a2f761230 ""
(gdb) p *mono_method_signature (method)
$4 = {hasthis = 0, explicit_this = 0, call_convention = 0, pinvoke = 0,
ref_count = 0, param_count = 1, sentinelpos = -1, generic_param_count = 0, 
  is_inflated = 0, has_type_parameters = 0, ret = 0x6b33e0, params = 0xb3bbb0}

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