Byzantium - phoc 0.7.0 - SIGTRAP in infinite loop
What problem did you encounter
When starting my Librem5 VM, Phoc is crashing with :
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/phoc -C /usr/share/phosh/phoc.ini -E bash -lc 'gnome-session --builtin'.
Program terminated with signal SIGTRAP, Trace/breakpoint trap.
#0 0x00007ff5595a0ca7 in g_log_structured_array () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#0 0x00007ff5595a0ca7 in g_log_structured_array () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007ff5595a10b5 in g_log_default_handler () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ff5595a1309 in g_logv () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ff5595a159f in g_log () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x000056407d8c6522 in phoc_server_constructed (object=0x56407e0d3810) at ../src/server.c:152
#5 0x00007ff559690638 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6 0x00007ff559691b1d in g_object_new_with_properties () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7 0x00007ff5596925f1 in g_object_new () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8 0x000056407d8c67fd in phoc_server_get_default () at ../src/server.c:224
#9 0x000056407d8c5f29 in main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:131
And thats what I get when I do 'sudo coredumpctl list' :
TIME PID UID GID SIG COREFILE EXE
Sat 2021-03-27 13:34:43 UTC 748 114 124 6 present /usr/bin/sddm-greeter
Sat 2021-03-27 13:34:44 UTC 524 1000 1000 11 present /usr/bin/phoc
Sat 2021-03-27 13:34:50 UTC 915 1000 1000 5 present /usr/bin/phoc
Sat 2021-03-27 13:34:55 UTC 943 1000 1000 5 present /usr/bin/phoc
Sat 2021-03-27 13:35:01 UTC 971 1000 1000 5 present /usr/bin/phoc
Sat 2021-03-27 13:35:07 UTC 1000 1000 1000 5 present /usr/bin/phoc
Sat 2021-03-27 13:35:13 UTC 1031 1000 1000 5 present /usr/bin/phoc
Sat 2021-03-27 13:35:18 UTC 1058 1000 1000 5 present /usr/bin/phoc
Sat 2021-03-27 13:35:24 UTC 1085 1000 1000 5 present /usr/bin/phoc
Sat 2021-03-27 13:35:30 UTC 1112 1000 1000 5 present /usr/bin/phoc
Sat 2021-03-27 13:35:36 UTC 1139 1000 1000 5 present /usr/bin/phoc
Sat 2021-03-27 13:35:41 UTC 1166 1000 1000 5 present /usr/bin/phoc
Sat 2021-03-27 13:35:47 UTC 1193 1000 1000 5 present /usr/bin/phoc
...
Here some more details, for the crashes of sddm-greeter and phoc
How to reproduce
Well I'm not sure how I got here, but March 25, I did :
sudo tasksel install desktop kde-desktop
sudo systemctl stop phosh
export WAYLAND_DISPLAY=wayland-0
startplasma-wayland --framebuffer --fb-device /dev/fb0 &#or fb1 to select the screen you want it on
plasmashell
plasmashell didn't went well, so then I restarted phosh
sudo systemctl start phosh
which worked, then I stopped the VM and restarted it 2 days later
What hardware are you running phosh on?
-
amd64 qemu image
I'm using the librem5.qcow2 (PureOS 10.0 byzantium) in kvm