<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 --- - Weston crash when weston-desktop-shell and weston-keyboard missing"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82957">82957</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Weston crash when weston-desktop-shell and weston-keyboard missing
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ppaalanen@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>1.5.0
</td>
</tr>
<tr>
<th>Component</th>
<td>weston
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr></table>
<p>
<div>
<pre>If weston cannot find both weston-desktop-shell and weston-keyboard, it will
crash as below. In my tests, I could not reproduce the crash if only one of
them was missing.
[19:28:39.062] Loading module '/home/pq/local/lib/weston/desktop-shell.so'
[19:28:39.071] Loading module '/home/pq/local/lib/weston/xwayland.so'
[19:28:39.084] unlinking stale lock file /tmp/.X1-lock
[19:28:39.085] xserver listening on display :1
[19:28:39.098] launching '/home/pq/local/libexec/weston-desktop-shell'
[19:28:39.099] [19:28:39.099] input_method died, respawning...
compositor: executing '/home/pq/local/libexec/weston-desktop-shell' failed: No
such file or directory
[19:28:39.099] launching '/home/pq/local/libexec/weston-keyboard'
[19:28:39.100] /home/pq/local/libexec/weston-desktop-shell died, respawning...
[19:28:39.100] launching '/home/pq/local/libexec/weston-desktop-shell'
[19:28:39.100] compositor: executing '/home/pq/local/libexec/weston-keyboard'
failed: No such file or directory
[19:28:39.101] compositor: executing
'/home/pq/local/libexec/weston-desktop-shell' failed: No such file or directory
Program received signal SIGSEGV, Segmentation fault.
0x000003e8000037eb in ?? ()
(gdb) bt
#0 0x000003e8000037eb in ?? ()
#1 0x00007ffff7bd231f in wl_signal_emit (data=0xab1a80, signal=0xab1af0) at
src/wayland-server.h:261
#2 wl_client_destroy (client=0xab1a80) at src/wayland-server.c:667
#3 0x00007ffff7bd24e9 in wl_client_connection_data (fd=<optimized out>,
mask=<optimized out>, data=0xab1a80)
at src/wayland-server.c:348
#4 0x00007ffff7bd43e0 in wl_event_loop_dispatch (loop=0x6281c0,
timeout=<optimized out>) at src/event-loop.c:419
#5 0x00007ffff7bd2a65 in wl_display_run (display=0x628130) at
src/wayland-server.c:986
#6 0x0000000000408774 in main (argc=1, argv=0x7fffffffdcf8) at
src/compositor.c:4420</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>