9

There was a core dump produced at the customer end for my application and while looking at the backtrace I don't have the symbols loaded...

(gdb) where
#0  0x000000364c032885 in ?? ()
#1  0x000000364c034065 in ?? ()
#2  0x0000000000000000 in ?? ()
(gdb) bt full
#0  0x000000364c032885 in ?? ()
No symbol table info available.
#1  0x000000364c034065 in ?? ()
No symbol table info available.
#2  0x0000000000000000 in ?? ()
No symbol table info available.

One think I want to mention in here is that the application being used is build with -g option.

To me it seems that the required libraries are not being loaded. I tried to load the libraries manually using the "symbol-file", but this doesn't help.

What could be the possible issue?

1
  • Is this on HPUX or Linux or some other OS? On HPUX and AIX, you need a few more options to get the symbol table.
    – cup
    Commented Jun 14, 2015 at 23:00

3 Answers 3

10

No symbol table info available.

Chances are you invoked GDB incorrectly. Don't do this:

gdb core
gdb -c core

Do this instead:

gdb exename core

Also see this answer for what you'll likely have to do to get meaningful crash stack trace for a core from customer's machine.

2
  • 1
    hey thanks for the rply, Im already using the gdb as suggested earlier.
    – S Raju
    Commented Aug 14, 2012 at 7:16
  • Nope, this isn't the issue for me.
    – Owl
    Commented Aug 29, 2020 at 22:50
1

I was facing a similar issue and later found out that I am missing -g option, Make sure you have compiled the binary with -g.

0

This happens when you run gdb with path to executable that does not correspond to the one that produced the core dump.

Make sure that you provide gdb with the correct path.

<put an example of correct code or commands here>
5
  • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post.
    – James Z
    Commented Jun 14, 2015 at 3:05
  • JamesZ: your comment is pointless. The question was: "What could be the possible issue?" and I have provided one of the possible explanations. I am not stating that my answer should be the most seeked one. But as I was searching the web for the exact same error message I stumbled upon this thread. Initially it did not include the correct answer to my question, but it should, as error message is exactly the same. EDIT: I hit enter too fast:) Commented Jun 14, 2015 at 13:20
  • @BostjanSkufca indeed, their comment is relevant. Your post doesn't give a solution, so it should better be a comment to the question instead. Or at least it looks like not giving a solution, because it starts with "This happened to me". Seasoned SO users kill such phrases on sight. =) The idea of SO is to collect knowledge and solutions if form of some instructins, so it's good to clean your posts from your personal experience ) How to Answer Commented Jun 14, 2015 at 22:41
  • @NickVolynkin thanks for the style edit+comment, much appreciated. Commented Jun 15, 2015 at 15:29
  • @NickVolynkin yeah, I've noticed that instructions in form of babysteps are expected here, but otherwise it is considered inter-professional messaging board :) Commented Jun 15, 2015 at 15:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.