Crash in rendering (wlr_egl_swap_buffers)
I'm not sure if this is phosh or Mesa, or something else. Anyway, what I did is run qemu, open kgx, connect via ssh a couple times, and run https://source.puri.sm/dorota.czaplejewicz/phosh/commits/layers a couple of times. When killing it, this happened:
purism@pureos:~$ coredumpctl -1 debug
Hint: You are currently not seeing messages from other users and the system.
Users in groups 'adm', 'systemd-journal' can see all messages.
Pass -q to turn off this notice.
PID: 361 (phoc)
UID: 1000 (purism)
GID: 1000 (purism)
Signal: 11 (SEGV)
Timestamp: Wed 2019-09-18 11:36:00 UTC (52s ago)
Command Line: /usr/bin/phoc -C /usr/share/phosh/rootston.ini -E bash -lc 'gnome-session --disable-acceleration-check --session=phosh'
Executable: /usr/bin/phoc
Control Group: /user.slice/user-1000.slice/session-1.scope
Unit: session-1.scope
Slice: user-1000.slice
Session: 1
Owner UID: 1000 (purism)
Boot ID: 1c7ff308b004432997919d96dbcbe5d6
Machine ID: 708e68dddc194663bf1ebaf795baad61
Hostname: pureos
Storage: /var/lib/systemd/coredump/core.phoc.1000.1c7ff308b004432997919d96dbcbe5d6.361.1568806560000000.lz4
Message: Process 361 (phoc) of user 1000 dumped core.
Stack trace of thread 361:
#0 0x00007f0b6ad7e454 n/a (n/a)
#1 0x00007f0b6854c7f7 n/a (kms_swrast_dri.so)
#2 0x00007f0b6854db79 n/a (kms_swrast_dri.so)
#3 0x00007f0b6854bed5 n/a (kms_swrast_dri.so)
#4 0x00007f0b6854c854 n/a (kms_swrast_dri.so)
#5 0x00007f0b68557471 n/a (kms_swrast_dri.so)
#6 0x00007f0b68557fa3 n/a (kms_swrast_dri.so)
#7 0x00007f0b688d2faf n/a (kms_swrast_dri.so)
#8 0x00007f0b684adaba n/a (kms_swrast_dri.so)
#9 0x00007f0b6478b38d n/a (libEGL_mesa.so.0)
#10 0x00007f0b6477c8c6 eglSwapBuffers (libEGL_mesa.so.0)
#11 0x000055700c69ca00 wlr_egl_swap_buffers (phoc)
#12 0x000055700c68f4a1 swap_drm_surface_buffers (phoc)
#13 0x000055700c68d4cc drm_connector_commit (phoc)
#14 0x000055700c6be6ee wlr_output_commit (phoc)
#15 0x000055700c67b722 output_render (phoc)
#16 0x000055700c6c95bc wlr_signal_emit_safe (phoc)
#17 0x000055700c6c95bc wlr_signal_emit_safe (phoc)
#18 0x000055700c68b64b page_flip_handler (phoc)
#19 0x00007f0b6a6c7e65 drmHandleEvent (libdrm.so.2)
#20 0x000055700c68e955 handle_drm_event (phoc)
#21 0x00007f0b6a7c4b72 wl_event_loop_dispatch (libwayland-server.so.0)
#22 0x000055700c678c17 wayland_event_source_dispatch (phoc)
#23 0x00007f0b6aa47f2e g_main_dispatch (libglib-2.0.so.0)
#24 0x00007f0b6aa481c8 g_main_context_iterate (libglib-2.0.so.0)
#25 0x00007f0b6aa484c2 g_main_loop_run (libglib-2.0.so.0)
#26 0x000055700c671a0f main (phoc)
#27 0x00007f0b6a2e009b __libc_start_main (libc.so.6)
#28 0x000055700c671baa _start (phoc)
Stack trace of thread 411:
#0 0x00007f0b6a3aa819 __poll (libc.so.6)
#1 0x00007f0b6aa48136 g_main_context_poll (libglib-2.0.so.0)
#2 0x00007f0b6aa4825c g_main_context_iteration (libglib-2.0.so.0)
#3 0x00007f0b6aa482a1 glib_worker_main (libglib-2.0.so.0)
#4 0x00007f0b6aa70415 g_thread_proxy (libglib-2.0.so.0)
#5 0x00007f0b69ba5fa3 start_thread (libpthread.so.0)
#6 0x00007f0b6a3b54cf __clone (libc.so.6)
Stack trace of thread 412:
#0 0x00007f0b6a3aa819 __poll (libc.so.6)
#1 0x00007f0b6aa48136 g_main_context_poll (libglib-2.0.so.0)
#2 0x00007f0b6aa4825c g_main_context_iteration (libglib-2.0.so.0)
#3 0x00007f0b644bdffd n/a (libdconfsettings.so)
#4 0x00007f0b6aa70415 g_thread_proxy (libglib-2.0.so.0)
#5 0x00007f0b69ba5fa3 start_thread (libpthread.so.0)
#6 0x00007f0b6a3b54cf __clone (libc.so.6)
Stack trace of thread 413:
#0 0x00007f0b6a3aa819 __poll (libc.so.6)
#1 0x00007f0b6aa48136 g_main_context_poll (libglib-2.0.so.0)
#2 0x00007f0b6aa484c2 g_main_loop_run (libglib-2.0.so.0)
#3 0x00007f0b6ac740d6 gdbus_shared_thread_func (libgio-2.0.so.0)
#4 0x00007f0b6aa70415 g_thread_proxy (libglib-2.0.so.0)
#5 0x00007f0b69ba5fa3 start_thread (libpthread.so.0)
#6 0x00007f0b6a3b54cf __clone (libc.so.6)
GNU gdb (Debian 8.2.1-2+b1) 8.2.1
Edited by Sebastian Krzyszkowiak