From nobody Thu Feb 12 16:28:51 2026 X-Original-To: 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 4fBgjH4wlnz6Rvq9 for ; Thu, 12 Feb 2026 16:28:51 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fBgjH4Fz9z3Dtj for ; Thu, 12 Feb 2026 16:28:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770913731; 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=TgV3bUmpjipS3oJqH7P2TnLhxKD66UO15DrH+jpxqeA=; b=Yh+buEQaHY84kJERPFoiReArTxTvPNdQSOYw1zB8l/nQet2zjM3oHy4yxfC/SdaaF/aMX0 VFLy+0VuEcpq47xumiVhhEFZ7r9KLrQgqHdH8NP/p4+LzYgxVdQM4FW1vLN+YFkgJvPA0N y1IdVw6XPkdD5LHOIOu7fECMNy+QZSMigcyz6FeydbZqg73ukMSdCicu/uNzcpyZe2PQCZ jhH4pmvBu2G2oUytJ8n3KwIL+1H44/7pydPuNx6iwNEdEtD79/rVfkN4Bc1Sz9rd3X+byO aeO9HXxsSP0gnANoyTb+7dWgK+85Gn7qXjZuQN3bcO6Fpe/HPIJt0HxYPlI8Ww== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1770913731; a=rsa-sha256; cv=none; b=srFzkDFWDjUHZrTALdvwGYoQsr8LPkUFMSaoyWrPJ1MTpRbhhoJ0C3f/C8ioBGiiFeuU2S JxoruuMrq+5P0QQ2Ijo3qfwE6kSSc8HH7UnPn2DemqrdT//l6W8woWtrhLNFc0AaGQbW5y rwfRzPLhZHbnAxG9A5R6hmSV6ampmcK6BDAxz7gx4z8KFvP/FH7aSC+iJtoqNl5l8OPqIz Kj4irzuG9DgGJ5tyiEg/oco/NgqXMVG6hPpHvPVIuSFxDomS0JYnAvoR+2ukN3dd+1Q28i EQlntCEO8+YatdFRCKK7+kE+lzsmyUlyeeReN/INzAClKVb276sqig21YaekPQ== 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=1770913731; 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=TgV3bUmpjipS3oJqH7P2TnLhxKD66UO15DrH+jpxqeA=; b=RyrEchBTp98P4uPX8yco4e4TNuZIMCJMGAQQT3yZwNdgbo1GaNC4PncAR8qOS9WbslzcjO xfOhbKzDn9QEzwPNpeudvtuyWi7UjlGqTrbUAyx/pwwjZAzVanoYKUQNNPComPmDmtGCg/ Vz7iuVNsxyIq2k3yWmc3zTZjvY13AikfvPsPEx36ltoojFSsDKpvJnlESdGKT13Xx05zn6 SbTzubfaL5ht5rSx14kO2lCrBqNtOXcZ32d5pxLDDCVxQ86paTZLOrkHti54EOU1hyRn+V nCU2zNziiHoiMM0eb048alQBd41PdXFUZTAUKkobegAORW8wUn4cRhJQ6j7dQg== 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 4fBgjH3ftqzkYN for ; Thu, 12 Feb 2026 16:28:51 +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 61CGSpjY050096 for ; Thu, 12 Feb 2026 16:28:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 61CGSpLR050095 for bugs@FreeBSD.org; Thu, 12 Feb 2026 16:28:51 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: bugs@FreeBSD.org Subject: [Bug 293141] Quitting gdb while debugging a program using kqueue leaves system unresponsive Date: Thu, 12 Feb 2026 16:28:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: brian90013@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.mimetype attachments.created Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D293141 Bug ID: 293141 Summary: Quitting gdb while debugging a program using kqueue leaves system unresponsive Product: Base System Version: 14.3-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: brian90013@gmail.com Attachment #268006 text/plain mime type: Created attachment 268006 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D268006&action= =3Dedit demonstration code Hello, A single-threaded process that creates two independent kqueue() objects, ea= ch with an EVFILT_TIMER event, will cause a hard kernel lockup when run in a debugger (gdb or lldb), interrupted, then exiting the debugger. I am seeing this on amd64 and arm64, FreeBSD 14.3 and 15.0. I do not need root access. To reproduce (using the attached test.c): gcc -O0 -g -o test test.c gdb ./test > r Ctrl + C to interrupt > q=20 Debugger will ask if you are sure you want to quit (y/N) - answer y At this point the system locks up hard (to the point where, when running un= der vmware or qemu, the vm cannot be shutdown gracefully and the vm container m= ust be killed). I can still ping the box but attempts to ssh in fail. Running shutdown on the console also fails. --=20 You are receiving this mail because: You are the assignee for the bug.=