From nobody Tue Aug 29 13:33:12 2023 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 4RZpK519xCz4rpFk for ; Tue, 29 Aug 2023 13:33:13 +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 4RZpK46xYlz3Ls2 for ; Tue, 29 Aug 2023 13:33:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693315993; a=rsa-sha256; cv=none; b=buzrxy/wen70wWDFopSVe2zjNHt/jT+b3NL8kiL410dSY8WgXhZphukS0DRRdCjWJc5krx oQJw09lHcqWs/ul3LLgAmZDa8LA6RKVWmqHJNQWFzIrN6x2+oK9rIWk2pkjBslqphi9wN1 t7uzCX7OS2KNRZezyzOcOWVKpfccjFvmwfCAZ0HzYImjhtOw2KWaPJA8f2lT0B/koduG2G +PWE6SOkUFgU6FaKTGc1qtPCuFqU1XS538xblpB+gCXUk1c5y22oMEIa3W+vfzn7eQpgat jGXSJEEJenxCS+yzGuSLs1sAcFMS/q/XhSeoHyYVXIUxSo5jXtLX8P8Rr4dC8Q== 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=1693315993; 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=RGGvY8NQvzrHXqetkM3kZGcEoBzP3cYXEQSAEox6zDM=; b=EuGeaHZCxb5ZiZ0xIc/bS/2v4S16g7RQGJTVD9F1Ao9YKEgj+L35rOlJh4YlYKJrw03E+8 KTM9s+g6p2tDEqhYhmFWU++GHINKZqtnJcRUfEQn2KIXdnqy6iRKu8Bk6pOEfmqIXlpjwJ 7sYyye0jZrMIh/RVGiOuUQ+JIYr4I/5+PAdbkp05Mb8980h9fs3I3+XKK+4rUSua9D6OGP /LWchHQJOAuUcOpj5iGL+2yVd9dlUCIyXB1HJq8FWS4Vtp6lT5ii3MT8eNXuoPzqCr/7cX kB/yigM/YXMJbjC6Y39B4vZp1tymYZUjOQuyWW28l9eUV0O/Kuh7QuhKt/RM1Q== 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 4RZpK4612fztgD for ; Tue, 29 Aug 2023 13:33:12 +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 37TDXCvG096996 for ; Tue, 29 Aug 2023 13:33:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 37TDXCZE096995 for bugs@FreeBSD.org; Tue, 29 Aug 2023 13:33:12 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 273418] [panic] Repeating kernel panic on open(/dev/console) Date: Tue, 29 Aug 2023 13:33:12 +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.2-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mjg@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: 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: 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=3D273418 --- Comment #5 from Mateusz Guzik --- So cdp is backed by dev, but freeing dev is decoupled from unlinking it from the global cdp list and it may be some of the frees happen when they should not. There is very funky refcount scheme in there which pins cdp in a way w= hich does not pin dev(???). That said I would start with adding a bool to dev indicating that cdp is hanging out on the list (or not). Then assert it is not when freeing. --=20 You are receiving this mail because: You are the assignee for the bug.=