NetBSD-Bugs archive

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

Re: bin/30756 (gdb not usable for live debugging of threaded programs)



The following reply was made to PR bin/30756; it has been noted by GNATS.

From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Cc: 
Subject: Re: bin/30756 (gdb not usable for live debugging of threaded
 programs)
Date: Thu, 20 Sep 2012 14:02:55 +0200

 Oh, here's the backtrace:
 # gdb gdb gdb.core
 ...
 [New process 1]
 Core was generated by `gdb'.
 Program terminated with signal 6, Aborted.
 #0  0x00007f7ff590657a in _lwp_kill () from /usr/lib/libc.so.12
 (gdb) bt
 #0  0x00007f7ff590657a in _lwp_kill () from /usr/lib/libc.so.12
 #1  0x00007f7ff59061e2 in abort () at 
/archive/cvs/src/lib/libc/stdlib/abort.c:74
 #2  0x00000000004995db in dump_core () at 
/archive/cvs/src/external/gpl3/gdb/dist/gdb/utils.c:1053
 #3  0x000000000049a3d2 in internal_vproblem (problem=0x9dc980, file=<optimized 
out>, line=<optimized out>, fmt=<optimized out>, ap=<optimized out>)
     at /archive/cvs/src/external/gpl3/gdb/dist/gdb/utils.c:1221
 #4  0x000000000049a5de in internal_verror (file=<optimized out>, 
line=<optimized out>, fmt=<optimized out>, ap=<optimized out>)
     at /archive/cvs/src/external/gpl3/gdb/dist/gdb/utils.c:1236
 #5  0x000000000049a669 in internal_error (file=0x1 <Address 0x1 out of 
bounds>, line=6, string=0x0) at 
/archive/cvs/src/external/gpl3/gdb/dist/gdb/utils.c:1246
 #6  0x0000000000407edf in inferior_thread () at 
/archive/cvs/src/external/gpl3/gdb/dist/gdb/thread.c:81
 #7  0x00000000004103a1 in normal_stop () at 
/archive/cvs/src/external/gpl3/gdb/dist/gdb/infrun.c:5647
 #8  0x0000000000418bab in attach_command_post_wait (from_tty=1, async_exec=0, 
args=<optimized out>) at 
/archive/cvs/src/external/gpl3/gdb/dist/gdb/infcmd.c:2399
 #9  0x0000000000418dce in attach_command (args=0x7f7ffffff885 "27334", 
from_tty=1) at /archive/cvs/src/external/gpl3/gdb/dist/gdb/infcmd.c:2532
 #10 0x0000000000407966 in catch_command_errors (command=0x418cb7 
<attach_command>, arg=0x7f7ffffff885 "27334", from_tty=1, mask=<optimized out>)
     at /archive/cvs/src/external/gpl3/gdb/dist/gdb/exceptions.c:537
 #11 0x0000000000406628 in captured_main (data=<optimized out>) at 
/archive/cvs/src/external/gpl3/gdb/dist/gdb/main.c:875
 #12 0x00000000004078db in catch_errors (func=0x40593d <captured_main>, 
func_args=0x7f7fffffd590, errstring=0x657fd2 "", mask=<optimized out>)
     at /archive/cvs/src/external/gpl3/gdb/dist/gdb/exceptions.c:521
 #13 0x0000000000406700 in gdb_main (args=<optimized out>) at 
/archive/cvs/src/external/gpl3/gdb/dist/gdb/main.c:945
 #14 0x000000000040576a in main (argc=<optimized out>, argv=<optimized out>) at 
/archive/cvs/src/external/gpl3/gdb/dist/gdb/gdb.c:35
 
  Thomas
 


Home | Main Index | Thread Index | Old Index