Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: comms/asterisk18 build failure on current/amd64



On Sun, Oct 09, 2011 at 09:47:49AM -0400, Christos Zoulas wrote:
> Is mono a binary? It does not look like it because gdb does not recognize it.

Sorry, the backtrace was against the libtool script.
Here's the one against the real binary:

# gdb mono/mini/mono mono.core
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64--netbsd"...
Reading symbols from /usr/lib/libm.so.0...done.
Loaded symbols for /usr/lib/libm.so.0
Reading symbols from /usr/lib/libpthread.so.1...done.
Loaded symbols for /usr/lib/libpthread.so.1
Reading symbols from /usr/lib/libc.so.12...done.
Loaded symbols for /usr/lib/libc.so.12
Reading symbols from /usr/lib/libgcc_s.so.1...done.
Loaded symbols for /usr/lib/libgcc_s.so.1
Reading symbols from /usr/libexec/ld.elf_so...done.
Loaded symbols for /usr/libexec/ld.elf_so
Core was generated by `mono'.
Program terminated with signal 6, Aborted.
#0  0x00007f7ff70ebd2a in _lwp_kill () from /usr/lib/libc.so.12
(gdb) bt
#0  0x00007f7ff70ebd2a in _lwp_kill () from /usr/lib/libc.so.12
#1  0x00007f7ff70eb662 in abort () at 
/archive/cvs/src/lib/libc/stdlib/abort.c:74
#2  0x0000000000489c79 in mono_handle_native_sigsegv (signal=<value optimized 
out>, ctx=<value optimized out>) at mini-exceptions.c:2245
#3  0x0000000000000000 in ?? ()
(gdb) thread 2
[Switching to thread 2 (process 527585)]#0  0x00007f7ff707633a in ___lwp_park50 
() from /usr/lib/libc.so.12
(gdb) bt
#0  0x00007f7ff707633a in ___lwp_park50 () from /usr/lib/libc.so.12
#1  0x00007f7ff7408854 in pthread_cond_wait (cond=0x8ccb00, mutex=0x8ccb40) at 
/archive/cvs/src/lib/libpthread/pthread_int.h:215
#2  0x00000000005bf0d6 in GC_wait_marker () at pthread_support.c:1879
#3  0x00000000005b8ce9 in GC_help_marker (my_mark_no=0) at mark.c:1116
#4  0x0000000000000000 in ?? ()
(gdb) thread 3
[Switching to thread 3 (process 462049)]#0  0x00007f7ff707633a in ___lwp_park50 
() from /usr/lib/libc.so.12
(gdb) bt
#0  0x00007f7ff707633a in ___lwp_park50 () from /usr/lib/libc.so.12
#1  0x00007f7ff7408854 in pthread_cond_wait (cond=0x8ccb00, mutex=0x8ccb40) at 
/archive/cvs/src/lib/libpthread/pthread_int.h:215
#2  0x00000000005bf0d6 in GC_wait_marker () at pthread_support.c:1879
#3  0x00000000005b8ce9 in GC_help_marker (my_mark_no=0) at mark.c:1116
#4  0x0000000000000000 in ?? ()
(gdb) thread 4
[Switching to thread 4 (process 396513)]#0  0x00007f7ff707633a in ___lwp_park50 
() from /usr/lib/libc.so.12
(gdb) bt
#0  0x00007f7ff707633a in ___lwp_park50 () from /usr/lib/libc.so.12
#1  0x00007f7ff7408854 in pthread_cond_wait (cond=0x8ccb00, mutex=0x8ccb40) at 
/archive/cvs/src/lib/libpthread/pthread_int.h:215
#2  0x00000000005bf0d6 in GC_wait_marker () at pthread_support.c:1879
#3  0x00000000005b8ce9 in GC_help_marker (my_mark_no=0) at mark.c:1116
#4  0x0000000000000000 in ?? ()
(gdb) thread 5
[Switching to thread 5 (process 330977)]#0  0x00007f7ff707633a in ___lwp_park50 
() from /usr/lib/libc.so.12
(gdb) bt
#0  0x00007f7ff707633a in ___lwp_park50 () from /usr/lib/libc.so.12
#1  0x00007f7ff7408854 in pthread_cond_wait (cond=0x8ccb00, mutex=0x8ccb40) at 
/archive/cvs/src/lib/libpthread/pthread_int.h:215
#2  0x00000000005bf0d6 in GC_wait_marker () at pthread_support.c:1879
#3  0x00000000005b8ce9 in GC_help_marker (my_mark_no=0) at mark.c:1116
#4  0x0000000000000000 in ?? ()
(gdb) thread 6
[Switching to thread 6 (process 265441)]#0  0x00007f7ff707633a in ___lwp_park50 
() from /usr/lib/libc.so.12
(gdb) bt
#0  0x00007f7ff707633a in ___lwp_park50 () from /usr/lib/libc.so.12
#1  0x00007f7ff7408854 in pthread_cond_wait (cond=0x8ccb00, mutex=0x8ccb40) at 
/archive/cvs/src/lib/libpthread/pthread_int.h:215
#2  0x00000000005bf0d6 in GC_wait_marker () at pthread_support.c:1879
#3  0x00000000005b8ce9 in GC_help_marker (my_mark_no=0) at mark.c:1116
#4  0x0000000000000000 in ?? ()
(gdb) thread 7
[Switching to thread 7 (process 199905)]#0  0x00007f7ff707633a in ___lwp_park50 
() from /usr/lib/libc.so.12
(gdb) bt
#0  0x00007f7ff707633a in ___lwp_park50 () from /usr/lib/libc.so.12
#1  0x00007f7ff7408854 in pthread_cond_wait (cond=0x8ccb00, mutex=0x8ccb40) at 
/archive/cvs/src/lib/libpthread/pthread_int.h:215
#2  0x00000000005bf0d6 in GC_wait_marker () at pthread_support.c:1879
#3  0x00000000005b8ce9 in GC_help_marker (my_mark_no=0) at mark.c:1116
#4  0x0000000000000000 in ?? ()
(gdb) thread 8
[Switching to thread 8 (process 134369)]#0  GC_help_marker (my_mark_no=0) at 
mark.c:1107
1107    {
(gdb) bt
#0  GC_help_marker (my_mark_no=0) at mark.c:1107
#1  0x00000000005bde93 in GC_mark_thread (id=<value optimized out>) at 
pthread_support.c:552
#2  0x00007f7ff7409cd5 in pthread__create_tramp (cookie=0x7f7ff6800000) at 
/archive/cvs/src/lib/libpthread/pthread.c:643
#3  0x00007f7ff7076350 in ___lwp_park50 () from /usr/lib/libc.so.12
Cannot access memory at address 0x7f7ff6c00000
(gdb) thread 9
Thread ID 9 not known.

 Thomas

> christos
> | 
> | # find . -name gmcs                                                         
>    
> | ./runtime/_tmpinst/bin/gmcs
> | # cat ./runtime/_tmpinst/bin/gmcs
> | #! /bin/sh
> | exec "/scratch/lang/mono/work/mono-2.10.2/runtime/_tmpinst/bin/mono" 
> "/scratch/lang/mono/work/mono-2.10.2/mcs/class/lib/net_2_0/gmcs.exe" "$@"
> | # ./runtime/_tmpinst/bin/gmcs      
> | Abort (core dumped) 
> | # gdb /scratch/lang/mono/work/mono-2.10.2/runtime/_tmpinst/bin/mono 
> mono.core                                                                     
>                                                                  
> | GNU gdb 6.5
> | Copyright (C) 2006 Free Software Foundation, Inc.
> | GDB is free software, covered by the GNU General Public License, and you are
> | welcome to change it and/or distribute copies of it under certain 
> conditions.
> | Type "show copying" to see the conditions.
> | There is absolutely no warranty for GDB.  Type "show warranty" for details.
> | This GDB was configured as 
> "x86_64--netbsd"..."/scratch/lang/mono/work/mono-2.10.2/runtime/_tmpinst/bin/mono":
>  not in executable format: File format not recognized
> | 
> | Core was generated by `mono'.
> | Program terminated with signal 6, Aborted.
> | #0  0x00007f7ff70ebd2a in ?? ()
> | (gdb) bt
> | #0  0x00007f7ff70ebd2a in ?? ()
> -- End of excerpt from Thomas Klausner
> 


Home | Main Index | Thread Index | Old Index