From nobody Mon Jan 01 23:49:51 2024 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 4T3t4w0JDtz55sqP for ; Mon, 1 Jan 2024 23:49:52 +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 4T3t4v6N89z3Cc0 for ; Mon, 1 Jan 2024 23:49:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704152991; a=rsa-sha256; cv=none; b=n99kdh6ljapA6ME8kUTtTb+JoxqoSZHfLZAQ1pFcY5aZFm6sbdcQev40dw9crO6Rc47JDU SViUeT70NuRMTzE+zccV6dEoLIdpcFHIssXlOXREDEIN2fdpMt35GEqDWDu4ZQb7HLOJDr RNdm38DXzNFSDykqTE/8j+QNZ+wiQP/DS1fo2jYT+mhMZ5Y5tLrOatNXcZOnwPfh9aW4eU 4DSdh5mIRMCGVxoDRv9v4cBoRWA7HzlioWkNhPjxkxGYH2Svvr5/iqkCSktwNy9oldC2Xm 18iiNBINTwPB4HTRiz3pxBrOy5dKK4uReXoI8eovC5nYeZ4B0rpW8+/z0y/4tg== 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=1704152991; 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=udzGCzENInQl7TdpimOhv3d4FUW0iYPorRWxWOBOs18=; b=UvfCG+U+D0Tb78hyF/zHtwXroPWjOgk8YVGGbgRIgW5vidBH+cqWktbnsegLyIpd6AUvDg D4v+8Uxr1tpU3AjWdCofYFjARKSbVxQ4NWdJ4nZFimZziEGZey3yh1Wadn9KOSRprFWeTD 4uk4RsT7vLM28gWk4lu7AvRIMLvXiW+yX9G8eXoLyi7HRDQISg6XCLW0LRxg8YO7BxHg8g xa45puV3AW5/Lnfo122I5OiiXJbzDxk0mcJRcmEIIYVy6qsJD8lxJiMW09BOF6VnPT6rWO s56JVXA0CyhIppa6MqfnAdCYmy0dw0dx3dFaWzLnx/6gSo/4mPPTDfOPuSuXnw== 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 4T3t4v5QtJzdSG for ; Mon, 1 Jan 2024 23:49: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 401NnpwL010191 for ; Mon, 1 Jan 2024 23:49:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 401NnpwA010190 for bugs@FreeBSD.org; Mon, 1 Jan 2024 23:49: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 276057] crash in xa_destroy() while initializing the i915kms module Date: Mon, 01 Jan 2024 23:49:51 +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: 14.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: donn@xmission.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: 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=3D276057 --- Comment #6 from Donn Seeley --- (In reply to Konstantin Belousov from comment #4) Of course I realized that there would still be a problem when omitting mtx_destroy() almost immediately after I posted my reply. D'oh. I've been staring at the Linux xarray code and the i915kms driver, trying to figure out a good way to handle this issue. I could change the i915kms dri= ver to avoid calling xa_destroy() in guc_init_lrc_mapping() on FreeBSD, but the= n I would need to be sure that we _do_ call xa_destroy() when the driver finally does free the xarray. I'll look at this in my spare time and I'll see if there's a reasonable solution. --=20 You are receiving this mail because: You are the assignee for the bug.=