public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "Samuel.r.warner at me dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [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."
Date: Thu, 24 Jun 2021 17:17:47 +0000	[thread overview]
Message-ID: <bug-28010-4717@http.sourceware.org/bugzilla/> (raw)

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.

             reply	other threads:[~2021-06-24 17:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-24 17:17 Samuel.r.warner at me dot com [this message]
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

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