* [Bug gdb/30240] (linux/aarch) thread.c:86: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed.
2023-03-17 15:49 [Bug gdb/30240] New: (linux/aarch) thread.c:86: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed dmitry.neverov at jetbrains dot com
@ 2023-03-17 17:18 ` simark at simark dot ca
2023-03-17 17:34 ` luis.machado at arm dot com
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: simark at simark dot ca @ 2023-03-17 17:18 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30240
Simon Marchi <simark at simark dot ca> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Assignee|unassigned at sourceware dot org |luis.machado at arm dot com
Ever confirmed|0 |1
CC| |luis.machado at arm dot com,
| |simark at simark dot ca
Last reconfirmed| |2023-03-17
--- Comment #1 from Simon Marchi <simark at simark dot ca> ---
I think this is being addressed here:
https://inbox.sourceware.org/gdb-patches/20230316103904.1947447-1-luis.machado@arm.com/
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug gdb/30240] (linux/aarch) thread.c:86: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed.
2023-03-17 15:49 [Bug gdb/30240] New: (linux/aarch) thread.c:86: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed dmitry.neverov at jetbrains dot com
2023-03-17 17:18 ` [Bug gdb/30240] " simark at simark dot ca
@ 2023-03-17 17:34 ` luis.machado at arm dot com
2023-03-17 17:36 ` luis.machado at arm dot com
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: luis.machado at arm dot com @ 2023-03-17 17:34 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30240
--- Comment #2 from Luis Machado <luis.machado at arm dot com> ---
Just to confirm, does the target machine support Pointer Authentication? When
you say mac, is this M2-based?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug gdb/30240] (linux/aarch) thread.c:86: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed.
2023-03-17 15:49 [Bug gdb/30240] New: (linux/aarch) thread.c:86: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed dmitry.neverov at jetbrains dot com
2023-03-17 17:18 ` [Bug gdb/30240] " simark at simark dot ca
2023-03-17 17:34 ` luis.machado at arm dot com
@ 2023-03-17 17:36 ` luis.machado at arm dot com
2023-03-20 8:28 ` dmitry.neverov at jetbrains dot com
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: luis.machado at arm dot com @ 2023-03-17 17:36 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30240
--- Comment #3 from Luis Machado <luis.machado at arm dot com> ---
For the record, I've seen this particular internal error happening in other
cases, so it may not be exactly the issue with pauth handling for the aarch64
backend, hence why I wanted to confirm.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug gdb/30240] (linux/aarch) thread.c:86: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed.
2023-03-17 15:49 [Bug gdb/30240] New: (linux/aarch) thread.c:86: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed dmitry.neverov at jetbrains dot com
` (2 preceding siblings ...)
2023-03-17 17:36 ` luis.machado at arm dot com
@ 2023-03-20 8:28 ` dmitry.neverov at jetbrains dot com
2023-03-23 10:45 ` luis.machado at arm dot com
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dmitry.neverov at jetbrains dot com @ 2023-03-20 8:28 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30240
--- Comment #4 from Dmitry Neverov <dmitry.neverov at jetbrains dot com> ---
I use Apple M1 Max. According to [1], Pointer Authentication is disabled by
default and I didn't enable it. The document says it should work inside a linux
VM anyway. Disasm for main or _start doesn't contain any pacio/autia
instructions.
[1]:
https://github.com/lelegard/arm-cpusysregs/blob/main/docs/arm64e-on-macos.md
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug gdb/30240] (linux/aarch) thread.c:86: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed.
2023-03-17 15:49 [Bug gdb/30240] New: (linux/aarch) thread.c:86: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed dmitry.neverov at jetbrains dot com
` (3 preceding siblings ...)
2023-03-20 8:28 ` dmitry.neverov at jetbrains dot com
@ 2023-03-23 10:45 ` luis.machado at arm dot com
2023-03-27 5:31 ` luis.machado at arm dot com
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: luis.machado at arm dot com @ 2023-03-23 10:45 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30240
--- Comment #5 from Luis Machado <luis.machado at arm dot com> ---
Thanks for the info. For the pauth-related problem, a fix is under review and
should hopefully make its way to master and gdb 13 soon.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug gdb/30240] (linux/aarch) thread.c:86: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed.
2023-03-17 15:49 [Bug gdb/30240] New: (linux/aarch) thread.c:86: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed dmitry.neverov at jetbrains dot com
` (4 preceding siblings ...)
2023-03-23 10:45 ` luis.machado at arm dot com
@ 2023-03-27 5:31 ` luis.machado at arm dot com
2023-03-31 8:33 ` dmitry.neverov at jetbrains dot com
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: luis.machado at arm dot com @ 2023-03-27 5:31 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30240
Luis Machado <luis.machado at arm dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |WAITING
--- Comment #6 from Luis Machado <luis.machado at arm dot com> ---
I've pushed a fix to gdb master and gdb 13 for the pauth issue. Could you
please verify it works now (if this is the bug you were hitting).
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug gdb/30240] (linux/aarch) thread.c:86: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed.
2023-03-17 15:49 [Bug gdb/30240] New: (linux/aarch) thread.c:86: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed dmitry.neverov at jetbrains dot com
` (5 preceding siblings ...)
2023-03-27 5:31 ` luis.machado at arm dot com
@ 2023-03-31 8:33 ` dmitry.neverov at jetbrains dot com
2023-04-03 8:21 ` luis.machado at arm dot com
2023-05-08 1:12 ` brobecker at gnat dot com
8 siblings, 0 replies; 10+ messages in thread
From: dmitry.neverov at jetbrains dot com @ 2023-03-31 8:33 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30240
--- Comment #7 from Dmitry Neverov <dmitry.neverov at jetbrains dot com> ---
Tried the commit 6967633c8b4902a7576e64c4ecf2ab6098c888f0, and it works! Thank
you!
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug gdb/30240] (linux/aarch) thread.c:86: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed.
2023-03-17 15:49 [Bug gdb/30240] New: (linux/aarch) thread.c:86: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed dmitry.neverov at jetbrains dot com
` (6 preceding siblings ...)
2023-03-31 8:33 ` dmitry.neverov at jetbrains dot com
@ 2023-04-03 8:21 ` luis.machado at arm dot com
2023-05-08 1:12 ` brobecker at gnat dot com
8 siblings, 0 replies; 10+ messages in thread
From: luis.machado at arm dot com @ 2023-04-03 8:21 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30240
Luis Machado <luis.machado at arm dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|WAITING |RESOLVED
--- Comment #8 from Luis Machado <luis.machado at arm dot com> ---
Great. I'm closing this one then. Please let us know if you see something off.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug gdb/30240] (linux/aarch) thread.c:86: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed.
2023-03-17 15:49 [Bug gdb/30240] New: (linux/aarch) thread.c:86: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed dmitry.neverov at jetbrains dot com
` (7 preceding siblings ...)
2023-04-03 8:21 ` luis.machado at arm dot com
@ 2023-05-08 1:12 ` brobecker at gnat dot com
8 siblings, 0 replies; 10+ messages in thread
From: brobecker at gnat dot com @ 2023-05-08 1:12 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30240
Joel Brobecker <brobecker at gnat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |13.2
CC| |brobecker at gnat dot com
--- Comment #9 from Joel Brobecker <brobecker at gnat dot com> ---
Setting the target milestone to 13.2 as a way to record that this fix was
included in the upcoming GDB 13.2 release.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread