public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/15691] New: gdb crash from "Stay in DWO optimization"
@ 2013-06-27 18:20 dje at google dot com
  2013-06-27 19:32 ` [Bug symtab/15691] " dje at google dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dje at google dot com @ 2013-06-27 18:20 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=15691

            Bug ID: 15691
           Summary: gdb crash from "Stay in DWO optimization"
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: symtab
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

When debugging a program with a mix of fission and non-fission object files,
gdb can crash here:

../../gdb-7.6.x/gdb/dwarf2read.c:4482: internal-error:
fill_in_sig_entry_from_dwo_entry: Assertion `sig_entry->per_cu.v.quick->symtab
== NULL' failed.

This happens when a TU from a non-DWO file is read first, and then gdb reads
debug info from a DWO file.  gdb thinks the debug info hasn't been read yet
when in fact it has.

[patch,testcase to follow]

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


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

end of thread, other threads:[~2024-01-11 16:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-27 18:20 [Bug symtab/15691] New: gdb crash from "Stay in DWO optimization" dje at google dot com
2013-06-27 19:32 ` [Bug symtab/15691] " dje at google dot com
2013-08-02  0:33 ` cvs-commit at gcc dot gnu.org
2024-01-11 16:41 ` ssbssa 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).