[Mono-bugs] [Bug 403894] New: Crash (unknown type 0x1e in type_to_stind) on generics code

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jun 25 15:47:38 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=403894


           Summary: Crash (unknown type 0x1e in type_to_stind) on generics
                    code
           Product: Mono: Runtime
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: jpryor at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


This was found on r106241.

Compiling and executing the attached C# code results in the following runtime
crash:

$ mono crash2.exe 

** ERROR **: unknown type 0x1e in type_to_stind
aborting...
Stacktrace:

  at IEnumerableRocks.Implode
(System.Collections.Generic.IEnumerable`1,string,System.Action`2) <0xffffffff>
  at IEnumerableRocks.Implode
(System.Collections.Generic.IEnumerable`1,string,System.Action`2) <0x00184>
  at IEnumerableRocks.Implode
(System.Collections.Generic.IEnumerable`1,string,System.Func`2) <0x00077>
  at Test.Main () <0x00083>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        mono [0x5609f1]
        /lib64/libpthread.so.0 [0x7f1f58211b30]
        /lib64/libc.so.6(gsignal+0x35) [0x7f1f57c865c5]
        /lib64/libc.so.6(abort+0x183) [0x7f1f57c87bb3]
        /usr/lib64/libglib-2.0.so.0(g_logv+0x4cb) [0x7f1f58a9852b]
        /usr/lib64/libglib-2.0.so.0(g_log+0x83) [0x7f1f58a985c3]
        mono [0x4610b9]
        mono [0x533114]
        mono [0x54a95c]
        mono [0x54c51f]
        mono [0x426514]
        [0x406effe5]

Debug info from gdb:

[Thread debugging using libthread_db enabled]
[New Thread 0x7f1f59113730 (LWP 6929)]
[New Thread 0x420e3950 (LWP 6931)]
[New Thread 0x406e8950 (LWP 6930)]
0x00007f1f5821090b in read () from /lib64/libpthread.so.0
  3 Thread 0x406e8950 (LWP 6930)  0x00007f1f58211251 in nanosleep ()
   from /lib64/libpthread.so.0
  2 Thread 0x420e3950 (LWP 6931)  0x00007f1f5820ddd9 in
pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  1 Thread 0x7f1f59113730 (LWP 6929)  0x00007f1f5821090b in read ()
   from /lib64/libpthread.so.0

Thread 3 (Thread 0x406e8950 (LWP 6930)):
#0  0x00007f1f58211251 in nanosleep () from /lib64/libpthread.so.0
#1  0x00000000004f12d2 in collection_thread (unused=<value optimized out>)
    at collection.c:34
#2  0x00007f1f5820a040 in start_thread () from /lib64/libpthread.so.0
#3  0x00007f1f57d270cd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x420e3950 (LWP 6931)):
#0  0x00007f1f5820ddd9 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0
#1  0x00000000004fd885 in timedwait_signal_poll_cond (cond=0x8c66a8, 
    mutex=0x8c6680, timeout=0x1, alertable=-1) at handles.c:1492
#2  0x00000000004fffbf in _wapi_handle_timedwait_signal_handle (
    handle=<value optimized out>, timeout=0x0, alertable=9201280)
    at handles.c:1572
#3  0x0000000000500d7e in WaitForSingleObjectEx (handle=0x404, 
    timeout=4294967295, alertable=0) at wait.c:200
#4  0x000000000048cbb3 in finalizer_thread (unused=<value optimized out>)
    at gc.c:905
#5  0x00000000004b8c13 in start_wrapper (data=<value optimized out>)
    at threads.c:621
#6  0x000000000050bdab in thread_start_routine (args=0x8c69d8) at threads.c:279
#7  0x000000000051fc12 in GC_start_routine (arg=<value optimized out>)
    at pthread_support.c:1369
#8  0x00007f1f5820a040 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f1f57d270cd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f1f59113730 (LWP 6929)):
#0  0x00007f1f5821090b in read () from /lib64/libpthread.so.0
#1  0x0000000000560b5c in mono_handle_native_sigsegv (
    signal=<value optimized out>, ctx=<value optimized out>)
    at mini-exceptions.c:1182
#2  <signal handler called>
#3  0x00007f1f57c865c5 in raise () from /lib64/libc.so.6
#4  0x00007f1f57c87bb3 in abort () from /lib64/libc.so.6
#5  0x00007f1f58a9852b in g_logv () from /usr/lib64/libglib-2.0.so.0
#6  0x00007f1f58a985c3 in g_log () from /usr/lib64/libglib-2.0.so.0
#7  0x00000000004610b9 in mono_type_to_stind (type=<value optimized out>)
    at marshal.c:1433
#8  0x0000000000533114 in mono_method_to_ir (cfg=0x939960, method=0x920240, 
    start_bblock=0x93b508, end_bblock=0x93b608, locals_offset=3, 
    return_var=0x0, dont_inline=0x938f60, inline_args=0x0, inline_offset=0, 
    is_virtual_call=0) at mini.c:5355
#9  0x000000000054a95c in mini_method_compile (method=0x920240, opts=5335551, 
    domain=0x7f1f58fc4e00, run_cctors=<value optimized out>, 
    compile_aot=<value optimized out>, parts=0) at mini.c:12051
#10 0x000000000054c51f in mono_jit_compile_method (method=0x920240)
    at mini.c:12569
#11 0x0000000000426514 in mono_delegate_trampoline (
    regs=<value optimized out>, code=<value optimized out>, 
    klass=<value optimized out>, tramp=<value optimized out>)
    at mini-trampolines.c:481
#12 0x00000000406effe5 in ?? ()
#13 0x0000000000000000 in ?? ()
#0  0x00007f1f5821090b in read () from /lib64/libpthread.so.0

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Aborted


-- 
Configure bugmail: https://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