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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to