From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2700E3858D33; Mon, 29 Apr 2024 12:03:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2700E3858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1714392186; bh=YF6UYTXBh0iREFPEsDWOs7LSBJZfgvVtmKCtf0vDvuk=; h=From:To:Subject:Date:From; b=sq9Jxok07tgiaC1teLs4wkGYulhWRF+YqbCzIFJsSnmxDrEtYaoTBaGUwryUC9qyr ps4KPtMmKJ04t0DG0z3q+0cbGUHwM0Wx5gf3l4CMo9Dqpzfz18DNZVkr+UJAIfOda1 vl6z5PuNLJvAne5svn7k18CkUkTuu3zjIUJQxpco= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/31684] New: [gdb/testsuite] FAIL: gdb.base/corefile.exp: core-file warning-free Date: Mon, 29 Apr 2024 12:03:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31684 Bug ID: 31684 Summary: [gdb/testsuite] FAIL: gdb.base/corefile.exp: core-file warning-free 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: --- With a tumbleweed container on a fedora asahi 39 system, I'm running into: ... (gdb) core-file /data/vries/gdb/build/gdb/testsuite/outputs/gdb.base/corefile/corefile.core= ^M warning: Can't open file / (deleted) during file-backed mapping note processing^M [New LWP 1061096]^M [Thread debugging using libthread_db enabled]^M Using host libthread_db library "/lib64/libthread_db.so.1".^M Core was generated by `/data/vries/gdb/build/gdb/testsuite/outputs/gdb.base/corefile/corefile'.^M Program terminated with signal SIGABRT, Aborted.^M #0 0x0000ffff11e8d470 in __pthread_kill_implementation () from /lib64/libc.so.6^M (gdb) FAIL: gdb.base/corefile.exp: core-file warning-free ... This doesn't seem to be something specific to gdb. Using eu-readelf -n outputs/gdb.base/corefile/corefile.core we get: ... CORE 1001 FILE 16 files: 00400000-00404000 00000000 16384=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 /data/vries/gdb/build/gdb/testsuite/outputs/gdb.base/corefile/corefile 0041c000-00420000 0000c000 16384=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 /data/vries/gdb/build/gdb/testsuite/outputs/gdb.base/corefile/corefile 00420000-00424000 00010000 16384=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 /data/vries/gdb/build/gdb/testsuite/outputs/gdb.base/corefile/corefile ffff11e00000-ffff11fa4000 00000000 1720320 /usr/lib64/libc.so.6 ffff11fa4000-ffff11fbc000 001a4000 98304 /usr/lib64/libc.so.6 ffff11fbc000-ffff11fc0000 001ac000 16384 /usr/lib64/libc.so.6 ffff11fc0000-ffff11fc4000 001b0000 16384 /usr/lib64/libc.so.6 ffff11fe0000-ffff12068000 00000000 557056 /usr/lib64/libm.so.6 ffff12068000-ffff1207c000 00088000 81920 /usr/lib64/libm.so.6 ffff1207c000-ffff12080000 0008c000 16384 /usr/lib64/libm.so.6 ffff12080000-ffff12084000 00090000 16384 /usr/lib64/libm.so.6 ffff12088000-ffff120b0000 00000000 163840 / (deleted) ffff120b0000-ffff120b4000 00000000 16384=20=20=20=20=20=20 /data/vries/gdb/build/gdb/testsuite/outputs/gdb.base/corefile/coredir.10610= 40/coremmap.data ffff120b4000-ffff120b8000 00000000 16384=20=20=20=20=20=20 /data/vries/gdb/build/gdb/testsuite/outputs/gdb.base/corefile/coredir.10610= 40/coremmap.data ffff120c4000-ffff120c8000 0002c000 16384 / (deleted) ffff120c8000-ffff120cc000 00030000 16384 / (deleted) ... By running the exec under a debugger and doing "info proc mappings", it bec= omes clear that the three "/ (deleted)" entries are for /usr/lib/ld-linux-aarch64.so.1. I don't see gdb doing something wrong (perhaps a kernel or podman problem?)= , so tentatively classifying this as a testsuite problem. --=20 You are receiving this mail because: You are on the CC list for the bug.=