From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4AD413833010; Thu, 8 Jul 2021 10:45:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4AD413833010 From: "pedro at palves dot net" 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:45:41 +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: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pedro at palves dot net 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:45:41 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28065 --- Comment #4 from Pedro Alves --- Huh. Unfortunately, the gdb.log doesn't show anything useful. We'd need "= set debug lin-lwp 1" logs at least. I've set the testcase running in a loop here, went past 50 iterations, and I still get no failures. I'll leave it running for a while longer. This is = on Ubuntu 20.04. The code to look at is linux_proc_xfer_memory_partial / linux_proc_xfer_memory_partial_pid.=20=20 Could it be that opening /proc/pid/task/lwp/mem is failing with errno other than EACCES or ENOENT on openSUSE's kernel? To debug this, I'd insert abort() calls in all TARGET_XFER_EOF failure path= s in linux_proc_xfer_memory_partial, and then set the testcase running in a loop= .=20 Then debug the core dump. --=20 You are receiving this mail because: You are on the CC list for the bug.=