<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 SEGV while hot-unplug output with actively rendering client"
href="https://bugs.freedesktop.org/show_bug.cgi?id=72845">72845</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Weston SEGV while hot-unplug output with actively rendering client
</td>
</tr>
<tr>
<th>Severity</th>
<td>critical
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ullysses.a.eoff@intel.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</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=90946" name="attach_90946" title="gdb backtrace, segv 1">attachment 90946</a> <a href="attachment.cgi?id=90946&action=edit" title="gdb backtrace, segv 1">[details]</a></span>
gdb backtrace, segv 1
Weston segfaults in the bowels of the EGL when unplugging an output while that
output has an actively rendering client application present. I am able to
reproduce this about 95% of the time on my first try with weston-terminal.
With weston-terminal, running a command that generates a lot of output will
trigger this easier (e.g. "ls -alR /")
1. Two cold-plugged displays
2. Launch weston
3. Launch weston-terminal and maximize it onto the primary (left) display.
4. Run the following command in the weston-terminal 'ls -alR /'
5. Unplug the primary display (the one with weston-terminal on it)
6. Observe weston-terminal moves to secondary (right) display and secondary
display becomes the primary display.
7. Plug in the original primary display
8. Observe the hotplugged display now becomes secondary display (right).
9. Move weston-terminal back to the original display
10. Execute 'ls -alR /' in the weston-terminal again.
11. Unplug secondary display (the one with weston-terminal on it)
12. Observe Weston segmentation fault</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>