<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Weston (1.8.92) segfaults at startup on Raspberry Pi in `rpi_flippipe_init()`"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91885">91885</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Weston (1.8.92) segfaults at startup on Raspberry Pi in `rpi_flippipe_init()`
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>ARM
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>blocker
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>weston
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>deathofathousandpapercuts@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=118087" name="attach_118087" title="Patch to fix segfault in RPi backend at startup">attachment 118087</a> <a href="attachment.cgi?id=118087&action=edit" title="Patch to fix segfault in RPi backend at startup">[details]</a></span>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>