public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/28010] New: ver 10.2 error MacOS/11.4  "../../gdb/thread.c:95: internal-error: struct thread_info *inferior_thread(): Assertion `current_thread_ != nullptr' failed."
@ 2021-06-24 17:17 Samuel.r.warner at me dot com
  2021-06-24 17:19 ` [Bug gdb/28010] " Samuel.r.warner at me dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Samuel.r.warner at me dot com @ 2021-06-24 17:17 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 28010
           Summary: ver 10.2 error MacOS/11.4  "../../gdb/thread.c:95:
                    internal-error: struct thread_info *inferior_thread():
                    Assertion `current_thread_ != nullptr' failed."
           Product: gdb
           Version: HEAD
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: Samuel.r.warner at me dot com
  Target Milestone: ---

MacOs/11.4
GDB 10.2 from Homebrew
using either Eclipse/CDT 2021.06 or command-line

causing error:
(gdb) file
/Users/sam/eclipse-workspace/Eclipse.HelloWorld.MacOS.Gcc/Debug/Eclipse.HelloWorld.MacOS.Gcc
Reading symbols from
/Users/sam/eclipse-workspace/Eclipse.HelloWorld.MacOS.Gcc/Debug/Eclipse.HelloWorld.MacOS.Gcc...
../../gdb/thread.c:95: internal-error: struct thread_info *inferior_thread():
Assertion `current_thread_ != nullptr' failed.

yet, if I elect to not stop, and continue I can set breakpoints and control
execution of the binary:
../../gdb/thread.c:95: internal-error: struct thread_info *inferior_thread():
Assertion `current_thread_ != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) n
Command aborted.
(gdb) b main
Breakpoint 1 at 0x10000270f: file ../src/Eclipse.HelloWorld.MacOS.Gcc.temp.cpp,
line 22.
(gdb) bl
Undefined command: "bl".  Try "help".
(gdb) run
Starting program:
/Users/sam/eclipse-workspace/Eclipse.HelloWorld.MacOS.Gcc/Debug/Eclipse.HelloWorld.MacOS.Gcc 
[New Thread 0x2203 of process 4658]
[New Thread 0x1b03 of process 4658]
warning: unhandled dyld version (17)

Thread 2 hit Breakpoint 1, main (argc=1, argv=0x7ffeefbffa68) at
../src/Eclipse.HelloWorld.MacOS.Gcc.temp.cpp:22
22               mainPhilosopher();

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

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

end of thread, other threads:[~2021-07-02 18:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-24 17:17 [Bug gdb/28010] New: ver 10.2 error MacOS/11.4 "../../gdb/thread.c:95: internal-error: struct thread_info *inferior_thread(): Assertion `current_thread_ != nullptr' failed." Samuel.r.warner at me dot com
2021-06-24 17:19 ` [Bug gdb/28010] " Samuel.r.warner at me dot com
2021-06-24 17:43 ` jonah at kichwacoders dot com
2021-06-25 21:45 ` Samuel.r.warner at me dot com
2021-06-26 18:28 ` Samuel.r.warner at me dot com
2021-07-02 18:47 ` levraiphilippeblain at gmail dot com
2021-07-02 18:55 ` Samuel.r.warner at me dot com

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).