public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/26327] New: GDB hangs in get_builder() due to recursive ancestor pointers
@ 2020-07-31 23:54 d.c.ddcc at gmail dot com
  2020-07-31 23:55 ` [Bug symtab/26327] " d.c.ddcc at gmail dot com
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: d.c.ddcc at gmail dot com @ 2020-07-31 23:54 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 26327
           Summary: GDB hangs in get_builder() due to recursive ancestor
                    pointers
           Product: gdb
           Version: HEAD
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: symtab
          Assignee: unassigned at sourceware dot org
          Reporter: d.c.ddcc at gmail dot com
  Target Milestone: ---

With recent versions of gdb (somewhere around 8.x to 10.0.50.20200731-git),
I've noticed that GDB sometimes hangs when debugging C++ programs compiled with
Clang/LLVM 10.0.1. This can occur either initially when reading symbols, or
during debugging after a breakpoint fires.

I noticed a workaround was sent previously: "Fixing get_builder() function in
dwarf2/read.c", which appears to be for the same problem. I don't know what the
correct solution is wrt parsing DWARF symbols, but I'm experiencing similar
symptoms, and my stacktrace looks similar to the second one sent out by Slava.

I can provide the binary (~9MB), but not the direct source (it's 447.dealII
from SPEC CPU2006).

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

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

end of thread, other threads:[~2021-06-16 10:51 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-31 23:54 [Bug symtab/26327] New: GDB hangs in get_builder() due to recursive ancestor pointers d.c.ddcc at gmail dot com
2020-07-31 23:55 ` [Bug symtab/26327] " d.c.ddcc at gmail dot com
2020-07-31 23:59 ` d.c.ddcc at gmail dot com
2020-08-01  9:16 ` vries at gcc dot gnu.org
2020-08-01 12:52 ` simark at simark dot ca
2020-08-01 21:58 ` d.c.ddcc at gmail dot com
2020-08-01 22:02 ` d.c.ddcc at gmail dot com
2020-08-01 22:20 ` simark at simark dot ca
2020-10-19 12:21 ` vries at gcc dot gnu.org
2020-10-29 14:42 ` vries at gcc dot gnu.org
2020-11-07 21:43 ` d.c.ddcc at gmail dot com
2021-04-14 14:25 ` sourceware-bugzilla at mac dot mcrowe.com
2021-05-05 12:46 ` rguenth at gcc dot gnu.org
2021-05-05 12:49 ` rguenth at gcc dot gnu.org
2021-05-05 15:51 ` vries at gcc dot gnu.org
2021-05-05 16:59 ` vries at gcc dot gnu.org
2021-05-06  8:11 ` rguenth at gcc dot gnu.org
2021-05-06 12:16 ` vries at gcc dot gnu.org
2021-05-07 10:13 ` cvs-commit at gcc dot gnu.org
2021-05-07 10:14 ` vries at gcc dot gnu.org
2021-05-12 14:04 ` vries at gcc dot gnu.org
2021-05-21 16:13 ` giecrilj at stegny dot 2a.pl
2021-06-09 16:24 ` vries at gcc dot gnu.org
2021-06-16 10:44 ` cvs-commit at gcc dot gnu.org
2021-06-16 10:51 ` vries at gcc dot gnu.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).