public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug symtab/31772] New: [gdb/symtab] read.c:5339: internal-error: queue_comp_unit: Assertion `per_objfile->queue.has_value ()' failed. Date: Tue, 21 May 2024 10:30:34 +0000 [thread overview] Message-ID: <bug-31772-4717@http.sourceware.org/bugzilla/> (raw) https://sourceware.org/bugzilla/show_bug.cgi?id=31772 Bug ID: 31772 Summary: [gdb/symtab] read.c:5339: internal-error: queue_comp_unit: Assertion `per_objfile->queue.has_value ()' failed. Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: symtab Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- Say we patch the fission board like so: ... diff --git a/gdb/testsuite/boards/fission.exp b/gdb/testsuite/boards/fission.exp index 496fece7991..1001900bfb7 100644 --- a/gdb/testsuite/boards/fission.exp +++ b/gdb/testsuite/boards/fission.exp @@ -30,12 +30,8 @@ set_board_info compiler "[find_gcc]" # Note: -ggnu-pubnames is required for Gold to build .gdb_index, and while # -gsplit-dwarf implies -ggnu-pubnames for gcc, it doesn't for clang. set_board_info debug_flags \ - [join { "-gdwarf-4" \ - "-gsplit-dwarf" \ - "-ggnu-pubnames" \ - "-fdebug-types-section" \ - "-Wl,--gdb-index" \ - "-fuse-ld=gold" }] + [join { "-gdwarf-5" \ + "-gsplit-dwarf" }] # This is needed otherwise dejagnu tries to rsh to host "fission". load_board_description "local-board" ... When running test-case gdb.ada/finish-var-size.exp with gcc-13 we run into: ... (gdb) finish^M Run till exit from #0 pck.get (value=true) at /data/vries/gdb/binutils-gdb.git/gdb/testsuite/gdb.ada/finish-var-size/pck.adb:19^M /data/vries/gdb/src/gdb/dwarf2/read.c:5339: internal-error: queue_comp_unit: Assertion `per_objfile->queue.has_value ()' failed.^M A problem internal to GDB has been detected,^M further debugging may prove unreliable.^M ----- Backtrace -----^M FAIL: gdb.ada/finish-var-size.exp: finish (GDB internal error) ... Likewise in test-case gdb.ada/rec_ptype.exp. -- You are receiving this mail because: You are on the CC list for the bug.
next reply other threads:[~2024-05-21 10:30 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-05-21 10:30 vries at gcc dot gnu.org [this message] 2024-05-21 10:33 ` [Bug symtab/31772] " vries at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-31772-4717@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).