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

* [Bug gdb/28010] 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 [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 ` Samuel.r.warner at me dot com
  2021-06-24 17:43 ` jonah at kichwacoders dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Samuel.r.warner at me dot com @ 2021-06-24 17:19 UTC (permalink / raw)
  To: gdb-prs

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

Sam Warner <Samuel.r.warner at me dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Samuel.r.warner at me dot com
           Priority|P2                          |P1
              Build|                            |10.2
             Target|                            |x86-64
               Host|                            |OS-x 11.4

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

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

* [Bug gdb/28010] 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 [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
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jonah at kichwacoders dot com @ 2021-06-24 17:43 UTC (permalink / raw)
  To: gdb-prs

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

Jonah Graham <jonah at kichwacoders dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonah at kichwacoders dot com

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

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

* [Bug gdb/28010] 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 [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
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Samuel.r.warner at me dot com @ 2021-06-25 21:45 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from Sam Warner <Samuel.r.warner at me dot com> ---
I should add that when I use GDB where I put the application to be debugged on
the command line of a Terminal within OS-X, everything functions flawlessly. 
It's only when I use the "file" command or the equivalent GDB/MI command that
the 'null pointer" issue shows up.

( GDB app in my install has been fully enabled to execute with 'code signing'
instructions.)

What prompted my investigation in narrowing down the problem was the GDB/MI
seemed to be having some issue, later I found it was simply the 'file' command.

Sam

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

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

* [Bug gdb/28010] 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 [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
                   ` (2 preceding siblings ...)
  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
  5 siblings, 0 replies; 7+ messages in thread
From: Samuel.r.warner at me dot com @ 2021-06-26 18:28 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from Sam Warner <Samuel.r.warner at me dot com> ---
anything I should be doing to enable the status to change to "Confirmed"?

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

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

* [Bug gdb/28010] 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 [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
                   ` (3 preceding siblings ...)
  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
  5 siblings, 0 replies; 7+ messages in thread
From: levraiphilippeblain at gmail dot com @ 2021-07-02 18:47 UTC (permalink / raw)
  To: gdb-prs

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

Philippe Blain <levraiphilippeblain at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |levraiphilippeblain at gmail dot c
                   |                            |om

--- Comment #3 from Philippe Blain <levraiphilippeblain at gmail dot com> ---
Looks like a duplicate of https://sourceware.org/bugzilla/show_bug.cgi?id=26912
(and https://sourceware.org/bugzilla/show_bug.cgi?id=27365).

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

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

* [Bug gdb/28010] 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 [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
                   ` (4 preceding siblings ...)
  2021-07-02 18:47 ` levraiphilippeblain at gmail dot com
@ 2021-07-02 18:55 ` Samuel.r.warner at me dot com
  5 siblings, 0 replies; 7+ messages in thread
From: Samuel.r.warner at me dot com @ 2021-07-02 18:55 UTC (permalink / raw)
  To: gdb-prs

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

Sam Warner <Samuel.r.warner at me dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #4 from Sam Warner <Samuel.r.warner at me dot com> ---
yes - 26912 (while different compilers/etc) is experiencing the same issue

*** This bug has been marked as a duplicate of bug 26912 ***

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