[Mono-bugs] [Bug 616463] SIGSEGV in common_call_trampoline (with test case)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jun 25 06:35:59 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=616463#c6


Piotr Wysocki <piotr.wysocki at secpl.cs.put.poznan.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |piotr.wysocki at secpl.cs.put.
                   |                            |poznan.pl

--- Comment #6 from Piotr Wysocki <piotr.wysocki at secpl.cs.put.poznan.pl> 2010-06-25 10:35:58 UTC ---
This is how the attachment https://bugzilla.novell.com/attachment.cgi?id=371761
fails:

Stacktrace:



  at Foo`1<object>.Go () <0xffffffff>

  at Foo`1<object>.Go () <0x0003b>

  at MainClass.Main (string[]) <0x0001b>

  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object
(object,intptr,intptr,intptr) <0x00054>



Native stacktrace:



    mono() [0x48748b]

    mono() [0x4d385f]

    /lib/libpthread.so.0(+0xf8f0) [0x7f33860db8f0]

    mono() [0x48b68e]

    [0x41137168]



Debug info from gdb:



82    ../sysdeps/unix/syscall-template.S: No such file or directory.

Mono support loaded.

[Thread debugging using libthread_db enabled]

[New Thread 0x7f33831b8710 (LWP 21583)]

[New Thread 0x7f3386dcf710 (LWP 21582)]

[New Thread 0x7f3384896710 (LWP 21581)]

[New Thread 0x7f3385097710 (LWP 21580)]

[New Thread 0x7f3385898710 (LWP 21579)]

0x00007f33860da93d in read () at ../sysdeps/unix/syscall-template.S:82

    in ../sysdeps/unix/syscall-template.S

  6 Thread 0x7f3385898710 (LWP 21579)  pthread_cond_wait@@GLIBC_2.3.2 () at
./nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162

  5 Thread 0x7f3385097710 (LWP 21580)  pthread_cond_wait@@GLIBC_2.3.2 () at
./nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162

  4 Thread 0x7f3384896710 (LWP 21581)  pthread_cond_wait@@GLIBC_2.3.2 () at
./nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162

  3 Thread 0x7f3386dcf710 (LWP 21582)  0x00007f33860db11d in nanosleep () at
./sysdeps/unix/syscall-template.S:82

  2 Thread 0x7f33831b8710 (LWP 21583)  sem_wait () at
./nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:86

* 1 Thread 0x7f3386dc6740 (LWP 21578)  0x00007f33860da93d in read () at
./sysdeps/unix/syscall-template.S:82



Thread 6 (Thread 0x7f3385898710 (LWP 21579)):

#0  pthread_cond_wait@@GLIBC_2.3.2 () at
./nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162

#1  0x00000000005b9cd8 in GC_wait_marker () at pthread_support.c:1785

#2  0x00000000005c052b in GC_help_marker (my_mark_no=2) at mark.c:1116

#3  0x00000000005b8914 in GC_mark_thread (id=0x0) at pthread_support.c:548

#4  0x00007f33860d29ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300

#5  0x00007f3385bad6cd in clone () at
./sysdeps/unix/sysv/linux/x86_64/clone.S:112

#6  0x0000000000000000 in ?? ()



Thread 5 (Thread 0x7f3385097710 (LWP 21580)):

#0  pthread_cond_wait@@GLIBC_2.3.2 () at
./nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162

#1  0x00000000005b9cd8 in GC_wait_marker () at pthread_support.c:1785

#2  0x00000000005c052b in GC_help_marker (my_mark_no=2) at mark.c:1116

#3  0x00000000005b8914 in GC_mark_thread (id=0x1) at pthread_support.c:548

#4  0x00007f33860d29ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300

#5  0x00007f3385bad6cd in clone () at
./sysdeps/unix/sysv/linux/x86_64/clone.S:112

#6  0x0000000000000000 in ?? ()



Thread 4 (Thread 0x7f3384896710 (LWP 21581)):

#0  pthread_cond_wait@@GLIBC_2.3.2 () at
./nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162

#1  0x00000000005b9cd8 in GC_wait_marker () at pthread_support.c:1785

#2  0x00000000005c052b in GC_help_marker (my_mark_no=2) at mark.c:1116

#3  0x00000000005b8914 in GC_mark_thread (id=0x2) at pthread_support.c:548

#4  0x00007f33860d29ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300

#5  0x00007f3385bad6cd in clone () at
./sysdeps/unix/sysv/linux/x86_64/clone.S:112

#6  0x0000000000000000 in ?? ()



Thread 3 (Thread 0x7f3386dcf710 (LWP 21582)):

#0  0x00007f33860db11d in nanosleep () at ../sysdeps/unix/syscall-template.S:82

#1  0x00000000005a1a42 in collection_thread (unused=<value optimized out>) at
collection.c:34

#2  0x00007f33860d29ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300

#3  0x00007f3385bad6cd in clone () at
./sysdeps/unix/sysv/linux/x86_64/clone.S:112

#4  0x0000000000000000 in ?? ()



Thread 2 (Thread 0x7f33831b8710 (LWP 21583)):

#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:86

#1  0x00000000005a1b38 in mono_sem_wait (sem=0x8bd7a0, alertable=0) at
mono-semaphore.c:102

#2  0x000000000054fd8a in finalizer_thread (unused=<value optimized out>) at
gc.c:1022

#3  0x0000000000538f05 in start_wrapper (data=<value optimized out>) at
threads.c:666

#4  0x0000000000594933 in thread_start_routine (args=0x2267868) at
wthreads.c:286

#5  0x00000000005b993b in GC_start_routine (arg=0x7f3386c4ee70) at
pthread_support.c:1390

#6  0x00007f33860d29ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300

#7  0x00007f3385bad6cd in clone () at
./sysdeps/unix/sysv/linux/x86_64/clone.S:112

#8  0x0000000000000000 in ?? ()



Thread 1 (Thread 0x7f3386dc6740 (LWP 21578)):

#0  0x00007f33860da93d in read () at ../sysdeps/unix/syscall-template.S:82

#1  0x0000000000487618 in read (signal=<value optimized out>, ctx=<value
optimized out>) at /usr/include/bits/unistd.h:45

#2  mono_handle_native_sigsegv (signal=<value optimized out>, ctx=<value
optimized out>) at mini-exceptions.c:1818

#3  0x00000000004d385f in mono_arch_handle_altstack_exception
(sigctx=0x7f3386dd4bc0, fault_addr=<value optimized out>, stack_ovf=0) at
exceptions-amd64.c:879

#4  <signal handler called>

#5  mono_magic_trampoline (regs=0x7fff7fb99ba8, code=0x41a3248b
"H\203\304\030\303\350\373Sp\377\004", arg=<value optimized out>, tramp=<value
optimized out>)

    at mini-trampolines.c:386

#6  0x0000000041137168 in ?? ()

#7  0x000000000223c830 in ?? ()

#8  0x00000000022a44a0 in ?? ()

#9  0x00007fff7fb99c70 in ?? ()

#10 0x0000000041137173 in ?? ()

#11 0x0000000000000000 in ?? ()



=================================================================

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