<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Segmentation fault in click_to_activate_binding (shell.c, line 4481 for weston 1.3.1)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=73066">73066</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Segmentation fault in click_to_activate_binding (shell.c, line 4481 for weston 1.3.1)
</td>
</tr>
<tr>
<th>Severity</th>
<td>minor
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>florian.graetz@ebohmann.de
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86 (IA32)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>1.3.0
</td>
</tr>
<tr>
<th>Component</th>
<td>weston
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr></table>
<p>
<div>
<pre>When I click into the black screen of the compositor, it fails with a
segmentation fault in line 4481 in shell.c:
activate_binding(seat, data, seat->pointer->focus->surface);
In my scenario, focus is null. I understand, that this is propably caused by an
improperly (and self-written) desktop shell. However, a good practice would be
a) either to guarantee, that focus is non-null, whenever this function is
called, or
b) to check focus on null and logging an expressive error message instead of
seg-faulting.
Regards, Florian.</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>