weston crash when we do power off / on
I am using weston 8.0. When I am pressing power off / on button (kind of mobile button), call comes to https://gitlab.freedesktop.org/wayland/weston/-/blob/master/libweston/input.c#L2188 then it crashes.
[06:02:52.018] egl image is NULL [06:02:52.035] egl image is NULL [06:02:52.052] egl image is NULL [06:02:52.069] egl image is NULL [06:02:52.085] egl image is NULL [06:02:52.101] egl image is NULL [06:02:52.118] egl image is NULL [06:02:52.135] egl image is NULL [06:02:52.151] egl image is NULL [06:02:52.171] egl image is NULL [06:02:52.184] egl image is NULL [06:02:52.201] egl image is NULL [06:02:52.218] egl image is NULL [06:02:52.234] egl image is NULL [06:02:52.251] egl image is NULL
[06:02:52.262] caught signal 15 [06:02:52.263] backtrace: [06:02:52.263] Obtained 8 stack frames. [06:02:52.263] /usr/lib/weston/libexec_weston.so.0(+0x7434) [0x7f82621434] [06:02:52.264] /usr/lib/weston/libexec_weston.so.0(+0x756c) [0x7f8262156c] [06:02:52.264] /usr/lib/libwayland-server.so.0(+0xa16c) [0x7f8240e16c] [06:02:52.264] /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xd0) [0x7f8240edf0] [06:02:52.264] /usr/lib/libwayland-server.so.0(wl_display_run+0x2c) [0x7f8240c67c] [06:02:52.264] /usr/lib/weston/libexec_weston.so.0(wet_main+0x1c44) [0x7f826265ec] [06:02:52.265] /lib/libc.so.6(__libc_start_main+0xf0) [0x7f824c2118] [06:02:52.265] weston(+0x6d8) [0x557ac2a6d8]
[06:02:52.265] destroy output while page flip pending [06:02:52.279] background surface gone [06:02:52.333] event4 - fts: device removed [06:02:52.333] event0 - qpnp_pon: device removed [06:02:52.333] event3 - gpio-keys: device removed [06:02:52.333] event1 - qbt_key_input: device removed [06:02:52.333] event6 - kona-mtp-snd-card Button Jack: device removed [06:02:52.334] event5 - kona-mtp-snd-card Headset Jack: device removed [06:02:52.335] destroy output while page flip pending [06:02:52.335] egl image is NULL [06:02:52.341] destroy output while page flip pending [06:02:52.341] Output 'DSI-1' no heads left, disabling.