public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug cli/30487] New: M1 asahi internal error
@ 2023-05-24 17:44 edvardsire at protonmail dot com
  2023-05-25 13:25 ` [Bug cli/30487] " tromey at sourceware dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: edvardsire at protonmail dot com @ 2023-05-24 17:44 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 30487
           Summary: M1 asahi internal error
           Product: gdb
           Version: 13.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: cli
          Assignee: unassigned at sourceware dot org
          Reporter: edvardsire at protonmail dot com
  Target Milestone: ---

Hello, GDB isn't working on fresh install. Directions would be appreciated :)

Linux version 6.2.0-asahi-11-1-edge-ARCH (linux-asahi@archlinux) (gcc (GCC)
12.1.0, GNU ld (GNU Binutils) 2.

GNU gdb (GDB) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
(gdb) r
Starting program: /home/<>/program
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
../../gdb/thread.c:85: internal-error: inferior_thread: Assertion
`current_thread_ != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
----- Backtrace -----
0xaaab7b1d0fef ???
0xaaab7b63875f ???
0xaaab7b638a03 ???
0xaaab7b7d37d3 ???
0xaaab7b5de5a7 ???
0xaaab7b5def9f ???
0xaaab7b505d73 ???
0xaaab7b0ec77b ???
0xaaab7b5d691f ???
0xaaab7b5d6f5f ???
0xaaab7b5d7013 ???
0xaaab7b48c00f ???
0xffff31eb5937 ???
0xffff31eb229f ???
0xaaab7b3fd767 ???
0xaaab7b3ff0b7 ???
0xaaab7b5da63f ???
0xaaab7b3b39d7 ???
0xaaab7b3c448f ???
0xaaab7b7d3cf7 ???
0xaaab7b7d495f ???
0xaaab7b41303f ???
0xaaab7b415263 ???
0xaaab7b0e0f1f ???
0xffff4df07b7f ???
0xffff4df07c5f ???
0xaaab7b0e8c6f ???
0xffffffffffffffff ???
---------------------
../../gdb/thread.c:85: internal-error: inferior_thread: Assertion
`current_thread_ != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.

-- 
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 cli/30487] M1 asahi internal error
  2023-05-24 17:44 [Bug cli/30487] New: M1 asahi internal error edvardsire at protonmail dot com
@ 2023-05-25 13:25 ` tromey at sourceware dot org
  2023-05-25 15:37 ` edvardsire at protonmail dot com
  2023-05-26  1:32 ` tromey at sourceware dot org
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at sourceware dot org @ 2023-05-25 13:25 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at sourceware dot org
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2023-05-25

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
Without more information it is hard to know what's wrong.

Can you post the output of gdb --config?

Also can you rebuild gdb with debug info so that the stack
trace shows the function names?

-- 
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 cli/30487] M1 asahi internal error
  2023-05-24 17:44 [Bug cli/30487] New: M1 asahi internal error edvardsire at protonmail dot com
  2023-05-25 13:25 ` [Bug cli/30487] " tromey at sourceware dot org
@ 2023-05-25 15:37 ` edvardsire at protonmail dot com
  2023-05-26  1:32 ` tromey at sourceware dot org
  2 siblings, 0 replies; 4+ messages in thread
From: edvardsire at protonmail dot com @ 2023-05-25 15:37 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from EdvardSire <edvardsire at protonmail dot com> ---
Thank you for responding. After building 14.0.50.20230525-git from source I'm
no longer receiving errors. I didn't build the 13.1 version myself so maybe it
was a distribution problem rather than a GDB issue? And since the upstream is
working i assume there is no point in figuring out the 13.1 problems?

-- 
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 cli/30487] M1 asahi internal error
  2023-05-24 17:44 [Bug cli/30487] New: M1 asahi internal error edvardsire at protonmail dot com
  2023-05-25 13:25 ` [Bug cli/30487] " tromey at sourceware dot org
  2023-05-25 15:37 ` edvardsire at protonmail dot com
@ 2023-05-26  1:32 ` tromey at sourceware dot org
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at sourceware dot org @ 2023-05-26  1:32 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |14.1
         Resolution|---                         |FIXED
             Status|WAITING                     |RESOLVED

--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
(In reply to EdvardSire from comment #2)
> Thank you for responding. After building 14.0.50.20230525-git from source
> I'm no longer receiving errors.

Super.

> I didn't build the 13.1 version myself so
> maybe it was a distribution problem rather than a GDB issue? And since the
> upstream is working i assume there is no point in figuring out the 13.1
> problems?

There will be a 13.2 release but unless the fix is identified relatively
quickly, and is small, we probably would miss the window.
I think I'll just close this.

FWIW it probably is a gdb bug and not a distro bug, but it's hard to
know for certain without digging.

-- 
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:[~2023-05-26  1:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-24 17:44 [Bug cli/30487] New: M1 asahi internal error edvardsire at protonmail dot com
2023-05-25 13:25 ` [Bug cli/30487] " tromey at sourceware dot org
2023-05-25 15:37 ` edvardsire at protonmail dot com
2023-05-26  1:32 ` tromey 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).