public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/27713] New: debug symbols are present, but still getting "No symbol table info available."
@ 2021-04-09 15:49 nagyt at nexus dot hu
2021-04-09 16:34 ` [Bug gdb/27713] " schwab@linux-m68k.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: nagyt at nexus dot hu @ 2021-04-09 15:49 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27713
Bug ID: 27713
Summary: debug symbols are present, but still getting "No
symbol table info available."
Product: gdb
Version: 10.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: nagyt at nexus dot hu
Target Milestone: ---
I compiled mxnet with debug symbols on aarch64 with gcc 7.5 (gcc (Ubuntu/Linaro
7.5.0-3ubuntu1~18.04) 7.5.0). I confirmed the existance of debug symbols with
both "readelf" and gdb "i sharedlib", I definitely have the debug symbols.
readelf output: https://pastebin.com/S7aPScLK
info sharedlib output: https://pastebin.com/iYpCR5qb
However whenever I switch to a frame in libmxnet.so, and do "info locals" I get
a "No symbol table info available." error message.
I uploaded the full backtrace for all threads here:
threads apply all bt f: https://pastebin.com/ptDLYY71
You can see that every mxnet row gets the same error message.
"No symbol table info available."
I also tried to do info locals on frame 5 (thread 1) and I got the same error
there too.
(gdb) f 5
#5 0x0000007f82668db4 in MXNDArraySyncCopyToCPU () from
/home/ubuntu/.cache/pypoetry/virtualenvs/genesis-jXhRyLa0-py3.7/lib/python3.7/site-packages/mxnet/libmxnet.so
(gdb) info locals
No symbol table info available.
I tried this with the official gdb 10.1 and also the ubuntu delivered "GNU gdb
(Ubuntu 8.1.1-0ubuntu1) 8.1.1".
(There were a few differences: i.e. gdb 8.1.1 could show "info locals" for
frame #0 and #1 (Thread #1). gdb 10.1 showed the error message for these frames
too as you can see in the above file. However these frames have nothing to do
with mxnet)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug gdb/27713] debug symbols are present, but still getting "No symbol table info available."
2021-04-09 15:49 [Bug gdb/27713] New: debug symbols are present, but still getting "No symbol table info available." nagyt at nexus dot hu
@ 2021-04-09 16:34 ` schwab@linux-m68k.org
2021-04-09 17:13 ` nagyt at nexus dot hu
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: schwab@linux-m68k.org @ 2021-04-09 16:34 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27713
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
The presence of debug info doesn't mean that it is detailed enough, or that
every part of the object is covered.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug gdb/27713] debug symbols are present, but still getting "No symbol table info available."
2021-04-09 15:49 [Bug gdb/27713] New: debug symbols are present, but still getting "No symbol table info available." nagyt at nexus dot hu
2021-04-09 16:34 ` [Bug gdb/27713] " schwab@linux-m68k.org
@ 2021-04-09 17:13 ` nagyt at nexus dot hu
2021-04-13 1:16 ` tromey at sourceware dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: nagyt at nexus dot hu @ 2021-04-09 17:13 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27713
--- Comment #2 from winnie <nagyt at nexus dot hu> ---
Hi Andreas,
Thank you for your reply. So what can I do in order to check if "it is
detailed enough, or that every part of the object is covered." Since I'm
struggling with this for a while now, I am happy to provide any information in
order to understand what's going on.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug gdb/27713] debug symbols are present, but still getting "No symbol table info available."
2021-04-09 15:49 [Bug gdb/27713] New: debug symbols are present, but still getting "No symbol table info available." nagyt at nexus dot hu
2021-04-09 16:34 ` [Bug gdb/27713] " schwab@linux-m68k.org
2021-04-09 17:13 ` nagyt at nexus dot hu
@ 2021-04-13 1:16 ` tromey at sourceware dot org
2021-04-14 9:50 ` nagyt at nexus dot hu
2021-04-14 13:00 ` tromey at sourceware dot org
4 siblings, 0 replies; 6+ messages in thread
From: tromey at sourceware dot org @ 2021-04-13 1:16 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27713
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org
--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
(In reply to winnie from comment #2)
> Hi Andreas,
> Thank you for your reply. So what can I do in order to check if "it is
> detailed enough, or that every part of the object is covered." Since I'm
> struggling with this for a while now, I am happy to provide any information
> in order to understand what's going on.
What I would normally do is use "readelf -wi" (or equivalent formulation
for objdump) and pipe through a pager, then search for the particular
compilation unit I'm interested in.
Like, does "MXNDArraySyncCopyToCPU" appear?
One typical failure mode is to have some particular file compiled
without debuginfo, maybe it was missed by "make clean" or something like that.
gdb could be a bit more helpful in diagnosing this situation.
Though of course, without debuginfo it can't supply source file
names, so maybe the best it could do is some kind of generic warning.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug gdb/27713] debug symbols are present, but still getting "No symbol table info available."
2021-04-09 15:49 [Bug gdb/27713] New: debug symbols are present, but still getting "No symbol table info available." nagyt at nexus dot hu
` (2 preceding siblings ...)
2021-04-13 1:16 ` tromey at sourceware dot org
@ 2021-04-14 9:50 ` nagyt at nexus dot hu
2021-04-14 13:00 ` tromey at sourceware dot org
4 siblings, 0 replies; 6+ messages in thread
From: nagyt at nexus dot hu @ 2021-04-14 9:50 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27713
--- Comment #4 from winnie <nagyt at nexus dot hu> ---
Thank you Tom. The MXNDArraySyncCopyToCPU was not in the output of readelf. I
managed to compile a new version that has it. Now I have to wait it for hanging
again, but I think I will be fine from this point, so I guess this ticket can
be closed. Thank you again!
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug gdb/27713] debug symbols are present, but still getting "No symbol table info available."
2021-04-09 15:49 [Bug gdb/27713] New: debug symbols are present, but still getting "No symbol table info available." nagyt at nexus dot hu
` (3 preceding siblings ...)
2021-04-14 9:50 ` nagyt at nexus dot hu
@ 2021-04-14 13:00 ` tromey at sourceware dot org
4 siblings, 0 replies; 6+ messages in thread
From: tromey at sourceware dot org @ 2021-04-14 13:00 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27713
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |NOTABUG
--- Comment #5 from Tom Tromey <tromey at sourceware dot org> ---
Thanks for the report.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-04-14 13:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-09 15:49 [Bug gdb/27713] New: debug symbols are present, but still getting "No symbol table info available." nagyt at nexus dot hu
2021-04-09 16:34 ` [Bug gdb/27713] " schwab@linux-m68k.org
2021-04-09 17:13 ` nagyt at nexus dot hu
2021-04-13 1:16 ` tromey at sourceware dot org
2021-04-14 9:50 ` nagyt at nexus dot hu
2021-04-14 13:00 ` tromey at sourceware dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).