From nobody Mon Mar 20 08:33:45 2023 X-Original-To: net@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 4Pg7LL12wtz40QDh for ; Mon, 20 Mar 2023 08:33:46 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pg7LL03DMz48vK for ; Mon, 20 Mar 2023 08:33:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679301226; 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: in-reply-to:in-reply-to:references:references; bh=21Zv4jCo886OFa5ou7GUgzwhm/H8boksxMRC08c7zOU=; b=WzXkVF6KEs7X4/qOMtflVUdNSpPXI7xfDzwJivMybw4nrFWhJqMGoZCtHDkUY3QEt3hmDb 5yHwIY+222YVzVlIZ3YvnirjZVwcb/OfC5U+smA+PerQJVGDmr+h2jLa7vH7XqX4wcsKGM enYyvamP3zQon5K2aa9bsgPAbg/UYufZFGPEhra6xK7shESD0k3+JcVjQJs4/EzL2RGFN6 MY5rEa7uynJln/rY7cG8pMywtTFAj4rwRL7lryhN6HefN9mzu9HhogD+CEMCCmsARLSvb/ 8JgIv5QULxaIzTGyAv2sK4RB20UisHW3GybrKO+6NSkJSIZmpsaIcvEyTPCJDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679301226; a=rsa-sha256; cv=none; b=JJGFGEL8tRbhEyDD8mpO4Qoln0nfynUKMLbc7N1DbW8ROdzPlsHRtvW3xgYAXSpu/iUnmj yi2AqS28slJYFHosw/8f0y1WCa186jiKQdTYv45Yl2EgmEWYDfjNlqlrcGIxYdCroEju+5 X33OPpw3+D75gTVuV77RxlXuTamiep5t3ccudSWbGQnPeNZWUkZw2+dB8eS9f27SYE7EdL lo/T61PmeDBJoKFu1NV6ss1eYD4WlgDnLp1Ds3y+qg/dPbMLc+eYFEFds5KjtfKBug1a1d Cpgbgt3KUF/swatrE05n3XMFCQ9WPTptVWwOwS1i5lSHekRIUINdTi8HIbHGrw== 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 4Pg7LK6FYqzNld for ; Mon, 20 Mar 2023 08:33:45 +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 32K8XjGb059044 for ; Mon, 20 Mar 2023 08:33:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32K8XjQg059043 for net@FreeBSD.org; Mon, 20 Mar 2023 08:33:45 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: net@FreeBSD.org Subject: [Bug 268246] crash and panic using pfsync on 13.1-RELEASE Date: Mon, 20 Mar 2023 08:33:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kp@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268246 --- Comment #93 from Kristof Provost --- (In reply to mikael.le-bohec from comment #92) You're tripping over a different panic. (And it would have been helpful to actually include the backtrace in your report.) > panic: _mtx_lock_sleep: recursed on non-recursive mutex pfsync bucket @ /= usr/src/sys/netpfil/pf/if_pfsync.c:2295 >=20 > cpuid =3D 0 > time =3D 1679262157 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00c72= cbc50 > vpanic() at vpanic+0x152/frame 0xfffffe00c72cbca0 > panic() at panic+0x43/frame 0xfffffe00c72cbd00 > __mtx_lock_sleep() at __mtx_lock_sleep+0x43d/frame 0xfffffe00c72cbd90 > __mtx_lock_flags() at __mtx_lock_flags+0xe5/frame 0xfffffe00c72cbde0 > pfsync_timeout() at pfsync_timeout+0x64/frame 0xfffffe00c72cbe10 > softclock_call_cc() at softclock_call_cc+0x14b/frame 0xfffffe00c72cbec0 > softclock_thread() at softclock_thread+0xc6/frame 0xfffffe00c72cbef0 > fork_exit() at fork_exit+0x80/frame 0xfffffe00c72cbf30 > fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00c72cbf30 > --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- > KDB: enter: panic Which I can reproduce but do not understand. There's no obvious way for us = to end up recursing on the bucket lock there, nor is there a clear path where = we could fail to unlock a bucket. --=20 You are receiving this mail because: You are the assignee for the bug.=