[Mono-bugs] [Bug 492778] New: Mono crashes when running valid generics program

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Apr 7 06:16:23 EDT 2009


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


           Summary: Mono crashes when running valid generics program
    Classification: Mono
           Product: Mono: Runtime
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: msafar at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=284437)
 --> (http://bugzilla.novell.com/attachment.cgi?id=284437)
test-464.exe

mono test-424.exe 

** (test-424.exe:17756): WARNING **: Missing method
System.Collections.Generic.IEnumerable<System.Object>::GetEnumerator() in
assembly /usr/local/lib/mono/2.0/mscorlib.dll, referenced in assembly
test-424.exe

** (test-424.exe:17756): WARNING **: Missing method
System.Collections.Generic.IEnumerator<System.Object>::get_Current() in
assembly /usr/local/lib/mono/2.0/mscorlib.dll, referenced in assembly
test-424.exe

** (test-424.exe:17756): WARNING **: Missing method
System.Collections.Generic.IEnumerable<System.Object>::GetEnumerator() in
assembly /usr/local/lib/mono/2.0/mscorlib.dll, referenced in assembly
test-424.exe

** (test-424.exe:17756): WARNING **: Missing method
System.Collections.Generic.IEnumerator<System.Object>::get_Current() in
assembly /usr/local/lib/mono/2.0/mscorlib.dll, referenced in assembly
test-424.exe
Stacktrace:

  at XX.Main () <0xffffffff>
  at XX.Main () <0x00033>
  at (wrapper runtime-invoke) object.runtime_invoke_void
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

    mono [0x80d3042]
    mono [0x80fdacb]
    [0xb8060410]
    mono [0x80d518a]
    mono [0x80d57e7]
    [0xb7c69066]
    [0xb79de1fa]
    mono(mono_runtime_exec_main+0xe5) [0x8124fd5]
    mono(mono_runtime_run_main+0x16b) [0x812577b]
    mono(mono_main+0x1902) [0x80b5bb2]
    mono [0x805b2e1]
    /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7ddb685]
    mono [0x805b211]

Debug info from gdb:

Cannot access memory at address 0x29
[Thread debugging using libthread_db enabled]
[New Thread 0xb7d996d0 (LWP 17756)]
[New Thread 0xb75e4b90 (LWP 17758)]
[New Thread 0xb8032b90 (LWP 17757)]
0xb8060430 in __kernel_vsyscall ()
  3 Thread 0xb8032b90 (LWP 17757)  0xb8060430 in __kernel_vsyscall ()
  2 Thread 0xb75e4b90 (LWP 17758)  0xb8060430 in __kernel_vsyscall ()
  1 Thread 0xb7d996d0 (LWP 17756)  0xb8060430 in __kernel_vsyscall ()

Thread 3 (Thread 0xb8032b90 (LWP 17757)):
#0  0xb8060430 in __kernel_vsyscall ()
#1  0xb7f56906 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x081a87d8 in collection_thread (unused=0x0) at collection.c:34
#3  0xb7f4f50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4  0xb7ea6a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb75e4b90 (LWP 17758)):
#0  0xb8060430 in __kernel_vsyscall ()
#1  0xb7f55405 in sem_wait@@GLIBC_2.1 () from
/lib/tls/i686/cmov/libpthread.so.0
#2  0x081a7049 in finalizer_thread (unused=0x0) at gc.c:1077
#3  0x0815fd98 in start_wrapper (data=0x97f2760) at threads.c:624
#4  0x081bb616 in thread_start_routine (args=0x97ea3dc) at threads.c:286
#5  0x081dc758 in GC_start_routine (arg=0x26f20) at pthread_support.c:1382
#6  0xb7f4f50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb7ea6a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7d996d0 (LWP 17756)):
#0  0xb8060430 in __kernel_vsyscall ()
#1  0xb7f5610b in read () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x080d32a6 in mono_handle_native_sigsegv (signal=11, ctx=0xb7c68d0c)
    at /usr/include/bits/unistd.h:45
#3  0x080fdacb in mono_arch_handle_altstack_exception (sigctx=0xb7c68d0c, 
    fault_addr=0x2c, stack_ovf=0) at exceptions-x86.c:881
#4  <signal handler called>
#5  0x08111a76 in mono_class_get_vtable_entry (class=0x980f9f4, offset=11)
    at class.c:1778
#6  0x080d518a in mono_convert_imt_slot_to_vtable_slot (slot=0x97cd754, 
    regs=<value optimized out>, code=<value optimized out>, method=0x97fe784, 
    impl_method=0xbfe5f8f8) at mini-trampolines.c:89
#7  0x080d57e7 in mono_magic_trampoline (regs=0xbfe5f948, 
    code=0xb79de2b3 "\203�\020\211E��<\215d$", m=0x97fe784, tramp=0x0)
    at mini-trampolines.c:184
#8  0xb7c69066 in ?? ()
#9  0xb79de1fa in ?? ()
#10 0x08124fd5 in mono_runtime_exec_main (method=0x97d0c44, args=0x49fe0,
exc=0x0)
    at object.c:3424
#11 0x0812577b in mono_runtime_run_main (method=0x97d0c44, argc=-1075447176, 
    argv=0xbfe5fc78, exc=0x0) at object.c:3204
#12 0x080b5bb2 in mono_main (argc=2, argv=0xbfe5fc74) at driver.c:969
#13 0x0805b2e1 in main (argc=) at main.c:34
#0  0xb8060430 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

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