Summary: | weston dmabuf fd leak | ||
---|---|---|---|
Product: | Wayland | Reporter: | kevan.lan <lby> |
Component: | weston | Assignee: | Wayland bug list <wayland-bugs> |
Status: | RESOLVED NOTOURBUG | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | client_debug log |
Description
kevan.lan
2017-03-21 09:35:35 UTC
The FDs are closed in linux_dmabuf_buffer_destroy, called from destroy_linux_dmabuf_wl_buffer. Can you check with WAYLAND_DEBUG=client, that the client is actually destroying the wl_buffer objects it creates? Created attachment 130340 [details]
client_debug log
(In reply to kevan.lan from comment #2) > Created attachment 130340 [details] > client_debug log Thanks Daniel Stone. I add a client_debug log. It seems that the client is not destroy the wl_buffer objects. How to destroy the wl_buffer objects by client ? I add wl_buffer_destroy(buffer->buffer) to fix it.Thanks Daniel Stone. This was a client issue, nothing we can do without having per-client quotas to detect bogus clients. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.