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
* [Bug symtab/15691] gdb crash from "Stay in DWO optimization" 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 ` 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 2 siblings, 0 replies; 4+ messages in thread From: dje at google dot com @ 2013-06-27 19:32 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=15691 --- Comment #1 from dje at google dot com --- patch submitted here: http://sourceware.org/ml/gdb-patches/2013-06/msg00840.html -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug symtab/15691] gdb crash from "Stay in DWO optimization" 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 2 siblings, 0 replies; 4+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2013-08-02 0:33 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=15691 --- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- CVSROOT: /cvs/src Module name: src Changes by: devans@sourceware.org 2013-08-02 00:33:07 Modified files: gdb : ChangeLog dwarf2read.c gdb/testsuite : ChangeLog Added files: gdb/testsuite/gdb.dwarf2: fission-mix.c fission-mix.exp fission-mix.h fission-mix2.c Log message: PR symtab/15691 * dwarf2read.c (struct dwarf2_per_cu_data): New member tu_read. (fill_in_sig_entry_from_dwo_entry): Reorganize asserts. Add assert of sig_entry->dwo_unit == NULL. (lookup_dwo_signatured_type): Don't assign TU to a DWO if the TU had already been read. (read_signatured_type): Set per_cu.tu_read. testsuite/ * gdb.dwarf2/fission-mix.exp: New file. * gdb.dwarf2/fission-mix.h: New file. * gdb.dwarf2/fission-mix.c: New file. * gdb.dwarf2/fission-mix2.c: New file. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15858&r2=1.15859 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/dwarf2read.c.diff?cvsroot=src&r1=1.820&r2=1.821 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3756&r2=1.3757 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/fission-mix.c.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/fission-mix.exp.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/fission-mix.h.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/fission-mix2.c.diff?cvsroot=src&r1=NONE&r2=1.1 -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug symtab/15691] gdb crash from "Stay in DWO optimization" 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 2 siblings, 0 replies; 4+ messages in thread From: ssbssa at sourceware dot org @ 2024-01-11 16:41 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=15691 Hannes Domani <ssbssa at sourceware dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Target Milestone|--- |7.7 CC| |ssbssa at sourceware dot org Resolution|--- |FIXED --- Comment #3 from Hannes Domani <ssbssa at sourceware dot org> --- Fixed since gdb-7.7. -- 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).