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/29805] New: [gdb.symtab] FAIL: gdb.threads/access-mem-running-thread-exit.exp: all-stop: access mem (write to global_var, inf=2, iter=1) (GDB internal error)
Date: Fri, 18 Nov 2022 16:10:37 +0000	[thread overview]
Message-ID: <bug-29805-4717@http.sourceware.org/bugzilla/> (raw)

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

            Bug ID: 29805
           Summary: [gdb.symtab] FAIL:
                    gdb.threads/access-mem-running-thread-exit.exp:
                    all-stop: access mem (write to global_var, inf=2,
                    iter=1) (GDB internal error)
           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: ---

On powerpc64le-linux, I ran into a gdb internal error:
...
(gdb) could not find '.gnu_debugaltlink' file for
/usr/lib/debug/lib64/libgcc_s.so.1-11.3.0+git1637-150000.1.11.2.ppc64le.debug^M
inferior 2^M
[Switching to inferior 2 [process 56507]
(/suse/tdevries/gdb/build/gdb/testsuite/outputs/gdb.threads/access-mem-running-thread-exit/access-mem-running-thread-exit)]^M
[Switching to thread 2.1 (Thread 0x7ffff7ff3d90 (LWP 56507))](running)^M
(gdb) /suse/tdevries/gdb/src/gdb/dwarf2/read.c:7284: internal-error:
create_all_units: Assertion `per_objfile->per_bfd->all_units.empty ()'
failed.^M
A problem internal to GDB has been detected,^M
further debugging may prove unreliable.^M
----- Backtrace -----^M
FAIL: gdb.threads/access-mem-running-thread-exit.exp: all-stop: access mem
(write to global_var, inf=2, iter=1) (GDB internal error)
...

The circumstances are a bit peculiar, I messed around with debug packages and
broke the .gnu_debugaltlink for libgcc_s.so.1.  Still, we shouldn't abort.

I'll try to reproduce on x86_64-linux.

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

             reply	other threads:[~2022-11-18 16:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-18 16:10 vries at gcc dot gnu.org [this message]
2022-11-18 17:32 ` [Bug symtab/29805] " vries at gcc dot gnu.org
2022-11-18 17:43 ` vries at gcc dot gnu.org
2022-11-18 17:43 ` [Bug symtab/29805] [gdb/symtab] " vries at gcc dot gnu.org
2022-11-19  6:30 ` vries at gcc dot gnu.org
2022-11-19 10:33 ` vries at gcc dot gnu.org
2022-11-26 13:13 ` cvs-commit at gcc dot gnu.org
2022-11-26 13:14 ` 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-29805-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: link
Be 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).