phoc 0.12.0+phosh 0.16.0 (potentially earlier) leaves phosh crashing
My L5 with phosh 0.16.0 crashes with phoc 0.12.0 but not with phoc 0.10.0:
(gdb) bt
#0 __GI_raise (sig=sig@entry=5) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x0000aaaac29419e0 in _phosh_log_abort (breakpoint=1) at ../src/log.c:35
#2 phosh_log_writer_default (log_level=6, fields=0xffffcc243bd0, n_fields=6, log_domains=0x0) at ../src/log.c:104
#3 0x0000ffff9a979ab8 in g_log_structured_array () at /lib/aarch64-linux-gnu/libglib-2.0.so.0
#4 0x0000ffff9a97a5b4 in g_log_structured_standard () at /lib/aarch64-linux-gnu/libglib-2.0.so.0
#5 0x0000aaaac2950460 in phosh_wayland_constructed (object=<optimized out>) at ../src/phosh-wayland.c:270
#6 0x0000ffff9aa7cf6c in () at /lib/aarch64-linux-gnu/libgobject-2.0.so.0
#7 0x0000ffff9aa7e658 in g_object_new_with_properties () at /lib/aarch64-linux-gnu/libgobject-2.0.so.0
#8 0x0000ffff9aa7ef9c in g_object_new () at /lib/aarch64-linux-gnu/libgobject-2.0.so.0
#9 0x0000aaaac294f978 in phosh_wayland_get_default () at ../src/phosh-wayland.c:343
#10 0x0000aaaac28b80d4 in main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:134
phoc crashes shortly afterwards, but I guess (haven't checked in detail) that this is the same as #257
Output from the journal around the time of the crash
Feb 25 10:20:55 poseidon phoc[598]: Enabling shell mode
...
Feb 25 10:20:55 poseidon phoc[598]: [backend/drm/util.c:199] Unable to add DRM framebuffer: No such file or directory
Feb 25 10:20:55 poseidon phoc[598]: [backend/drm/renderer.c:322] Failed to import buffer
Feb 25 10:20:55 poseidon phoc[598]: [backend/drm/drm.c:413] connector DSI-1: drm_plane_lock_surface failed
Feb 25 10:20:55 poseidon dbus-daemon[659]: [session uid=1000 pid=659] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.29' (uid=1000 pid=858 comm="/usr/libexec/phosh ")
Feb 25 10:20:55 poseidon systemd[628]: Starting Accessibility services bus...
Feb 25 10:20:55 poseidon dbus-daemon[659]: [session uid=1000 pid=659] Successfully activated service 'org.a11y.Bus'
Feb 25 10:20:55 poseidon systemd[628]: Started Accessibility services bus.
Feb 25 10:20:56 poseidon dbus-daemon[659]: [session uid=1000 pid=659] Activating service name='org.mobian_project.CallAudio' requested by ':1.28' (uid=1000 pid=858 comm="/usr/libexec/phosh ")
Feb 25 10:20:56 poseidon callaudiod[870]: no available input found!
Feb 25 10:20:56 poseidon dbus-daemon[659]: [session uid=1000 pid=659] Successfully activated service 'org.mobian_project.CallAudio'
Feb 25 10:20:56 poseidon phosh[858]: Could not find needed globals
outputs: 0, layer_shell: 0xaaaae0a06a20, idle_manager: 0xaaaae0a05f80, inhibit: 0xaaaae0a05d30, xdg_wm: 0xaaaae0a08290, xdg_output: 0xaaaae0a08580, wlr_output_manager: 0xaaaae09b61a0, wlr_foreign_toplevel_manager: 0xaaaae09b4440
Feb 25 10:20:57 poseidon systemd-coredump[875]: Process 858 (phosh) of user 1000 dumped core.
Stack trace of thread 858:
#0 0x0000ffffa118a2ac __GI_raise (libc.so.6 + 0x372ac)
#1 0x0000aaaaac7919e0 n/a (phosh + 0xb19e0)
#2 0x0000ffffa1922ab8 g_log_structured_array (libglib-2.0.so.0 + 0x5aab8)
#3 0x0000ffffa19235b4 g_log_structured_standard (libglib-2.0.so.0 + 0x5b5b4)
#4 0x0000aaaaac7a0460 n/a (phosh + 0xc0460)
#5 0x0000ffffa1a25f6c n/a (libgobject-2.0.so.0 + 0x1af6c)
#6 0x0000ffffa1a27658 g_object_new_with_properties (libgobject-2.0.so.0 + 0x1c658)
#7 0x0000ffffa1a27f9c g_object_new (libgobject-2.0.so.0 + 0x1cf9c)
#8 0x0000aaaaac79f978 n/a (phosh + 0xbf978)
#9 0x0000aaaaac7080d4 main (phosh + 0x280d4)
#10 0x0000ffffa1177218 __libc_start_main (libc.so.6 + 0x24218)
#11 0x0000aaaaac708278 n/a (phosh + 0x28278)
#12 0x0000aaaaac708278 n/a (phosh + 0x28278)
Feb 25 10:20:57 poseidon systemd[1]: systemd-coredump@1-874-0.service: Succeeded.
Feb 25 10:20:57 poseidon kernel: edt_ft5x06 2-0038: Unable to fetch data, error: -6
Feb 25 10:20:57 poseidon phosh[598]: phoc: backend/drm/backend.c:20: get_drm_backend_from_backend: Assertion `wlr_backend_is_drm(wlr_backend)' failed.
...
Feb 25 10:20:57 poseidon phosh[598]: phoc: backend/drm/backend.c:20: get_drm_backend_from_backend: Assertion `wlr_backend_is_drm(wlr_backend)' failed.
Feb 25 10:20:57 poseidon systemd[1]: systemd-coredump@1-874-0.service: Consumed 1.030s CPU time.
Feb 25 10:20:57 poseidon kernel: NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #08!!!
Feb 25 10:20:57 poseidon kernel: NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #08!!!
Feb 25 10:20:57 poseidon gnome-session-binary[806]: WARNING: Application 'sm.puri.Phosh.desktop' killed by signal 5
Feb 25 10:20:57 poseidon gnome-session[806]: gnome-session-binary[806]: WARNING: Application 'sm.puri.Phosh.desktop' killed by signal 5
Feb 25 10:20:57 poseidon gnome-session-binary[806]: Unrecoverable failure in required component sm.puri.Phosh.desktop
Feb 25 10:20:57 poseidon phoc[598]: [backend/drm/drm.c:1594] drmHandleEvent failed