https://bugs.kde.org/show_bug.cgi?id=492422
--- Comment #19 from Mark Wielaard <m...@klomp.org> --- (In reply to nilskemail+kde from comment #18) > I noticed a few other cases of valgrind reporting a duplicate close of > dmabuf fds: > > ==727618== File descriptor 30: /dmabuf:727694-WPEWebProcess is already closed > ==727618== at 0xA859F9C: close (close.c:27) > ==727618== by 0x54063871: create_wl_buffer (platform_wayland.c:1422) > ==727618== by 0x54063A9A: dri2_wl_create_wayland_buffer_from_image > (platform_wayland.c:1634) > ==727618== by 0x54056736: dri2_create_wayland_buffer_from_image > (egl_dri2.c:2413) > ==727618== by 0x5404F660: eglCreateWaylandBufferFromImageWL > (eglapi.c:2395) > ==727618== by 0x4856B97: on_export_wl_egl_image (cog-platform-wl.c:1708) > ==727618== by 0xC885055: ffi_call_unix64 (unix64.S:104) > ==727618== by 0xC88169F: ffi_call_int.lto_priv.0 (ffi64.c:673) > ==727618== by 0xC8844ED: ffi_call (ffi64.c:710) > ==727618== by 0xFCF1B22: wl_closure_invoke.constprop.0 (connection.c:1228) > ==727618== by 0xFCF6831: wl_client_connection_data (wayland-server.c:444) > ==727618== by 0xFCF4C91: wl_event_loop_dispatch (event-loop.c:1105) > > This is running with mesa 24.1.7 so the accompanying code where it gets > closed is > https://gitlab.freedesktop.org/mesa/mesa/-/blob/mesa-24.1.7/src/egl/drivers/ > dri2/platform_wayland.c?ref_type=tags#L1422 though I am not as experienced > as Michael so I could not track down where they get allocated. I think this comes from DMA_BUF_IOCTL_EXPORT_SYNC_FILE you could check with strace if your program calls that ioctl. valgrind doesn't seem to track any of the DMA_BUF_IOCTLs at the moment. Maybe we should make that a separate bug. -- You are receiving this mail because: You are watching all bug changes.