Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2024 13:56:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 276614] graphics/mesa-dri:fix os_same_file_description warning
Message-ID:  <bug-276614-7141-Fk8Rs3bI0T@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276614-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276614-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276614

--- Comment #41 from Jan Beich <jbeich@FreeBSD.org> ---
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276614-7141-Fk8Rs3bI0T>