All of lore.kernel.org
 help / color / mirror / Atom feed
From: huang jun <hjwsm1989@gmail.com>
To: xxhdx1985126 <xxhdx1985126@163.com>
Cc: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: Why gdb can't find symbol table when trying to debug ceph?
Date: Sun, 20 Nov 2016 09:51:47 +0800	[thread overview]
Message-ID: <CABAwU-aLAisvzEPc25H8=dY-TvTgiN7yCkkZWX-f6Tv=fPAvvw@mail.gmail.com> (raw)
In-Reply-To: <46ed7fdb.45dc.1587c3e763c.Coremail.xxhdx1985126@163.com>

that maybe the reason, do you have the same problem if there is no such warning?

2016-11-19 19:00 GMT+08:00 xxhdx1985126 <xxhdx1985126@163.com>:
>
> 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?



-- 
Thank you!
HuangJun

  reply	other threads:[~2016-11-20  1:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABAwU-aLAisvzEPc25H8=dY-TvTgiN7yCkkZWX-f6Tv=fPAvvw@mail.gmail.com' \
    --to=hjwsm1989@gmail.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=xxhdx1985126@163.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.