[Wayland-bugs] [Bug 72845] New: Weston SEGV while hot-unplug output with actively rendering client

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 18 12:52:30 PST 2013


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

          Priority: medium
            Bug ID: 72845
          Assignee: wayland-bugs at lists.freedesktop.org
           Summary: Weston SEGV while hot-unplug output with actively
                    rendering client
          Severity: critical
    Classification: Unclassified
                OS: All
          Reporter: ullysses.a.eoff at intel.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: weston
           Product: Wayland

Created attachment 90946
  --> https://bugs.freedesktop.org/attachment.cgi?id=90946&action=edit
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

-- 
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/20131218/e0a8db58/attachment.html>


More information about the Wayland-bugs mailing list