public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/32130] New: [gdb/testsuite, nfs] FAIL: gdb.base/attach-deleted-exec.exp: attach to process with deleted executable
@ 2024-08-31 6:54 vries at gcc dot gnu.org
2024-09-02 8:41 ` [Bug testsuite/32130] " vries at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: vries at gcc dot gnu.org @ 2024-08-31 6:54 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=32130
Bug ID: 32130
Summary: [gdb/testsuite, nfs] FAIL:
gdb.base/attach-deleted-exec.exp: attach to process
with deleted executable
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: testsuite
Assignee: unassigned at sourceware dot org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
I ran into:
...
(gdb) attach 121552^M
Attaching to process 121552^M
Reading symbols from
/suse/tdevries/gdb/build/ppc64le/gdb/testsuite/outputs/gdb.base/attach-deleted-exec/.nfs00000000044ff2ef00000086...^M
Reading symbols from /lib64/libm.so.6...^M
(No debugging symbols found in /lib64/libm.so.6)^M
Reading symbols from /lib64/libc.so.6...^M
(No debugging symbols found in /lib64/libc.so.6)^M
Reading symbols from /lib64/ld64.so.2...^M
(No debugging symbols found in /lib64/ld64.so.2)^M
0x00007fff947cc838 in clock_nanosleep@@GLIBC_2.17 () from /lib64/libc.so.6^M
(gdb) FAIL: gdb.base/attach-deleted-exec.exp: attach to process with deleted
executable
...
I think this is a testsuite issue.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug testsuite/32130] [gdb/testsuite, nfs] FAIL: gdb.base/attach-deleted-exec.exp: attach to process with deleted executable
2024-08-31 6:54 [Bug testsuite/32130] New: [gdb/testsuite, nfs] FAIL: gdb.base/attach-deleted-exec.exp: attach to process with deleted executable vries at gcc dot gnu.org
@ 2024-09-02 8:41 ` vries at gcc dot gnu.org
2024-09-23 5:53 ` cvs-commit at gcc dot gnu.org
2024-09-23 5:54 ` vries at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: vries at gcc dot gnu.org @ 2024-09-02 8:41 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=32130
--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
https://sourceware.org/pipermail/gdb-patches/2024-September/211479.html
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug testsuite/32130] [gdb/testsuite, nfs] FAIL: gdb.base/attach-deleted-exec.exp: attach to process with deleted executable
2024-08-31 6:54 [Bug testsuite/32130] New: [gdb/testsuite, nfs] FAIL: gdb.base/attach-deleted-exec.exp: attach to process with deleted executable vries at gcc dot gnu.org
2024-09-02 8:41 ` [Bug testsuite/32130] " vries at gcc dot gnu.org
@ 2024-09-23 5:53 ` cvs-commit at gcc dot gnu.org
2024-09-23 5:54 ` vries at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-09-23 5:53 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=32130
--- Comment #2 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom de Vries <vries@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5cd2a23195293a5006841ab80543f1df04ffd39e
commit 5cd2a23195293a5006841ab80543f1df04ffd39e
Author: Tom de Vries <tdevries@suse.de>
Date: Mon Sep 23 07:53:20 2024 +0200
[gdb/testsuite] Fix gdb.base/attach-deleted-exec.exp with NFS
With test-case gdb.base/attach-deleted-exec.exp I ran into:
...
(gdb) attach 121552^M
Attaching to process 121552^M
Reading symbols .../attach-deleted-exec/.nfs00000000044ff2ef00000086...^M
Reading symbols from /lib64/libm.so.6...^M
(No debugging symbols found in /lib64/libm.so.6)^M
Reading symbols from /lib64/libc.so.6...^M
(No debugging symbols found in /lib64/libc.so.6)^M
Reading symbols from /lib64/ld64.so.2...^M
(No debugging symbols found in /lib64/ld64.so.2)^M
0x00007fff947cc838 in clock_nanosleep@@GLIBC_2.17 () from
/lib64/libc.so.6^M
(gdb) FAIL: $exp: attach to process with deleted executable
....
The .nfs file indicates:
- that the file has been removed on the NFS server, and
- that the file is still open on the NFS client.
Fix this by detecting this situation, and declaring the test for filename
/proc/PID/exe unsupported.
Tested on:
- x86_64-linux (setup without NFS)
- ppc64le-linux (setup with NFS)
PR testsuite/32130
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32130
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug testsuite/32130] [gdb/testsuite, nfs] FAIL: gdb.base/attach-deleted-exec.exp: attach to process with deleted executable
2024-08-31 6:54 [Bug testsuite/32130] New: [gdb/testsuite, nfs] FAIL: gdb.base/attach-deleted-exec.exp: attach to process with deleted executable vries at gcc dot gnu.org
2024-09-02 8:41 ` [Bug testsuite/32130] " vries at gcc dot gnu.org
2024-09-23 5:53 ` cvs-commit at gcc dot gnu.org
@ 2024-09-23 5:54 ` vries at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: vries at gcc dot gnu.org @ 2024-09-23 5:54 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=32130
Tom de Vries <vries at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |16.1
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
Fixed.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-09-23 5:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-31 6:54 [Bug testsuite/32130] New: [gdb/testsuite, nfs] FAIL: gdb.base/attach-deleted-exec.exp: attach to process with deleted executable vries at gcc dot gnu.org
2024-09-02 8:41 ` [Bug testsuite/32130] " vries at gcc dot gnu.org
2024-09-23 5:53 ` cvs-commit at gcc dot gnu.org
2024-09-23 5:54 ` vries at gcc dot gnu.org
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).