[Wayland-bugs] [Bug 92384] Bogus use of wl_surface scaling leads to compositor crash

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Oct 10 06:08:40 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=92384

            Bug ID: 92384
           Summary: Bogus use of wl_surface scaling leads to compositor
                    crash
           Product: Wayland
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: weston
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: bugs at linkmauve.fr

Created attachment 118797
  --> https://bugs.freedesktop.org/attachment.cgi?id=118797&action=edit
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 (https://github.com/glfw/glfw)
2. Get Citra (http://citra-emu.org/) 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20151010/f9fa64d3/attachment.html>


More information about the wayland-bugs mailing list