From nobody Mon Aug 19 20:20:10 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WnkVM0qQ3z5TRFv for ; Mon, 19 Aug 2024 20:20:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WnkVL62JFz4jZV for ; Mon, 19 Aug 2024 20:20:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724098810; a=rsa-sha256; cv=none; b=ctmIksNDH0OlbJlRpQ2w0iqybnJHC1rY7+tXCpK9tMJF+ANPZPHz1G4r63yadVio6WEAoA nAV2SnEGfyoFKvvmHDY/LNRNHNpqOLXrM/TOBD22KdFOybACM9PROeUVjUt8kVcvPqVIyW 1zztmIK2R1F3908KiVuZ6YjUrDkEVFAHIvzc913if+nlCmshIEgbLPcWGLf4kucaeBHqWv SS3oSoOoecMVMmbvTwI3BcYMI+Dvkh//ZN1HbiTMvQpYtFLxau4KH7b/DTJTH42WtDGV4F d40Y4IZFqKJmRTN1yyR77l5xuDa78yOXE7VqzbjUkm8F3uMPCCbmlSFuA0iG1Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724098810; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VzhFrhsKi+UJo5RnswLOc40tq3m/IK61x8W+v7keGmI=; b=qW5iQguyAFG0e0cy/6a7uo+xqri5aHeV9EVWku+c0ToD/OWcCEaw5lYpVQ91Ton44ATYBR Uo3c3kCvClMHu9ucM4cU0nFS9avarMsRDo6Pd6O9QxgINU0+RIQlpfhXz0fbtJFSSJDVFn 2iUiDm0g0BFq4pS1qnhEBTEyEA3iVdxmAYJU6K/NDCPt6rurSD//tY7ux+hSNArU4wQhFG ClzBl4wGRPH5QHBcSwyJOPy42YUrcnBKLbka8qIorHJqS4bYpRUvEjlUXgIN5QLNmfDODX ESUpKQAdzBV0f2s5sqc+Umql/xzgXZhnoBgmUVlT/cab0S8OfaaknE+szFXkTw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WnkVL5WyCzX2s for ; Mon, 19 Aug 2024 20:20:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 47JKKAJo003401 for ; Mon, 19 Aug 2024 20:20:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47JKKAFw003399 for ports-bugs@FreeBSD.org; Mon, 19 Aug 2024 20:20:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 280934] devel/gdb: "follow-exec-mode new" is broken Date: Mon, 19 Aug 2024 20:20:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pizzamig@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280934 Bug ID: 280934 Summary: devel/gdb: "follow-exec-mode new" is broken Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: pizzamig@freebsd.org Reporter: markj@FreeBSD.org Flags: maintainer-feedback?(pizzamig@freebsd.org) Assignee: pizzamig@freebsd.org A simple reproducer for a gdb-14.1_2 crash that I'm hitting while trying to debug something else: $ gdb -q /bin/sh Reading symbols from /bin/sh... Reading symbols from /usr/lib/debug//bin/sh.debug... (gdb) set follow-fork-mode child (gdb) set follow-exec-mode new (gdb) run Starting program: /bin/sh=20 $ ls [Attaching after LWP 102411 of process 81670 fork to child LWP 127862 of process 81671] [New inferior 2 (process 81671)] [Detaching after fork from parent process 81670] [Inferior 1 (process 81670) detached] process 81671 is executing new program: /bin/ls [New inferior 3] [New LWP 127862 of process 81671] Fatal signal: Segmentation fault ----- Backtrace ----- 0x1354cc1 ??? 0x1477fc6 ??? 0x147874f ??? 0x802aad4eb handle_signal /root/freebsd/lib/libthr/thread/thr_sig.c:299 0x802aacaaa thr_sighandler /root/freebsd/lib/libthr/thread/thr_sig.c:243 0x7ffffffff2d2 ??? 0x1492fc5 ??? 0x14934cd ??? 0x17adb29 ??? 0x152405a ??? 0x1522cfd ??? 0x152222d ??? 0x151bba5 ??? 0x151a83b ??? 0x1cbbed2 ??? 0x1cbb776 ??? 0x157e519 ??? 0x157b600 ??? 0x12531c0 ??? 0x802b495d9 __libc_start1 /root/freebsd/lib/libc/csu/libc_start1.c:157 0x12530af ??? --------------------- 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: . --=20 You are receiving this mail because: You are the assignee for the bug.=