<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 during tear-down due to deletion of NULL `backend`, when using RPi backend"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91886">91886</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Weston (1.8.92) segfaults during tear-down due to deletion of NULL `backend`, when using RPi backend
</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>normal
</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=118088" name="attach_118088" title="Patch to prevent segfault in teardown when using RPi backend">attachment 118088</a> <a href="attachment.cgi?id=118088&action=edit" title="Patch to prevent segfault in teardown when using RPi backend">[details]</a></span>
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.</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>