From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CCFE63833010; Thu, 8 Jul 2021 10:41:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CCFE63833010 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug threads/28065] FAIL: gdb.threads/access-mem-running-thread-exit.exp: all-stop: access mem (print global_var after writing again, inf=1, iter=354) Date: Thu, 08 Jul 2021 10:41:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: threads X-Bugzilla-Version: unknown 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: 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 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, 08 Jul 2021 10:41:05 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28065 --- Comment #3 from Tom de Vries --- Reproduced on openSUSE Leap 15.2 with trunk: ... 83: # of expected passes 13 84: # of expected passes 12 85: # of expected passes 12 86: # of expected passes 13 ... gdb.84.log: ... (gdb) inferior 1^M [Switching to inferior 1 [process 16006] (access-mem-running-thread-exit)]^M [Switching to thread 1.24406 (Thread 0x7ffff54c0700 (LWP 486))](running)^M (gdb) print global_var =3D 555^M $2149 =3D 555^M (gdb) print global_var^M $2150 =3D 555^M (gdb) print global_var =3D 333^M Cannot access memory at address 0x601070^M (gdb) FAIL: gdb.threads/access-mem-running-thread-exit.exp: all-stop: access mem (write to global_var again, inf=3D1, iter=3D538) ... --=20 You are receiving this mail because: You are on the CC list for the bug.=