[Wayland-bugs] [Bug 91886] Weston (1.8.92) segfaults during tear-down due to deletion of NULL `backend`, when using RPi backend
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Sep 4 13:00:52 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=91886
Bug ID: 91886
Summary: Weston (1.8.92) segfaults during tear-down due to
deletion of NULL `backend`, when using RPi backend
Product: Wayland
Version: unspecified
Hardware: ARM
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: weston
Assignee: wayland-bugs at lists.freedesktop.org
Reporter: deathofathousandpapercuts at gmail.com
Created attachment 118088
--> https://bugs.freedesktop.org/attachment.cgi?id=118088&action=edit
Patch to prevent segfault in teardown when using RPi backend
When running with the RPi backend, Weston sefaults during shutdown. This is due
to the fact that `compositor->backend` is never initialised, and there is no
NULL check prior to calling `destroy()`.
I'm attaching a small patch that fixes the issue by making
`rpi_backend_create()` intialise `compositor->backend` - just like the X11
backend does. Please consider this patch for inclusion on master.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150904/54527332/attachment.html>
More information about the wayland-bugs
mailing list