I am launching weston on X11 backend. Closing weston compositor during weston lock causes segmentation fault. See attached gdb backtrace for more info. Steps to reproduce: 1. Launch weston on X11 backend : weston –i5& 2. Allow weston to lock 3. Close weston via tool bar button ‘X’ Environment: wayland (master) heads/master-0-g1bf13ae drm (master) heads/master-0-g1cb5fc7 mesa (master) heads/master-0-g64278b3 libva (master) heads/master-0-ge30e29a intel-driver (master) heads/master-0-g75a7b09 cairo (master) heads/master-0-gbb17403 libinput (master) heads/master-0-ge49a988 weston (master) heads/master-0-gfe9671e gstreamer (master) heads/master-0-gf85ce91
Created attachment 96682 [details] gdb_backtrace
Created attachment 96683 [details] gdb_backtrace1
I sent a patch back in January that would fix this bug as a side effect. http://lists.freedesktop.org/archives/wayland-devel/2014-January/012969.html
Fixed by: commit 304996d182874ded26adce40ce1c29210fc5352b Author: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> Date: Fri Apr 11 13:57:15 2014 +0300 shell: Fix view repositioning logic for output move and destroy Previously, the repositioning logic would iterate the compositor's list of layers and move the views on those layers. However, that failed in two different ways: it didn't cover hidden workspaces and crashed when the display was locked. This patch changes the logic to explicit iterate over all the layers owned by the shell. The iteration is done through a helper function, shell_for_each_layer(). https://bugs.freedesktop.org/show_bug.cgi?id=76859 https://bugs.freedesktop.org/show_bug.cgi?id=77290
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.