public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/29159] New: gdb crashes when libstdc++ debuginfo is present but .dwz is missing
@ 2022-05-20  0:38 amerey at redhat dot com
  2024-04-06 15:37 ` [Bug gdb/29159] " tromey at sourceware dot org
  0 siblings, 1 reply; 2+ messages in thread
From: amerey at redhat dot com @ 2022-05-20  0:38 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29159

            Bug ID: 29159
           Summary: gdb crashes when libstdc++ debuginfo is present but
                    .dwz is missing
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: amerey at redhat dot com
  Target Milestone: ---

gdb crashes when libstdc++ debuginfo is present but the libstdc++ .dwz file is
missing.

This condition can be triggered by installing the libstdc++ debuginfo package
and manually moving the .dwz file so gdb can't find it.  Alternatively, allow
debuginfod to download the libstdc++ debuginfo but cancel the .dwz file
download (press ctrl-c during the download).

Steps to Reproduce:
$ gdb -ex 'run' gdb
[...]
Downloading separate debug info for /lib64/libstdc++.so.6...
Downloading separate debug info for
/home/amerey/.cache/debuginfod_client/36f7946c2608f3e08b11ec0af0b63055a39c89f3/debuginfo...
Cancelling download of separate debug info for
/home/amerey/.cache/debuginfod_client/36f7946c2608f3e08b11ec0af0b63055a39c89f3/debuginfo...
[...]
Starting program: /usr/bin/gdb 
Error while reading shared library symbols for /lib64/libstdc++.so.6:
could not find '.gnu_debugaltlink' file for
/home/amerey/.cache/debuginfod_client/36f7946c2608f3e08b11ec0af0b63055a39c89f3/debuginfo
[...]
double free or corruption (!prev)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2024-04-06 15:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-20  0:38 [Bug gdb/29159] New: gdb crashes when libstdc++ debuginfo is present but .dwz is missing amerey at redhat dot com
2024-04-06 15:37 ` [Bug gdb/29159] " 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).