[Mono-bugs] [Bug 335011] New: Runtime crashes during when emitting generics

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 18 16:31:38 EDT 2007


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

           Summary: Runtime crashes during when emitting generics
           Product: Mono: Runtime
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: msafar at novell.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


Compile and run attached test.

Stacktrace:

  at (wrapper managed-to-native)
System.Reflection.MonoGenericClass.GetCorrespondingInflatedMethod
(System.Reflection.MethodInfo) <0x00004>
  at (wrapper managed-to-native)
System.Reflection.MonoGenericClass.GetCorrespondingInflatedMethod
(System.Reflection.MethodInfo) <0xffffffff>
  at System.Reflection.MonoGenericClass.GetMethod
(System.Reflection.MethodInfo) <0x00016>
  at System.Reflection.Emit.TypeBuilder.GetMethod
(System.Type,System.Reflection.MethodInfo) <0x00015>
  at Entry.Instance () <0x0097c>
  at Entry.Main () <0x00007>
  at (wrapper runtime-invoke) Entry.runtime_invoke_int
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        mono [0x8176f2e]
        mono [0x807d5e1]
        [0xffffe440]
        [0xb72bde92]
        [0xb72bcbdf]
        [0xb72bcb7e]
        [0xb796047d]
        [0xb79544c8]
        [0xb7954437]
        mono(mono_runtime_exec_main+0x10e) [0x80b498e]
        mono(mono_runtime_run_main+0x1ba) [0x80b4c7a]
        mono(mono_main+0xfaf) [0x805b32f]
        mono [0x8059e72]
        /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7d3f050]
        mono [0x8059de1]

Debug info from gdb:

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1210943792 (LWP 6451)]
[New Thread -1220760688 (LWP 6453)]
[New Thread -1220613232 (LWP 6452)]
0xffffe410 in __kernel_vsyscall ()
  3 Thread -1220613232 (LWP 6452)  0xffffe410 in __kernel_vsyscall ()
  2 Thread -1220760688 (LWP 6453)  0xffffe410 in __kernel_vsyscall ()
  1 Thread -1210943792 (LWP 6451)  0xffffe410 in __kernel_vsyscall ()

Thread 3 (Thread -1220613232 (LWP 6452)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7ea49f6 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0810f331 in collection_thread (unused=0x0) at collection.c:34
#3  0xb7e9d46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4  0xb7dfc73e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread -1220760688 (LWP 6453)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7ea1676 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0811ca7f in timedwait_signal_poll_cond (cond=0xb78c81dc, 
    mutex=0xb78c81c4, timeout=0x0, alertable=0) at handles.c:1443
#3  0x0811f51f in _wapi_handle_timedwait_signal_handle (handle=0x404, 
    timeout=0x0, alertable=0) at handles.c:1523
#4  0x0811f59c in _wapi_handle_wait_signal_handle (handle=0x404, alertable=0)
    at handles.c:1483
#5  0x0812232f in WaitForSingleObjectEx (handle=0x404, timeout=4294967295, 
    alertable=0) at wait.c:200
#6  0x0810dfba in finalizer_thread (unused=0x0) at gc.c:847
#7  0x080e3a14 in start_wrapper (data=0x8264ac8) at threads.c:550
#8  0x0811ac82 in thread_start_routine (args=0xb7784758) at threads.c:264
#9  0x08134825 in GC_start_routine (arg=0x22f40) at pthread_support.c:1369
#10 0xb7e9d46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0xb7dfc73e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1210943792 (LWP 6451)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7df5301 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7f14780 in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
#3  0xb7f14b4c in g_spawn_command_line_sync () from /usr/lib/libglib-2.0.so.0
#4  0x08176fc9 in mono_handle_native_sigsegv (signal=11, ctx=0xb7bf7d0c)
    at mini-exceptions.c:1061
#5  0x0807d5e1 in mono_arch_handle_altstack_exception (sigctx=0xb7bf7d0c, 
    fault_addr=0x4, stack_ovf=0) at exceptions-x86.c:854
#6  <signal handler called>
#7  0x08102d5b in ves_icall_MonoGenericClass_GetCorrespondingInflatedMethod (
    type=0x51f60, generic=0x4fe80) at icall.c:2288
#8  0xb72bde92 in ?? ()
#9  0x00051f60 in ?? ()
#10 0x0004fe80 in ?? ()
#11 0x08227118 in ?? ()
#12 0x08227119 in ?? ()
#13 0xb7d276cc in ?? ()
#14 0x0828a6e4 in ?? ()
#15 0x00000000 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()


=================================================================
Got a SIGSEGV 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 (core dumped)


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list