Re: [PATCH weston v2] compositor: fix crash when destroying incompletely created output

2015-08-07 Thread Bryce Harrington
On Fri, Aug 07, 2015 at 12:00:12PM -0500, Derek Foreman wrote: > Thanks, > > Reviewed-by: Derek Foreman Thanks, pushed to trunk: To ssh://git.freedesktop.org/git/wayland/weston 58106d7..2f7d33d master -> master > On 06/08/15 07:04 PM, Dawid Gajownik wrote: > > When the output can't be comp

Re: [PATCH weston v2] compositor: fix crash when destroying incompletely created output

2015-08-07 Thread Derek Foreman
Thanks, Reviewed-by: Derek Foreman On 06/08/15 07:04 PM, Dawid Gajownik wrote: > When the output can't be completely created in the backend (for example > lack of memory), weston_compositor_add_output() is never run. In such > a case output->link is not initialized. Letter, when > weston_output_

[PATCH weston v2] compositor: fix crash when destroying incompletely created output

2015-08-06 Thread Dawid Gajownik
When the output can't be completely created in the backend (for example lack of memory), weston_compositor_add_output() is never run. In such a case output->link is not initialized. Letter, when weston_output_destroy() is called, application crashes on wl_list_remove(&output->link). This problem h