[Mono-bugs] [Bug 511704] [SRE] AddTypeForwarder does not support nested types

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jun 14 04:43:01 EDT 2009


User gert.driesen at pandora.be added comment

Gert Driesen <gert.driesen at pandora.be> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
                 CC|                            |gert.driesen at pandora.be
         Resolution|FIXED                       |

--- Comment #3 from Gert Driesen <gert.driesen at pandora.be>  2009-06-14 02:42:57 MDT ---
Using the attached repro I still get a SIGSEGV (see below).
To reproduce:
1. extract the gzipped tar archive.
2. run 'make'.


Native stacktrace:

    mono [0x80d5091]
    mono [0x80fef01]
    mono(mono_class_from_typeref+0xc3) [0x8160053]
    mono(mono_class_get_full+0x133) [0x8160483]
    mono(mono_class_get+0x20) [0x81604f0]
    mono [0x812e4ac]
    mono(mono_metadata_parse_type_full+0xe3) [0x812e953]
    mono(mono_metadata_parse_mh_full+0x197) [0x812ec77]
    mono(mono_method_get_header+0xd6) [0x819a2f6]
    mono [0x80611dd]
    mono [0x8062e96]
    mono [0x80637db]
    mono(mono_runtime_exec_main+0xea) [0x8111d5a]
    mono(mono_runtime_run_main+0x173) [0x81132c3]
    mono(mono_main+0x16fb) [0x80b679b]
    mono [0x805b2a1]
    /lib/libc.so.6(__libc_start_main+0xe0) [0xb7cc2fe0]
    mono [0x805b201]

Debug info from gdb:

Cannot access memory at address 0x4
[?1034hUsing host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb7cab6f0 (LWP 11055)]
[New Thread 0xb6cfdb90 (LWP 11058)]
[New Thread 0xb6d21b90 (LWP 11057)]
[New Thread 0xb7b7bb90 (LWP 11056)]
0xffffe410 in __kernel_vsyscall ()
  4 Thread 0xb7b7bb90 (LWP 11056)  0xffffe410 in __kernel_vsyscall ()
  3 Thread 0xb6d21b90 (LWP 11057)  0xffffe410 in __kernel_vsyscall ()
  2 Thread 0xb6cfdb90 (LWP 11058)  0xffffe410 in __kernel_vsyscall ()
  1 Thread 0xb7cab6f0 (LWP 11055)  0xffffe410 in __kernel_vsyscall ()

Thread 4 (Thread 0xb7b7bb90 (LWP 11056)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e0e566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so0
#2  0x081e90ac in GC_wait_marker () at pthread_support.c:1777
#3  0x081de4ce in GC_help_marker (my_mark_no=2) at mark.c:1116
#4  0x081e7f7f in GC_mark_thread (id=0x0) at pthread_support.c:548
#5  0xb7e0a192 in start_thread () from /lib/libpthread.so.0
#6  0xb7d7002e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb6d21b90 (LWP 11057)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e11846 in nanosleep () from /lib/libpthread.so.0
#2  0x081cdb31 in collection_thread (unused=0x0) at collection.c:34
#3  0xb7e0a192 in start_thread () from /lib/libpthread.so.0
#4  0xb7d7002e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb6cfdb90 (LWP 11058)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e1049e in sem_wait at GLIBC_2.0 () from /lib/libpthread.so.0
#2  0x08126322 in finalizer_thread (unused=0x0) at gc.c:1000
#3  0x08196b81 in start_wrapper (data=0x82effe0) at threads.c:636
#4  0x081c7402 in thread_start_routine (args=0x82e4da4) at wthreads.c:286
#5  0x081e8d3e in GC_start_routine (arg=0x26f20) at pthread_support.c:1382
#6  0xb7e0a192 in start_thread () from /lib/libpthread.so.0
#7  0xb7d7002e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7cab6f0 (LWP 11055)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e10ffb in read () from /lib/libpthread.so.0
#2  0x080d51fd in mono_handle_native_sigsegv (signal=11, ctx=0xb737ad0c)
    at mini-exceptions.c:1569
#3  0x080fef01 in mono_arch_handle_altstack_exception (sigctx=0xb737ad0c, 
    fault_addr=0x4, stack_ovf=0) at exceptions-x86.c:871
#4  <signal handler called>
#5  0x0816077e in mono_class_from_name (image=0xb6a03140, 
    name_space=0xb7374b6c "", name=0xb7374bf9 "Foo") at class.c:5878
#6  0x08160053 in mono_class_from_typeref (image=0x82cca18, 
    type_token=16777222) at class.c:169
#7  0x08160483 in mono_class_get_full (image=0x82cca18, type_token=16777222, 
    context=0x0) at class.c:5454
#8  0x081604f0 in mono_class_get (image=0x82cca18, type_token=16777222)
    at class.c:5530
#9  0x0812e4ac in do_mono_metadata_parse_type (type=0xbfbb2690, m=0x82cca18, 
    container=0x0, ptr=0xb7375352 "\022\035\006", rptr=0xbfbb26c0)
    at metadata.c:2720
#10 0x0812e953 in mono_metadata_parse_type_full (m=0x82cca18, container=0x0, 
    mode=MONO_PARSE_LOCAL, opt_attrs=0, ptr=0xb7375350 "\022\031\022\035\006", 
    rptr=0xbfbb2708) at metadata.c:1628
#11 0x0812ec77 in mono_metadata_parse_mh_full (m=0x82cca18, container=0x0, 
    ptr=0xb7374300 "r\001") at metadata.c:2994
#12 0x0819a2f6 in mono_method_get_header (method=0x82ccf5c) at loader.c:2167
#13 0x080611dd in mini_method_compile (method=0x82ccf5c, opts=64055807, 
    domain=0x25e70, run_cctors=<value optimized out>, 
    compile_aot=<value optimized out>, parts=0) at mini.c:3205
#14 0x08062e96 in mono_jit_compile_method (method=0x82ccf5c) at mini.c:4040
#15 0x080637db in mono_jit_runtime_invoke (method=0x82ccf5c, obj=0x0, 
    params=0xbfbb28b8, exc=0x0) at mini.c:4404
#16 0x08111d5a in mono_runtime_exec_main (method=0x82ccf5c, args=0x49fe0, 
    exc=0x0) at object.c:3449
#17 0x081132c3 in mono_runtime_run_main (method=0x82ccf5c, argc=1, 
    argv=0xbfbb2b18, exc=0x0) at object.c:3229
#18 0x080b679b in mono_main (argc=2, argv=0xbfbb2b14) at driver.c:972
#19 0x0805b2a1 in main (argc=) at main.c:34
#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.

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