<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Bogus use of wl_surface scaling leads to compositor crash"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92384">92384</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Bogus use of wl_surface scaling leads to compositor crash
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>critical
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>weston
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>bugs@linkmauve.fr
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=118797" name="attach_118797" title="patch for glfw making it reproduce the crash">attachment 118797</a> <a href="attachment.cgi?id=118797&action=edit" title="patch for glfw making it reproduce the crash">[details]</a></span>
patch for glfw making it reproduce the crash
This happens on both Weston 1.9.0 and latest git as of the 10th of October.
In the attached patch against GLFW, wl_egl_window_resize is incorrectly called
in maybeChangeScale(), which leads to a client lockup and potentially a
compositor crash (I haven’t been able to reproduce it each time, but in a good
50%).
Steps to reproduce:
1. Clone, patch and install GLFW master (<a href="https://github.com/glfw/glfw">https://github.com/glfw/glfw</a>)
2. Get Citra (<a href="http://citra-emu.org/">http://citra-emu.org/</a>) or probably any other GLFW program
3. Start Weston with two mixed-scaling outputs
4. Run the GLFW program, and move it between the different outputs.</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>