[Mono-bugs] [Bug 561737] New: sigsegv in mono_compile_create_var while JITting a verified method

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Dec 8 16:01:55 EST 2009


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

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


           Summary: sigsegv in mono_compile_create_var 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=331635)
 --> (http://bugzilla.novell.com/attachment.cgi?id=331635)
assembly to reproduce crash

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

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x41367950 (LWP 28121)]
0x0000000000419ecc in mono_compile_create_var (cfg=0xa3c400, type=0xa81e50,
opcode=325) at mini.c:980
980        if (mono_type_is_long (type))
(gdb) p type
$1 = (MonoType *) 0xa81e50
(gdb) bt
#0  0x0000000000419ecc in mono_compile_create_var (cfg=0xa3c400, type=0xa81e50,
opcode=325) at mini.c:980
#1  0x000000000041e01e in mono_compile_create_vars (cfg=0xa3c400) at
mini.c:2854
#2  0x000000000041f72d in mini_method_compile (method=0xa7f1a0, opts=55667199,
domain=0x7fa3bf185db0, run_cctors=0, compile_aot=0, parts=0) at mini.c:3396
#3  0x00000000004a381a in compile_all_methods_thread_main (args=0x7fffc72f4e70)
at driver.c:881
#4  0x00000000005aea8a in start_wrapper (data=0x9d77a0) at threads.c:662
#5  0x00000000006579c3 in thread_start_routine (args=0x9fac00) at
wthreads.c:286
#6  0x0000000000670bde in GC_start_routine (arg=0x7fa3bf186e70) at
pthread_support.c:1390
#7  0x00007fa3be3c5040 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fa3bdee208d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()
(gdb) p mono_type_get_underlying_type(type)
$2 = (MonoType *) 0x0

The macro mono_type_is_long calls mono_type_get_underlying_type which can
return NULL.

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