From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DB1733858C41; Tue, 31 Oct 2023 08:02:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DB1733858C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1698739341; bh=/CDWp0W3pmWgaJSj+YH4K5bjXp4e4deV3YD/tDGpvog=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Zy1iwCpLKMAd3YIWzkKcg3UkVngFyg7dlNsJJqdkBLi/XY+M3TDHj7YEMSeCr+PXm GeTIcsUIVpyHQqPYzdnOsj+caoFAaqGgRTMgNlnUrkNiz3/phVjRktOUifs4fZdC0B vXN0HkSFTgguN7q8nW2NUhSFs+mX8Vl+yqNFP7ho= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/30547] [gdb, s390x, ppc64] segfault in for_each_block Date: Tue, 31 Oct 2023 08:02:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 13.1 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: short_desc 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=3D30547 Tom de Vries changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[gdb, s390x] segfault in |[gdb, s390x, ppc64] |for_each_block |segfault in for_each_block --- Comment #1 from Tom de Vries --- Also ran into this with gdb-14-branch and centos-7 ppc64: ... PASS: gdb.base/vfork-follow-parent.exp: exec_file=3Dvfork-follow-parent-exi= t: target-non-stop=3Don: non-stop=3Doff: resolution_method=3Dschedule-multiple= : print unblock_parent =3D 1 ERROR: GDB process no longer exists UNRESOLVED: gdb.base/vfork-follow-parent.exp: exec_file=3Dvfork-follow-parent-exit: target-non-stop=3Don: non-stop=3Doff: resolution_method=3Dschedule-multiple: continue to break_parent ... PASS: gdb.base/vfork-follow-parent.exp: exec_file=3Dvfork-follow-parent-exi= t: target-non-stop=3Doff: non-stop=3Doff: resolution_method=3Dschedule-multipl= e: print unblock_parent =3D 1 ERROR: GDB process no longer exists UNRESOLVED: gdb.base/vfork-follow-parent.exp: exec_file=3Dvfork-follow-parent-exit: target-non-stop=3Doff: non-stop=3Doff: resolution_method=3Dschedule-multiple: continue to break_parent ... In more detail: ... (gdb) PASS: gdb.base/vfork-follow-parent.exp: exec_file=3Dvfork-follow-parent-exit: target-non-stop=3Don: non-stop=3Doff: resolution_method=3Dschedule-multiple: print unblock_parent =3D 1 continue Continuing. Reading symbols from /home/vries/gdb/build/gdb/testsuite/outputs/gdb.base/vfork-follow-parent/vf= ork-follow-parent-exit... Fatal signal: Segmentation fault ----- Backtrace ----- 0x1027d3e7 gdb_internal_backtrace_1 /home/vries/gdb/src/gdb/bt-utils.c:122 0x1027d54f _Z22gdb_internal_backtracev /home/vries/gdb/src/gdb/bt-utils.c:168 0x1057643f handle_fatal_signal /home/vries/gdb/src/gdb/event-top.c:889 0x10576677 handle_sigsegv /home/vries/gdb/src/gdb/event-top.c:962 0x3fffad660477 ??? 0x103f2144 for_each_block /home/vries/gdb/src/gdb/dcache.c:199 0x103f235b _Z17dcache_invalidateP13dcache_struct /home/vries/gdb/src/gdb/dcache.c:251 0x10bde8c7 _Z24target_dcache_invalidatev /home/vries/gdb/src/gdb/target-dcache.c:50 0x106a4f27 _Z20fetch_inferior_eventv /home/vries/gdb/src/gdb/infrun.c:4420 0x10670d63 _Z22inferior_event_handler19inferior_event_type /home/vries/gdb/src/gdb/inf-loop.c:42 0x1071a0c7 handle_target_event /home/vries/gdb/src/gdb/linux-nat.c:4243 0x1176159f handle_file_event /home/vries/gdb/src/gdbsupport/event-loop.cc:573 0x11761b77 gdb_wait_for_event /home/vries/gdb/src/gdbsupport/event-loop.cc:694 0x1176019f _Z16gdb_do_one_eventi /home/vries/gdb/src/gdbsupport/event-loop.cc:217 0x1078a3bf start_event_loop /home/vries/gdb/src/gdb/main.c:407 0x1078a647 captured_command_loop /home/vries/gdb/src/gdb/main.c:471 0x1078caff captured_main /home/vries/gdb/src/gdb/main.c:1324 0x1078cbf3 _Z8gdb_mainP18captured_main_args /home/vries/gdb/src/gdb/main.c:1343 0x10019b9f main /home/vries/gdb/src/gdb/gdb.c:39 --------------------- A fatal error internal to GDB has been detected, further debugging is not possible. GDB will now terminate. This is a bug, please report it. For instructions, see: . ERROR: GDB process no longer exists GDB process exited with wait status 56538 exp20 0 0 CHILDKILLED SIGSEGV {segmentation violation} UNRESOLVED: gdb.base/vfork-follow-parent.exp: exec_file=3Dvfork-follow-parent-exit: target-non-stop=3Don: non-stop=3Doff: resolution_method=3Dschedule-multiple: continue to break_parent ... --=20 You are receiving this mail because: You are on the CC list for the bug.=