From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 69766385829B; Fri, 29 Jul 2022 09:15:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 69766385829B From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/29431] New: [gdb] thread.c:805: internal-error: thread_change_ptid: Assertion `tp != nullptr' failed Date: Fri, 29 Jul 2022 09:15:52 +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: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Fri, 29 Jul 2022 09:15:52 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29431 Bug ID: 29431 Summary: [gdb] thread.c:805: internal-error: thread_change_ptid: Assertion `tp !=3D nullptr' failed Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- I did a testrun on openSUSE Leap 15.3 x86_64 with taskset -c 0, and ran int= o: ... (gdb) FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: print seconds_left detach^M [Thread 0x7f10c6073100 (LWP 5396) exited]^M /home/vries/gdb_versions/devel/src/gdb/thread.c:805: internal-error: thread_change_ptid: Assertion `tp !=3D nullptr' failed.^M A problem internal to GDB has been detected,^M further debugging may prove unreliable.^M ... This is a bit after: ... (gdb) PASS: gdb.threads/attach-many-short-lived-threads.exp: iter 1: break = at break_fn: 2 continue^M Continuing.^M Couldn't get registers: No such process.^M (gdb) FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: break = at break_fn: 3 ... and: ... print again =3D 1^M Cannot access memory at address 0x6020cc^M (gdb) FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: reset timer in the infer\ ior print seconds_left^M Cannot access memory at address 0x6020ac^M ... --=20 You are receiving this mail because: You are on the CC list for the bug.=