<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:rob@robster.org.uk" title="Rob Bradford <rob@robster.org.uk>"> <span class="fn">Rob Bradford</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault from weston_compositor_pick_surface during a destroy_resource"
href="https://bugs.freedesktop.org/show_bug.cgi?id=65986">bug 65986</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault from weston_compositor_pick_surface during a destroy_resource"
href="https://bugs.freedesktop.org/show_bug.cgi?id=65986#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault from weston_compositor_pick_surface during a destroy_resource"
href="https://bugs.freedesktop.org/show_bug.cgi?id=65986">bug 65986</a>
from <span class="vcard"><a class="email" href="mailto:rob@robster.org.uk" title="Rob Bradford <rob@robster.org.uk>"> <span class="fn">Rob Bradford</span></a>
</span></b>
<pre>commit 27b1793857953927f842065a57cb5821a86bc671
Author: Rob Bradford <<a href="mailto:rob@linux.intel.com">rob@linux.intel.com</a>>
Date: Wed Jun 26 18:08:46 2013 +0100
compositor: rebuild the global list if we've removed a surface from it
The list of surfaces used by weston_compositor_pick_surface() is
maintained in list of surfaces stored on the compositor. This list is
generated from the surfaces across all the layers using
weston_compositor_build_surface_list.
When destroying a surface the surface is "unmapped" with
weston_surface_unmap which removes it from the layer list. However since
the compositor surface list was only being rebuilt when the output was
repainted a call to weston_compositor_pick_surface before the next
output repaint would use an outdated surface list containing surfaces
that have been partially destroyed.
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault from weston_compositor_pick_surface during a destroy_resource"
href="show_bug.cgi?id=65986">https://bugs.freedesktop.org/show_bug.cgi?id=65986</a>
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - SIGSEGV in wl_closure_marshal() core dumps Weston (corrupted double-linked list)"
href="show_bug.cgi?id=66173">https://bugs.freedesktop.org/show_bug.cgi?id=66173</a>
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - received signal SIGSEGV on weston_surface_from_global_float()"
href="show_bug.cgi?id=66198">https://bugs.freedesktop.org/show_bug.cgi?id=66198</a></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>