From nobody Tue Mar 26 13:56:29 2024 X-Original-To: x11@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 4V3rv20ypcz5Ff90 for ; Tue, 26 Mar 2024 13:56:30 +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 4V3rv172yKz4hC7 for ; Tue, 26 Mar 2024 13:56:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711461390; a=rsa-sha256; cv=none; b=j7Fkm2RFEO3pJEBGaCtIAmb10vxThB9PbCOi6ePOWK02MdnMehQBZlr1yehFIEAQ2Dn7QK oLwn3abxQYulAwDCEsWWeASVkdCl1ROUxZpZqwUTfLbaWLeYDabrnMDrafA0A6AOWFhsZ2 W7hsr8b3662VC0PCGzqLLcWWXhDeARt78xy4EwEtp1PmSn54Zr5kFYmCFZ8ylW0/mvoS+Y cz+aOtI18Soobc11Ncio8D24Qa9wJsQTgq6vBo3WN05EPI1qqjkLR9SI4NBT57ltCsY+yx RNoA06jFI+9GqurhXe/BGoZTnAxQ7B1mZfU1HelN6kVZ3UZs8i3M49z3zzBO1Q== 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=1711461390; 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=q8O6kWWy+B8an0neD+nwSL2tqvpZbVMq9Q/FAw1D6VM=; b=SNTzK+m7ep7EjskHvDfU3Z7g5dsC5iCHSk7E0gdOCkEtRuQvIohRga29Vey/2/FhDBDlnW 4CMP3gqBRk2e9DJLO+pIAgQSODTqKCnRL3ChJhpZLIP+TsO229Yga9nNvllXF17aaVEVar tfQoqPfKMfqyuEhr2iTweG0Q0czcBVKJDshTvCrPl7C2sBhisMMQXW9ijdvhAt7cwI3ueB VPU+mMisEJ8RjpTRn33A4EyGMRPbxTf/wHizywuxGH31r/mKgPaJzNwL5dE9Pj4wtmYNbD F5yIEnO0ZVMOrJfQRav1/hGYRFkJw9B6BiqanNlBXYS+FDZgRnQicpdmYGd1nw== 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 4V3rv16dZpz139f for ; Tue, 26 Mar 2024 13:56:29 +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 42QDuT8T035753 for ; Tue, 26 Mar 2024 13:56:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42QDuTtC035751 for x11@FreeBSD.org; Tue, 26 Mar 2024 13:56:29 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: x11@FreeBSD.org Subject: [Bug 276614] graphics/mesa-dri:fix os_same_file_description warning Date: Tue, 26 Mar 2024 13:56:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback- X-Bugzilla-Changed-Fields: attachments.created 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: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276614 --- Comment #41 from Jan Beich --- Created attachment 249495 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D249495&action= =3Dedit syslog() every time missing kcmp() can leak memory (In reply to Yusuf Khan from comment #34) > (with a minor memory leak?) The original leaks weren't "minor", see https://gitlab.freedesktop.org/mesa/mesa/-/issues/1426 and https://gitlab.freedesktop.org/mesa/mesa/-/issues/2270 . Would be nice to collect more data by unthrottling the warning (see attached patch) and chec= king what triggers it. However, I'm not sure how to catch leaks over long-lived graphical sessions. For example, nesting sway/mesa-dri from 13.2 jail under sway-devel/mesa-dev= el from 15.0-CURRENT host suggests kcmp() is required at least 3 times (on the jail side). # pkg install -qy sway $ MESA_LOG=3Dfile sway MESA: warning: iris: Kernel has no file descriptor comparison support: Inva= lid argument MESA: warning: iris: Kernel has no file descriptor comparison support: No s= uch file or directory MESA: warning: iris: Kernel has no file descriptor comparison support: No s= uch file or directory [...] --=20 You are receiving this mail because: You are the assignee for the bug.=