From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AF582388A825; Thu, 24 Jun 2021 17:17:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AF582388A825 From: "Samuel.r.warner at me dot com" 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: Samuel.r.warner at me dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2021 17:17:47 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28010 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_ !=3D 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.Hel= loWorld.MacOS.Gcc Reading symbols from /Users/sam/eclipse-workspace/Eclipse.HelloWorld.MacOS.Gcc/Debug/Eclipse.Hel= loWorld.MacOS.Gcc... ../../gdb/thread.c:95: internal-error: struct thread_info *inferior_thread(= ): Assertion `current_thread_ !=3D 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_ !=3D 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.Hel= loWorld.MacOS.Gcc=20 [New Thread 0x2203 of process 4658] [New Thread 0x1b03 of process 4658] warning: unhandled dyld version (17) Thread 2 hit Breakpoint 1, main (argc=3D1, argv=3D0x7ffeefbffa68) at ../src/Eclipse.HelloWorld.MacOS.Gcc.temp.cpp:22 22 mainPhilosopher(); --=20 You are receiving this mail because: You are on the CC list for the bug.=