Assert when pressing the power button of a screen
When pressing the power button of a screen, it triggered an assert with this stack trace, but I couldn’t reproduce afterwards:
(gdb) bt
#0 0x00007f1f367e88ec in () at /usr/lib/libc.so.6
#1 0x00007f1f36799ea8 in raise () at /usr/lib/libc.so.6
#2 0x00007f1f3678353d in abort () at /usr/lib/libc.so.6
#3 0x00007f1f3678345c in () at /usr/lib/libc.so.6
#4 0x00007f1f367929f6 in () at /usr/lib/libc.so.6
#5 0x00007f1f367158ba in weston_coord_surface_to_global (view=0xcd2a9, view@entry=0x5603ba01e710, coord=...) at ../libweston/compositor.c:722
#6 0x00007f1f305281a6 in get_panel_size (shell=0x5603ba0630a0, height=<synthetic pointer>, width=<synthetic pointer>, view=0x5603ba01e710) at ../desktop-shell/shell.c:340
#7 get_output_panel_size (height=<synthetic pointer>, width=<synthetic pointer>, output=0x5603b97a1e50, shell=0x5603ba0630a0) at ../desktop-shell/shell.c:368
#8 get_output_work_area (shell=0x5603ba0630a0, output=0x5603b97a1e50, area=area@entry=0x7ffcb6fb8ff0) at ../desktop-shell/shell.c:395
#9 0x00007f1f305296eb in get_maximized_size (height=<synthetic pointer>, width=<synthetic pointer>, shsurf=0x5603b9fbe530) at ../desktop-shell/shell.c:2506
#10 set_fullscreen (shsurf=0x5603b9fbe530, fullscreen=<optimized out>, output=0x0) at ../desktop-shell/shell.c:2539
#11 0x00007f1f3052d858 in shell_reposition_view_on_output_change (view=0x5603b9fa4bd0) at ../desktop-shell/shell.c:4678
#12 shell_output_changed_move_layer (shell=<optimized out>, layer=0x5603ba063388, data=<optimized out>) at ../desktop-shell/shell.c:4701
#13 0x00007f1f3052d8d2 in shell_for_each_layer (func=0x7f1f3052d6f0 <shell_output_changed_move_layer>, data=0x0, shell=0x5603ba0630a0) at ../desktop-shell/shell.c:4689
#14 shell_output_destroy (shell_output=0x5603ba05f6e0) at ../desktop-shell/shell.c:4710
#15 0x00007f1f3671c5fe in weston_signal_emit_mutable (data=0x5603b97a2f70, signal=0x5603b97a30c0) at ../shared/signal.c:52
#16 weston_compositor_remove_output (output=0x5603b97a2f70) at ../libweston/compositor.c:6778
#17 0x00007f1f3671c760 in weston_output_disable () at ../libweston/compositor.c:6787
#18 0x00005603ba0605d0 in ()
#19 0x00007f1f3698b28e in drm_head_disable (head=0x5603b97a2f70) at ../compositor/main.c:2564
#20 drm_heads_changed (listener=<optimized out>, arg=0x5603b9793fd0) at ../compositor/main.c:2592
#21 0x00007f1f3670f2b1 in wl_signal_emit (data=0xcd2a9, signal=0x5603b97943f8) at /usr/include/wayland-server-core.h:491
#22 weston_compositor_call_heads_changed (data=0xcd2a9) at ../libweston/compositor.c:5596
#23 0x00007f1f366dca63 in wl_event_loop_dispatch_idle (loop=loop@entry=0x5603b9791c30) at ../wayland/src/event-loop.c:969
#24 0x00007f1f366dcb74 in wl_event_loop_dispatch (loop=0x5603b9791c30, timeout=timeout@entry=-1) at ../wayland/src/event-loop.c:1032
#25 0x00007f1f366d9e67 in wl_display_run (display=0x5603b9791b40) at ../wayland/src/wayland-server.c:1471
#26 0x00007f1f3698fc37 in execute_autolaunch (config=0x5603b9791e10, wet=0x7ffcb6fb9640) at ../compositor/main.c:3692
#27 wet_main (argc=<optimized out>, argv=<optimized out>, test_data=0x0) at ../compositor/main.c:4077
#28 0x00007f1f36784790 in () at /usr/lib/libc.so.6
#29 0x00007f1f3678484a in __libc_start_main () at /usr/lib/libc.so.6
#30 0x00005603b962f055 in _start ()