[Bug 276614] graphics/mesa-dri:fix os_same_file_description warning
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 276614] graphics/mesa-dri:fix os_same_file_description warning"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 26 Mar 2024 13:56:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276614 --- Comment #41 from Jan Beich <jbeich@FreeBSD.org> --- Created attachment 249495 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=249495&action=edit 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 checking 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-devel from 15.0-CURRENT host suggests kcmp() is required at least 3 times (on the jail side). # pkg install -qy sway $ MESA_LOG=file sway MESA: warning: iris: Kernel has no file descriptor comparison support: Invalid argument MESA: warning: iris: Kernel has no file descriptor comparison support: No such file or directory MESA: warning: iris: Kernel has no file descriptor comparison support: No such file or directory [...] -- You are receiving this mail because: You are the assignee for the bug.