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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to