public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "rostyslav.skrypnyk at gmail dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug gdb/26861] internal-error: void target_mourn_inferior(ptid_t): Assertion `ptid == inferior_ptid' failed. OS: Mac OSX Catalina; Compiler: GCC; Language: C Date: Wed, 10 Feb 2021 15:05:49 +0000 [thread overview] Message-ID: <bug-26861-4717-j7Eh7MnKi0@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-26861-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=26861 Rostyslav Skrypnyk <rostyslav.skrypnyk at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rostyslav.skrypnyk at gmail dot co | |m --- Comment #7 from Rostyslav Skrypnyk <rostyslav.skrypnyk at gmail dot com> --- I get the same error message on my 8-year old Mac (x86) running Big Sur 11.2. I use GDB 10.1 from Homebrew. It does not happen on every run. My MWE: ``` // test.cpp #include<iostream> int main() { int a{ 4 }; std::cout << "a = " << a << '\n'; return 0; } ``` Simply running the program under GDB yields: ``` (gdb) r Starting program: test-gdb/a.out [New Thread 0x1a03 of process 24826] [New Thread 0x1b03 of process 24826] warning: unhandled dyld version (17) a = 4 [Inferior 1 (process 24826) exited normally] ``` However, setting breakpoints triggers it: ``` (gdb) b main Breakpoint 1 at 0x100003e57: file test.cpp, line 5. (gdb) r Starting program: test-gdb/a.out [New Thread 0x2403 of process 24836] [New Thread 0x2203 of process 24836] warning: unhandled dyld version (17) Thread 2 hit Breakpoint 1, main () at test.cpp:5 5 int a{ 4 }; (gdb) r The program being debugged has been started already. Start it from the beginning? (y or n) n Program not restarted. (gdb) q A debugging session is active. Inferior 1 [process 24836] will be killed. Quit anyway? (y or n) y ../../gdb/target.c:2149: internal-error: void target_mourn_inferior(ptid_t): Assertion `ptid == inferior_ptid' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) y This is a bug, please report it. For instructions, see: <https://www.gnu.org/software/gdb/bugs/>. ../../gdb/target.c:2149: internal-error: void target_mourn_inferior(ptid_t): Assertion `ptid == inferior_ptid' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Create a core file of GDB? (y or n) y [1] 24834 abort gdb a.out ``` -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2021-02-10 15:05 UTC|newest] Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-11-10 9:46 [Bug gdb/26861] New: " ntvallone at ucdavis dot edu 2020-11-10 9:47 ` [Bug gdb/26861] " ntvallone at ucdavis dot edu 2020-11-29 19:25 ` ethanrob122 at gmail dot com 2020-11-29 19:37 ` ethanrob122 at gmail dot com 2021-01-20 1:15 ` fishinfuglers at gmail dot com 2021-01-31 7:42 ` frankshe175 at gmail dot com 2021-02-01 19:07 ` simark at simark dot ca 2021-02-01 19:10 ` simark at simark dot ca 2021-02-10 15:05 ` rostyslav.skrypnyk at gmail dot com [this message] 2021-02-23 3:27 ` levraiphilippeblain at gmail dot com 2021-02-23 3:53 ` levraiphilippeblain at gmail dot com 2021-02-24 4:19 ` levraiphilippeblain at gmail dot com 2021-02-24 16:41 ` simark at simark dot ca 2021-02-24 17:11 ` simark at simark dot ca 2021-02-24 20:07 ` levraiphilippeblain at gmail dot com 2021-02-24 20:16 ` levraiphilippeblain at gmail dot com 2021-02-24 22:04 ` simark at simark dot ca 2021-02-25 20:53 ` cvs-commit at gcc dot gnu.org 2021-02-25 20:55 ` cvs-commit at gcc dot gnu.org 2021-02-25 20:57 ` simark at simark dot ca 2021-02-28 11:41 ` brobecker at gnat dot com 2021-06-27 17:47 ` ahmedsayeed1982 at yahoo dot com 2021-08-18 13:52 ` jamesrogan59 at gmail dot com 2021-08-25 5:16 ` marlenesanchez231+wilmar at gmail dot com 2021-09-02 11:03 ` donipah907 at mtlcz dot com 2021-09-02 11:05 ` donipah907 at mtlcz dot com 2021-09-02 11:17 ` mark at klomp dot org 2021-09-05 7:36 ` kimolsun2020 at yahoo dot com 2021-09-06 9:06 ` focixujo at livinginsurance dot co.uk 2021-09-06 9:12 ` focixujo at livinginsurance dot co.uk 2021-09-06 13:09 ` ntvallone at ucdavis dot edu 2021-09-10 19:37 ` mehmetgelisin at aol dot com 2021-09-13 8:40 ` nicholasgrove641 at gmail dot com 2021-09-13 8:41 ` nicholasgrove641 at gmail dot com 2021-09-13 8:41 ` nicholasgrove641 at gmail dot com 2021-09-13 8:41 ` nicholasgrove641 at gmail dot com 2021-09-28 1:40 ` marlenesanchez231+jaime at gmail dot com 2021-10-08 19:40 ` vficaj at gmail dot com 2021-10-09 11:00 ` gulsenenginar at aol dot com 2021-10-18 19:58 ` ahmedsayeed1982 at hotmail dot com 2021-10-19 7:14 ` progonsaytu at gmail dot com 2021-10-24 10:02 ` glassmtech at ukr dot net 2021-11-10 1:57 ` wallremovalsperth at gmail dot com 2021-11-10 1:59 ` wallremovalsperth at gmail dot com 2021-11-22 6:48 ` gexed96894 at keagenan 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-26861-4717-j7Eh7MnKi0@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: linkBe 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).