<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 --- - SIGSEGV in shell_surface_move"
href="https://bugs.freedesktop.org/show_bug.cgi?id=68649">68649</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>SIGSEGV in shell_surface_move
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>rosslagerwall@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>weston
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr></table>
<p>
<div>
<pre>Sometimes clicking on the titlebar of a client causes weston to segfault.
This happened when I was testing wayland and weston master with eog and
nautilus.
[11:58:54.490] caught signal: 11
[11:58:54.490] 0: /home/ross/blead/wl/bin/weston (on_caught_signal+0x2c)
[0x40f320]
[11:58:54.491] 1: /usr/lib/libc.so.6 (__restore_rt+0x0) [0x7f6c15b9f44f]
[11:58:54.491] 2: /home/ross/blead/wl/lib/weston/desktop-shell.so
(shell_surface_move+0xc9) [0x7f6c0c2511de]
[11:58:54.492] 3: /usr/lib/libffi.so.6 (ffi_call_unix64+0x4c) [0x7f6c17176d8c]
[11:58:54.493] 4: /usr/lib/libffi.so.6 (ffi_call+0x1fc) [0x7f6c171766bc]
[11:58:54.493] 5: /home/ross/blead/wl/lib/libwayland-server.so.0
(wl_closure_invoke+0x15a) [0x7f6c17382afa]
[11:58:54.494] 6: /home/ross/blead/wl/lib/libwayland-server.so.0
(wl_client_connection_data+0x19e) [0x7f6c1737f47e]
[11:58:54.495] 7: /home/ross/blead/wl/lib/libwayland-server.so.0
(wl_event_loop_dispatch+0x62) [0x7f6c173811b2]
[11:58:54.495] 8: /home/ross/blead/wl/lib/libwayland-server.so.0
(wl_display_run+0x25) [0x7f6c1737fa55]
[11:58:54.495] 9: /home/ross/blead/wl/bin/weston (main+0x586) [0x40fd5d]
[11:58:54.496] 10: /usr/lib/libc.so.6 (__libc_start_main+0xf5) [0x7f6c15b8bbc5]
[11:58:54.496] 11: /home/ross/blead/wl/bin/weston (_start+0x29) [0x407f99]
[11:58:54.497] 12: ? (?+0x29) [0x29]
child 3579 exited
Trace/breakpoint trap (core dumped)
The troublesome code is in shell.c/shell_surface_move -- seat->touch is NULL
which
clearly causes a SEGV:
} else if (seat->touch->grab_serial == serial) {
I don't have any touch devices. Should there be some extra check here?</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>