From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7F085385E03D; Sat, 9 Mar 2024 00:45:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7F085385E03D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1709945137; bh=owdMaknx7/aXfmZZSEbEyfQkzis0uhlafXolfEWJ3eU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RbZsg7J9iCJfeBS4NlhYA9zYScL3+1pmdrHDSjjIcb4nQXjjTJAGOyUnlMtoBBhu3 sgIIk2ii/cFPyHdHuI4YEjIdHTdmi+MK1BaR9B0CS5LsaKjpgROGSCIV20ta3r9TKg nsFcaAdY/NhUQ7B7ma5dYEA8zLymx+kZuwy2wxl8= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/31312] attach-many-short-lived-threads gives inconsistent results Date: Sat, 09 Mar 2024 00:45:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 15.1 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31312 --- Comment #12 from Tom Tromey --- > It then attempts to attach again. At this point, the attach > times out and all subsequent gdb commands for the rest of the iterations > all time out. It seems unusual to me that a single failure could somehow cause subsequent ones to fail. Like, why would that be? Anyway if you don't mind essentially disabling the test on this platform, I guess you could just exit the loop after the first EPERM, on Power 10. I looked at the patch but IIUC it leaves the previous processes running, so that seems bad. Doing any of this on all platforms seems to make the test a bit meaningless. Really it ought to work fine; but the EPERM kernel bug makes it slightly random -- but Power 10 seems worse in that regard and also, IIUC, has an additional bug. I wonder if anybody has ever tried reporting the kernel problem. --=20 You are receiving this mail because: You are on the CC list for the bug.=