This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bt shows only one frame


On Tue, Dec 02, 2003 at 09:13:41PM +0200, Baurjan Ismagulov wrote:
> I'm trying to debug a core file with gdb 5.3 on AMD64 platform. I expect
> to see the call stack until either main or a signal handler, but bt
> command shows only one line.

I've compiled gdb 6.0 and tried the same core file. Gdb segfaulted:
$ gdb gdb/gdb core
Core was generated by `./gdb/gdb /sbin/blogd /core'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib64/libncurses.so.5...done.
Loaded symbols for /lib64/libncurses.so.5
Reading symbols from /lib64/libm.so.6...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /lib64/libdl.so.2...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/libc.so.6...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libthread_db.so.1...done.
Loaded symbols for /lib64/libthread_db.so.1
#0  0x0000002a95aa38f2 in .strcpyalignloop () from /lib64/libc.so.6
(gdb) bt
#0  0x0000002a95aa38f2 in .strcpyalignloop () from /lib64/libc.so.6
#1  0x00000000401a5dc1 in dcgettext__ (domainname=0x403bd800 "gdb",
    msgid=0x401b4230 "\nwarning: ", category=5) at dcgettext.c:311
#2  0x0000000040039b2e in captured_main (data=0x40243ea5) at main.c:610
#3  0x00000000400c910a in do_catch_errors (uiout=0xbfffee4b, data=0x4022c1ce)
    at top.c:497
#4  0x00000000400c906f in catcher (func=0x400c9100 <do_catch_errors>,
    func_uiout=0x403572e0, func_args=0x7fbffff210, func_val=0x7fbffff208,
    func_caught=0x7fbffff20c, errstring=0x800 <Address 0x800 out of bounds>,
    mask=6) at top.c:429
#5  0x00000000400c9147 in catch_errors (func=0xbfffee4b, func_args=0x4022c1ce,
    errstring=0x2f <Address 0x2f out of bounds>, mask=-16843009) at top.c:509
#6  0x000000004003a394 in gdb_main (args=0xbfffee4b) at main.c:820
#7  0x0000000040039737 in main (argc=-2, argv=0x4022c1ce) at gdb.c:35
#8  0x0000002a95a4d087 in __libc_start_main () from /lib64/libc.so.6
#9  0x000000004003965a in _start ()

Any ideas?

Thanks in advance,
Baurjan.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]