Summary: | Weston (1.8.92) segfaults at startup on Raspberry Pi in `rpi_flippipe_init()` | ||
---|---|---|---|
Product: | Wayland | Reporter: | John Sadler <deathofathousandpapercuts> |
Component: | weston | Assignee: | Wayland bug list <wayland-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | blocker | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Patch to fix segfault in RPi backend at startup |
Bug reports are nice, but please send patches to the mailing list, so we can review and track them at http://patchwork.freedesktop.org/project/wayland/list/ . Thanks (In reply to Pekka Paalanen from comment #1) > Bug reports are nice, but please send patches to the mailing list, so we can > review and track them at > http://patchwork.freedesktop.org/project/wayland/list/ . > > Thanks OK, done: http://patchwork.freedesktop.org/patch/58749/ Thanks, John Fixed in master: commit ca510d06dca3e47e434a50cee105e96c9e82599c Author: John Sadler <deathofathousandpapercuts@gmail.com> Date: Sat Sep 5 15:01:38 2015 +0100 rpi: fix segfault at startup in rpi_flippipe_init() v2 |
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.
Created attachment 118087 [details] 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.