[Wayland-bugs] [Bug 91885] Weston (1.8.92) segfaults at startup on Raspberry Pi in `rpi_flippipe_init()`

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 4 12:55:36 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91885

            Bug ID: 91885
           Summary: Weston (1.8.92) segfaults at startup on Raspberry Pi
                    in `rpi_flippipe_init()`
           Product: Wayland
           Version: unspecified
          Hardware: ARM
                OS: Linux (All)
            Status: NEW
          Severity: blocker
          Priority: medium
         Component: weston
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: deathofathousandpapercuts at gmail.com

Created attachment 118087
  --> https://bugs.freedesktop.org/attachment.cgi?id=118087&action=edit
Patch to fix segfault in RPi backend at startup

When running with the RPi backend, Weston now segfaults at startup on the
line:

    flippipe->clk_id = output->base.compositor->presentation_clock;

in `rpi_flippipe_init()`.

This is because `output->base.compositor` is NULL. This problem did not exist
on 1.8.0, and it looks like it may have been introduced by 954f183e2f.

I'm attaching a small patch that ensures that the `compositor` is initialised
in `rpi_backend` and the output base, prior to the above function being called.

Please consider this patch for inclusion on master as it's currently impossible
to run Weston on RPi with this defect.

-- 
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/3f9e687f/attachment.html>


More information about the wayland-bugs mailing list