Summary: | st_framebuffer might leak on certain circumstances | ||
---|---|---|---|
Product: | Mesa | Reporter: | Yong Zhang <zhangyong> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED MOVED | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | ||
Version: | 18.2 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | proposed patch |
Description
Yong Zhang
2018-10-16 06:31:59 UTC
Proposed solution: do not use st_framebuffer_iface address as hash key, use st_framebuffer_iface->ID instead. According to st_api.h, ID is "Identifier that uniquely identifies the framebuffer interface object.", which is guaranteed to be unique. Please refer to attached patch. Created attachment 142041 [details] [review] proposed patch From a quick skim at the report - it does sound similar to the issue described here [1]. Feel free to try the patch. If it doesn't help please submit any patches as described here [2] [1] https://patchwork.freedesktop.org/patch/218289/ [2] https://www.mesa3d.org/submittingpatches.html -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1031. |
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.