Summary: | double free or corruption | ||
---|---|---|---|
Product: | Wayland | Reporter: | U. Artie Eoff <ullysses.a.eoff> |
Component: | weston | Assignee: | Wayland bug list <wayland-bugs> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | critical | ||
Priority: | medium | CC: | jason |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | gdb backtrace |
Description
U. Artie Eoff
2013-06-24 19:09:00 UTC
This started with the following Wayland commit: 96afa34: http://cgit.freedesktop.org/wayland/wayland/commit/?id=96afa347762bd9796288e8052ccc42989a68386d In weston source directory, run: TESTS=subsurface-test make check (In reply to comment #2) > In weston source directory, run: > > TESTS=subsurface-test make check Ugh... In weston tests directory, run $ make check TESTS=subsurface-test Created attachment 81415 [details]
gdb backtrace
jekstrand identified the culprit: http://cgit.freedesktop.org/wayland/weston/tree/src/compositor.c#n2210 ...commenting out that line fixes the core dump. Other suspects that might result in double-free's are at: ./src/shell.c:1009: free(resource); ./src/shell.c:3617: free(resource); ./src/shell.c:3696: free(resource); ./src/shell.c:3919: free(resource); ./src/text-backend.c:537: free(resource); ./src/text-backend.c:750: free(resource); ./src/compositor.c:2210: free(resource); ./src/compositor.c:2517: free(resource); ./src/input.c:43: free(resource); ./src/data-device.c:558: free(resource); However, I ran a few tests to hit "some" of those code paths and found no indication of issue. |
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.