From nobody Fri Oct 21 20:59:27 2022 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 4MvGzz3Lgsz4gndX for ; Fri, 21 Oct 2022 20:59:27 +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 4MvGzz0z1xz3Y63 for ; Fri, 21 Oct 2022 20:59:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4MvGzz0232zKyW for ; Fri, 21 Oct 2022 20:59:27 +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 29LKxQ5K059646 for ; Fri, 21 Oct 2022 20:59:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29LKxQ0Q059645 for bugs@FreeBSD.org; Fri, 21 Oct 2022 20:59:26 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 267261] panic: _assert_sbuf_integrity:122: wrote past end of sbuf (0 >= 0) Date: Fri, 21 Oct 2022 20:59:27 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bz@FreeBSD.org 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 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: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666385967; 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=N2WSXzs29HUmSzLB2VKldjzoG4DQUhn6d0u0DcQ9LFk=; b=eSo1cGrB438NzvXwEmM77yfFQsdwl4T6OK8stGjOSFZyxejE3PqTrptRxHr6tIrj5tMDir B9VaodIvN79vbLN1e3e52erc/27QCw1FC9MdqvYLGRvPKL3AUbXmgkC2hfb5JbEakwzIAs BjMXhb+lxsm7/0MbyVXwxR7BQC1UUOrydnhVIKWim7oajNTpYJvigmBe7p4+c/SLH7D3Bg XeyZCzF+HmxVj0oeutYuLHeff8FL8aqdwAWcueQilk16oC0pfCYmuqGJPhfTzoarNnfQ9S 1pPwVevJO9cdA7ROnhGypQ7rTZRs98t0xVcqPLpCluvX6eDtCuQy4EacWwVREg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666385967; a=rsa-sha256; cv=none; b=EB4JA8EUQGD+SRn1GQcKN06w9x5nRgIEePcGLYzytFjSx+tfSDCxbGapQPU1wR66vXwDbg LXfLluRfGWovjpFmtPoaZkaFqIp9YlN4emPkbXGUqe3t1gT5dXpd0rdyjLdkkzu9ty0rTV 2nSSnl8/+qXtER2/Qk+dNbjpsEbrnwLW8E4YzPNvV0QbELnSByE5f9O3XO7ZOswPM26q0d 2NlAU2eNQ2iNn+DV9KEpWgiUUF8PN4JG5bisEcce4n+1AUEK7fQJ9rZIT1m19rNWg6auQa EtziUFinvNEmIPHXR3Gk1ne6iu3wLZPZtpyaKhPrsbQJyKdnukFI4o8Vw/wSUQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267261 Bug ID: 267261 Summary: panic: _assert_sbuf_integrity:122: wrote past end of sbuf (0 >=3D 0) Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: bz@FreeBSD.org I added func:line to the three identical prints out of the assertions (one later in the code); this is the else case in _assert_sbuf_integrity. The code in questions comes out of debugfs but it makes me question if there can be a simply create and delete combination as a reproducer? I haven't d= ug in yet. panic: _assert_sbuf_integrity:122: wrote past end of sbuf (0 >=3D 0) cpuid =3D 3 time =3D 1666385636 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe008a304= 7b0 vpanic() at vpanic+0x151/frame 0xfffffe008a304800 panic() at panic+0x43/frame 0xfffffe008a304860 sbuf_setpos() at sbuf_setpos/frame 0xfffffe008a304870 sbuf_delete() at sbuf_delete+0x18/frame 0xfffffe008a304890 .. --=20 You are receiving this mail because: You are the assignee for the bug.=