<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-launch always crashes with SIGHUP"
href="https://bugs.freedesktop.org/show_bug.cgi?id=63004">63004</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>weston-launch always crashes with SIGHUP
</td>
</tr>
<tr>
<th>Severity</th>
<td>critical
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ullysses.a.eoff@intel.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>Created <span class=""><a href="attachment.cgi?id=77285" name="attach_77285" title="gdb log 1">attachment 77285</a> <a href="attachment.cgi?id=77285&action=edit" title="gdb log 1">[details]</a></span>
gdb log 1
The weston-launch program always crashes with a SIGHUP (Hangup) regardless of
how Weston exits. The SIGHUP always occurs during the call to pam_end() but
with various locations within that call. See attached gdb backtraces for more
details. Was able to verify this on two separate Fedora 17 (64 bit) OS's.
However, could not produce the issue on the Ubuntu OS.
S/W Stack
---------------
wayland (master) heads/master-0-g728b641
drm (master) heads/master-0-gca678bc
macros (master) heads/master-0-gc98b41d
glproto (master) heads/master-0-g8e3407e
dri2proto (master) heads/master-0-gead89ad
mesa (master) heads/master-0-g1165ff1
kbproto (master) heads/master-0-gf7022f5
libX11 (master) heads/master-0-gf49bb2d
libxkbcommon (master) heads/master-0-gbb620df
pixman (master) heads/master-0-gd8ac35a
cairo (master) heads/master-0-gfdec6b3
weston (master) heads/master-0-g57edf7f
see attached yum package list, too.
Steps
-----
1. In terminal A, execute 'weston-launch'
2. In terminal B, execute 'sudo gdb -p <weston-launch PID>'
3. In terminal B (gdb session), type 'c' to continue weston-launch process
4. In terminal C, execute 'pkill -15 -x weston' (try other signals, too)
5. In terminal B (gdb session), observe that gdb detected SIGHUP
6. In terminal B (gdb session), type 'q' to exit gdb debugging session
7. In terminal A, observe that "Hangup" is printed to console
8. In terminal A, execute 'echo $?' and observe that it prints "129"</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>