All of lore.kernel.org
 help / color / mirror / Atom feed
* Why gdb can't find symbol table when trying to debug ceph?
@ 2016-11-19 11:00 xxhdx1985126
  2016-11-20  1:51 ` huang jun
  0 siblings, 1 reply; 9+ messages in thread
From: xxhdx1985126 @ 2016-11-19 11:00 UTC (permalink / raw)
  To: ceph-devel


Hi, everyone.


I'm trying to fix a problem in ceph using its core file and gdb.
gdb successfully loaded debug symbol from ceph-debuginfo:


Reading symbols from /usr/bin/ceph-osd...Reading symbols from /usr/lib/debug/usr/bin/ceph-osd.debug...done.


However, it still can't find the symbol table when I use "bt" to trace the stack:


#0  0x000000393da0f65b in ?? ()
No symbol table info available.
#1  0x0000000000a51636 in install_standard_sighandlers () at global/signal_handler.cc:121
No locals.
#2  0x00007fc7a77f9ed0 in ?? ()
No symbol table info available.
#3  0x00007fc7a77f9e10 in ?? ()
No symbol table info available.
#4  0x00007fc7a77f9b90 in ?? ()
No symbol table info available.
#5  0x00007fc66d3142e0 in ?? ()
No symbol table info available.
#6  0x00007fc7fac64100 in ?? ()
No symbol table info available.
#7  0x0000003900000000 in ?? ()
No symbol table info available.
#8  0x0000000000a51155 in SignalHandler::unregister_handler (this=0x1105440, signum=<value optimized out>, handler=<value optimized out>) at global/signal_handler.cc:317
No locals.
#9  0x000000393eabcc33 in ?? ()
No symbol table info available.
#10 0x000000393eabcd2e in ?? ()
No symbol table info available.


Why is this happening?


PS: when gdb started running, it prompted the following warning:


BFD: Warning: /home/xuxuehan/online_problems.2016-11-19.7-01/core-ceph-osd-6-32337-32337-19906-1479510049 is truncated: expected core file size >= 8372899840, found: 7439335424


Could this be the cause of gdb not finding the symbol table?

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-11-30 18:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-19 11:00 Why gdb can't find symbol table when trying to debug ceph? xxhdx1985126
2016-11-20  1:51 ` huang jun
2016-11-20  7:20   ` xxhdx1985126
2016-11-20  7:28     ` huang jun
2016-11-20  7:29       ` xxhdx1985126
2016-11-20  7:40         ` huang jun
2016-11-20 10:29           ` xxhdx1985126
2016-11-21  0:59             ` Brad Hubbard
2016-11-30 18:16               ` Kamble, Nitin A

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.