Segfault in weston_desktop_surface_get_maximized in desktop-shell during output resize
To reproduce with latest main
(a414d379):
- Start weston nested under wayland/x11
- Open weston-terminal within the nested weston window by clicking on the icon at the top-left
- Close weston-terminal
- While the fade-out destruction animation is in progress resize the weston window. For nested under wayland switching the focus away from the nested weston window also works (this is treated internally as an output resize).
- Crash
0x00007ffff7f4a141 in weston_desktop_surface_get_maximized (surface=0x0)
at ../libweston/desktop/surface.c:661
661 if (surface->implementation->get_maximized == NULL)
A log of the crash with -l proto,log
including the full gdb backtrace at the end: weston-nested-wayland-crash.txt
Edited by Alexandros Frantzis