Squeekboard crashing phosh
What problem did you encounter
Squeekboard crashing phosh
What is the current behaviour?
Having Squeekboard installed will crash phosh after a handful of seconds, even with no interaction.
What is the expected behaviour?
No crashing :)
How to reproduce
- sudo apt install squeekboard && sudo systemctl restart phosh
- witness coredump (attached)
- unlock screen
- witness lockup (video)
Pasted output from video recording:
Jul 03 17:05:07 pureos gnome-session[568]: gnome-session-binary[568]: WARNING: Application 'sm.puri.OSK0.
desktop' failed to register before timeout
Jul 03 17:05:07 pureos gnome-session-binary[568]: WARNING: Application 'sm.puri.OSK0.desktop' failed to r
egister before timeout
Jul 03 17:05:07 pureos gnome-session-binary[568]: Unrecoverable failure in required component sm.puri.OSK
0.desktop
Jul 03 17:05:08 pureos gnome-session-binary[568]: Entering running state
Jul 03 17:05:08 pureos dbus-daemon[561]: [session uid=1000 pid=561] Activating via systemd: service name=
'org.freedesktop.Tracker1' unit='tracker-store.service' requested by ':1.46' (uid=1000 pid=886 comm="gdbu
s call -e -d org.freedesktop.DBus -o /org/free")
Jul 03 17:05:08 pureos systemd[543]: Starting Tracker metadata database store and lookup manager...
Jul 03 17:05:08 pureos gnome-session[568]: Unable to init server: Could not connect: Connection refused
Jul 03 17:05:08 pureos gnome-session-f[881]: Cannot open display:
Jul 03 17:05:08 pureos gsd-print-notif[645]: Source ID 2 was not found when attempting to remove it
Jul 03 17:05:08 pureos dbus-daemon[561]: [session uid=1000 pid=561] Successfully activated service 'org.f
reedesktop.Tracker1'
Jul 03 17:05:08 pureos systemd[543]: Started Tracker metadata database store and lookup manager.
Jul 03 17:05:08 pureos tracker-store.desktop[886]: (uint32 1,)
Jul 03 17:05:08 pureos systemd[543]: Stopping D-Bus User Message Bus...
Jul 03 17:05:08 pureos systemd-logind[451]: Session 1 logged out. Waiting for processes to exit.
Jul 03 17:05:08 pureos systemd[543]: tracker-store.service: Main process exited, code=killed, status=15/T
ERM
Jul 03 17:05:08 pureos systemd[543]: tracker-store.service: Succeeded.
Jul 03 17:05:08 pureos systemd[543]: dbus.service: Succeeded.
Jul 03 17:05:08 pureos systemd[543]: Stopped D-Bus User Message Bus.
Jul 03 17:05:08 pureos systemd[543]: Started D-Bus User Message Bus.
Jul 03 17:05:08 pureos polkitd(authority=local)[513]: Unregistered Authentication Agent for unix-session:
1 (system bus name :1.56, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale C.UTF-8) (d
isconnected from bus)
Jul 03 17:05:08 pureos systemd[1]: phosh.service: Main process exited, code=killed, status=15/TERM
Jul 03 17:05:08 pureos systemd[1]: phosh.service: Succeeded.
Jul 03 17:05:08 pureos systemd[1]: session-1.scope: Succeeded.
Jul 03 17:05:08 pureos systemd-logind[451]: Removed session 1.
Jul 03 17:05:08 pureos systemd-logind[451]: Failed to apply ACLs: Operation not supported
Jul 03 17:05:08 pureos kernel: etnaviv-gpu 38000000.gpu: genpd_runtime_suspend()
Which version did you encounter the bug in?
-
I Compiled it myself. If you compiled phosh from source please provide the git revision via e.g. by running git log -1 --pretty=oneline
and pasting the output below. -
I used the precompiled Debian package (e.g. by running a prebuilt image). Please paste the output oof dpkg -s phosh
below.
purism@pureos:~$ dpkg -s squeekboard
Package: squeekboard
Status: install ok installed
Priority: optional
Section: x11
Installed-Size: 1268
Maintainer: Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm>
Architecture: arm64
Version: 1.0.11~726.gbpe27af9
Depends: libc6 (>= 2.25), libcairo2 (>= 1.10.0), libcroco3 (>= 0.6.2), libgcc1 (>= 1:4.2), libglib2.0-0 (
>= 2.37.3), libgtk-3-0 (>= 3.21.4), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libwayla
nd-client0 (>= 1.16), libxkbcommon0 (>= 0.5.0)
Description: On-screen keyboard for Wayland
Virtual keyboard supporting Wayland, built primarily for the Librem 5 phone.
Homepage: https://source.puri.sm/Librem5/squeekboard
purism@pureos:~$
purism@pureos:~$ dpkg -s phosh
Package: phosh
Status: install ok installed
Priority: optional
Section: x11
Installed-Size: 551
Maintainer: Guido Günther <agx@sigxcpu.org>
Architecture: arm64
Version: 0.0.4~666.gbpd8e0bd
Provides: polkit-1-auth-agent
Depends: dconf-gsettings-backend | gsettings-backend, libc6 (>= 2.17), libcairo2 (>= 1.2.4), libgcr-base-
3-1 (>= 3.8.0), libgcr-ui-3-1 (>= 3.8.0), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.55.1), libgn
ome-desktop-3-17 (>= 3.17.92), libgtk-3-0 (>= 3.19.12), libhandy-0.0-0 (>= 0.0~git20180429), libnm0 (>= 1
.0.0), libpam0g (>= 0.99.7.1), libpango-1.0-0 (>= 1.22.0), libpangocairo-1.0-0 (>= 1.14.0), libpolkit-age
nt-1-0 (>= 0.99), libpolkit-gobject-1-0 (>= 0.94), libpulse-mainloop-glib0 (>= 0.99.1), libpulse0 (>= 0.9
9.1), libupower-glib3 (>= 0.99.4-3~), libwayland-client0 (>= 1.9.91), fonts-lato
Recommends: gnome-session
Description: Pure Wayland shell for mobile devices
Phosh is a simple shell for Wayland compositors speaking the layer-surface
protocol. It currently supports
.
* a lockscreen
* brightness control and nighlight
* the gcr system-prompter interface
* acting as a polkit auth agent
* enough of org.gnome.Mutter.DisplayConfig to make gnome-settings-daemon happy
* a homebutton that toggles a simple favorites menu
* status icons for battery, wwan and wifi
.
If you're not working on a Wayland compositor then this package is likely not
very useful for you.
Homepage: https://source.puri.sm/Librem5/phosh
purism@pureos:~$
What hardware are you running phosh on?
-
amd64 qemu image -
Librem5 devkit -
nested compositor. If so please give the full command you start phosh with. -
other (please elaborte)
Releveant logfiles
Jul 03 16:57:47 pureos systemd-coredump[1162]: Process 1069 (gsd-wacom) of user 1000 dumped core.
Stack trace of thread 1069:
#0 0x0000ffffb80cd64c g_bit_lock (libglib-2.0.so.0)
#1 0x0000ffffb813a4d8 n/a (libglib-2.0.so.0)
#2 0x0000ffffb813f8e8 g_variant_serialiser_needed_size (l
ibglib-2.0.so.0)
#3 0x0000ffffb81398d4 n/a (libglib-2.0.so.0)
#4 0x0000ffffb813a4e0 n/a (libglib-2.0.so.0)
#5 0x0000ffffb813f984 g_variant_serialiser_needed_size (l
ibglib-2.0.so.0)
#6 0x0000ffffb81398d4 n/a (libglib-2.0.so.0)
#7 0x0000ffffb813a4e0 n/a (libglib-2.0.so.0)
#8 0x0000ffffb813fac4 g_variant_serialiser_needed_size (l
ibglib-2.0.so.0)
#9 0x0000ffffb81398d4 n/a (libglib-2.0.so.0)
#10 0x0000ffffb813a4e0 n/a (libglib-2.0.so.0)
#11 0x0000ffffb813fa40 g_variant_serialiser_needed_size (l
ibglib-2.0.so.0)
#12 0x0000ffffb81398d4 n/a (libglib-2.0.so.0)
#13 0x0000ffffb813a4e0 n/a (libglib-2.0.so.0)
#14 0x0000ffffb813f8e8 g_variant_serialiser_needed_size (l
ibglib-2.0.so.0)
#15 0x0000ffffb81398d4 n/a (libglib-2.0.so.0)
#16 0x0000ffffb8139d28 n/a (libglib-2.0.so.0)
#17 0x0000ffffb813a068 g_variant_get_data (libglib-2.0.so.
0)
#18 0x0000ffffb0bc352c n/a (libdconfsettings.so)
#19 0x0000ffffb0bc35fc n/a (libdconfsettings.so)
#20 0x0000ffffb0bc498c n/a (libdconfsettings.so)
#21 0x0000ffffb0bc14d8 n/a (libdconfsettings.so)
#22 0x0000ffffb83340e0 n/a (libgio-2.0.so.0)
#23 0x0000ffffb8339784 n/a (libgio-2.0.so.0)
#24 0x0000ffffb833b738 g_settings_set_value (libgio-2.0.so
.0)
#25 0x0000aaaab0e73a48 n/a (gsd-wacom)
#26 0x0000aaaab0e73d40 n/a (gsd-wacom)
#27 0x0000aaaab0e744b8 n/a (gsd-wacom)
#28 0x0000aaaab0e748d4 n/a (gsd-wacom)
#29 0x0000aaaab0e749a4 n/a (gsd-wacom)
#30 0x0000ffffb82f1178 n/a (libgio-2.0.so.0)
#31 0x0000ffffb82f1f6c n/a (libgio-2.0.so.0)
#32 0x0000ffffb807b1d0 n/a (libgnome-desktop-3.so.17)
#33 0x0000ffffb82f1178 n/a (libgio-2.0.so.0)
#34 0x0000ffffb82f1f6c n/a (libgio-2.0.so.0)
#35 0x0000ffffb835b910 n/a (libgio-2.0.so.0)
#36 0x0000ffffb82f1178 n/a (libgio-2.0.so.0)
#37 0x0000ffffb82f1f6c n/a (libgio-2.0.so.0)
#38 0x0000ffffb835afd8 n/a (libgio-2.0.so.0)
#39 0x0000ffffb82f1178 n/a (libgio-2.0.so.0)
#40 0x0000ffffb82f1f6c n/a (libgio-2.0.so.0)
#41 0x0000ffffb834f050 n/a (libgio-2.0.so.0)
#42 0x0000ffffb82f1178 n/a (libgio-2.0.so.0)
#43 0x0000ffffb82f11c4 n/a (libgio-2.0.so.0)
#44 0x0000ffffb80fb51c g_main_context_dispatch (libglib-2.
0.so.0)
#45 0x0000ffffb80fb8e8 n/a (libglib-2.0.so.0)
#46 0x0000ffffb80fbc80 g_main_loop_run (libglib-2.0.so.0)
#47 0x0000ffffb8950a30 gtk_main (libgtk-3.so.0)
#48 0x0000aaaab0e70be4 n/a (gsd-wacom)
#49 0x0000ffffb7d6fd24 __libc_start_main (libc.so.6)
#50 0x0000aaaab0e70d10 n/a (gsd-wacom)
#51 0x0000aaaab0e70d10 n/a (gsd-wacom)
Jul 03 16:57:47 pureos gsd-wacom[1182]: Error retrieving accessibility bus address: org.freedesktop.DBus.
Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
Jul 03 16:57:47 pureos systemd[1]: systemd-coredump@2-1158-0.service: Succeeded.
Jul 03 16:57:47 pureos kernel: PM: Removing info for No Bus:lo
Jul 03 16:57:47 pureos gsd-wacom[1182]: g_variant_new_string: assertion 'string != NULL' failed
Jul 03 16:57:47 pureos gsd-wacom[1182]: g_variant_ref_sink: assertion 'value != NULL' failed
Jul 03 16:57:48 pureos systemd[1]: Started Process Core Dump (PID 1202/UID 0).
Jul 03 16:57:48 pureos kernel: device: 'lo': device_add
Jul 03 16:57:48 pureos kernel: PM: Adding info for No Bus:lo
Jul 03 16:57:48 pureos gnome-session[1030]: gnome-session-binary[1030]: WARNING: Application 'org.gnome.S
ettingsDaemon.Wacom.desktop' killed by signal 11
Jul 03 16:57:48 pureos gnome-session-binary[1030]: WARNING: Application 'org.gnome.SettingsDaemon.Wacom.d
esktop' killed by signal 11
Jul 03 16:57:48 pureos systemd-coredump[1203]: Process 1182 (gsd-wacom) of user 1000 dumped core.
Stack trace of thread 1182:
#0 0x0000ffffb571a64c g_bit_lock (libglib-2.0.so.0)
#1 0x0000ffffb57874d8 n/a (libglib-2.0.so.0)
#2 0x0000ffffb578c8e8 g_variant_serialiser_needed_size (l
ibglib-2.0.so.0)
#3 0x0000ffffb57868d4 n/a (libglib-2.0.so.0)
#4 0x0000ffffb57874e0 n/a (libglib-2.0.so.0)
#5 0x0000ffffb578c984 g_variant_serialiser_needed_size (l
ibglib-2.0.so.0)
#6 0x0000ffffb57868d4 n/a (libglib-2.0.so.0)
#7 0x0000ffffb57874e0 n/a (libglib-2.0.so.0)
#8 0x0000ffffb578cac4 g_variant_serialiser_needed_size (l
ibglib-2.0.so.0)
#9 0x0000ffffb57868d4 n/a (libglib-2.0.so.0)
#10 0x0000ffffb57874e0 n/a (libglib-2.0.so.0)
#11 0x0000ffffb578ca40 g_variant_serialiser_needed_size (l
ibglib-2.0.so.0)
#12 0x0000ffffb57868d4 n/a (libglib-2.0.so.0)
#13 0x0000ffffb57874e0 n/a (libglib-2.0.so.0)
#14 0x0000ffffb578c8e8 g_variant_serialiser_needed_size (l
ibglib-2.0.so.0)
#15 0x0000ffffb57868d4 n/a (libglib-2.0.so.0)
#16 0x0000ffffb5786d28 n/a (libglib-2.0.so.0)
#17 0x0000ffffb5787068 g_variant_get_data (libglib-2.0.so.
0)
#18 0x0000ffffb29f452c n/a (libdconfsettings.so)
#19 0x0000ffffb29f45fc n/a (libdconfsettings.so)
#20 0x0000ffffb29f598c n/a (libdconfsettings.so)
#21 0x0000ffffb29f24d8 n/a (libdconfsettings.so)
#22 0x0000ffffb59810e0 n/a (libgio-2.0.so.0)
#23 0x0000ffffb5986784 n/a (libgio-2.0.so.0)
#24 0x0000ffffb5988738 g_settings_set_value (libgio-2.0.so
.0)
#25 0x0000aaaaabb27a48 n/a (gsd-wacom)
#26 0x0000aaaaabb27d40 n/a (gsd-wacom)
#27 0x0000aaaaabb284b8 n/a (gsd-wacom)
#28 0x0000aaaaabb288d4 n/a (gsd-wacom)
#29 0x0000aaaaabb289a4 n/a (gsd-wacom)
#30 0x0000ffffb593e178 n/a (libgio-2.0.so.0)
#31 0x0000ffffb593ef6c n/a (libgio-2.0.so.0)
#32 0x0000ffffb56c81d0 n/a (libgnome-desktop-3.so.17)
#33 0x0000ffffb593e178 n/a (libgio-2.0.so.0)
#34 0x0000ffffb593ef6c n/a (libgio-2.0.so.0)
#35 0x0000ffffb59a8910 n/a (libgio-2.0.so.0)
#36 0x0000ffffb593e178 n/a (libgio-2.0.so.0)
#37 0x0000ffffb593ef6c n/a (libgio-2.0.so.0)
#38 0x0000ffffb59a7fd8 n/a (libgio-2.0.so.0)
#39 0x0000ffffb593e178 n/a (libgio-2.0.so.0)
#40 0x0000ffffb593ef6c n/a (libgio-2.0.so.0)
#41 0x0000ffffb599c050 n/a (libgio-2.0.so.0)
#42 0x0000ffffb593e178 n/a (libgio-2.0.so.0)
#43 0x0000ffffb593e1c4 n/a (libgio-2.0.so.0)
#44 0x0000ffffb574851c g_main_context_dispatch (libglib-2.
0.so.0)
#45 0x0000ffffb57488e8 n/a (libglib-2.0.so.0)
#46 0x0000ffffb5748c80 g_main_loop_run (libglib-2.0.so.0)
#47 0x0000ffffb5f9da30 gtk_main (libgtk-3.so.0)
#48 0x0000aaaaabb24be4 n/a (gsd-wacom)
#49 0x0000ffffb53bcd24 __libc_start_main (libc.so.6)
#50 0x0000aaaaabb24d10 n/a (gsd-wacom)
#51 0x0000aaaaabb24d10 n/a (gsd-wacom)
Jul 03 16:57:48 pureos systemd[1]: systemd-coredump@3-1202-0.service: Succeeded.
Jul 03 16:57:48 pureos kernel: PM: Removing info for No Bus:lo
Jul 03 16:57:51 pureos wpa_supplicant[448]: wlan0: Reject scan trigger since one is already pending
Jul 03 16:58:15 pureos systemd[1]: systemd-timedated.service: Succeeded.
Jul 03 16:58:16 pureos systemd[1]: systemd-localed.service: Succeeded.
Jul 03 16:58:16 pureos kernel: PM: Removing info for No Bus:lo
Jul 03 16:58:17 pureos systemd[1]: systemd-hostnamed.service: Succeeded.
Jul 03 16:58:17 pureos kernel: PM: Removing info for No Bus:lo
Jul 03 16:58:21 pureos wpa_supplicant[448]: wlan0: Reject scan trigger since one is already pending
Jul 03 16:58:37 pureos kernel: etnaviv-gpu 38000000.gpu: genpd_runtime_suspend()
Jul 03 16:58:37 pureos kernel: etnaviv-gpu 38000000.gpu: genpd_runtime_resume()
Jul 03 16:58:40 pureos kernel: etnaviv-gpu 38000000.gpu: genpd_runtime_suspend()
Jul 03 16:58:51 pureos wpa_supplicant[448]: wlan0: Reject scan trigger since one is already pending
Jul 03 16:59:00 pureos kernel: etnaviv-gpu 38000000.gpu: genpd_runtime_suspend()
Jul 03 16:59:15 pureos kernel: etnaviv-gpu 38000000.gpu: genpd_runtime_resume()
Jul 03 16:59:15 pureos kernel: etnaviv-gpu 38000000.gpu: genpd_runtime_suspend()
Jul 03 16:59:16 pureos gnome-session[1030]: gnome-session-binary[1030]: WARNING: Application 'sm.puri.OSK
0.desktop' failed to register before timeout
Jul 03 16:59:16 pureos gnome-session-binary[1030]: WARNING: Application 'sm.puri.OSK0.desktop' failed to
register before timeout
Jul 03 16:59:16 pureos gnome-session-binary[1030]: Unrecoverable failure in required component sm.puri.OS
K0.desktop
Jul 03 16:59:16 pureos gnome-session-binary[1030]: Entering running state
Jul 03 16:59:16 pureos tracker-store.desktop[1223]: (uint32 2,)
Jul 03 16:59:16 pureos gnome-session[1030]: Unable to init server: Could not connect: Connection refused
Jul 03 16:59:16 pureos gnome-session-f[1217]: Cannot open display:
Jul 03 16:59:16 pureos gsd-print-notif[1089]: Source ID 3 was not found when attempting to remove it
Jul 03 16:59:16 pureos polkitd(authority=local)[511]: Unregistered Authentication Agent for unix-session:
4 (system bus name :1.216, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale C.UTF-8) (
disconnected from bus)
Jul 03 16:59:16 pureos systemd[543]: Stopping D-Bus User Message Bus...
Jul 03 16:59:16 pureos gsd-clipboard[1079]: Source ID 3 was not found when attempting to remove it
Jul 03 16:59:16 pureos gnome-session[1030]: gnome-session-binary[1030]: GLib-GIO-WARNING: Error releasing
name org.gnome.SessionManager: The connection is closed
Jul 03 16:59:16 pureos gnome-session-binary[1030]: GLib-GIO-WARNING: Error releasing name org.gnome.Sessi
onManager: The connection is closed
Jul 03 16:59:16 pureos systemd[543]: evolution-source-registry.service: Succeeded.
Jul 03 16:59:17 pureos gsd-power[1086]: Error releasing name org.gnome.SettingsDaemon.Power: The connecti
on is closed
Jul 03 16:59:17 pureos systemd[543]: evolution-calendar-factory.service: Succeeded.
Jul 03 16:59:17 pureos systemd[543]: evolution-addressbook-factory.service: Succeeded.
Jul 03 16:59:17 pureos gsd-xsettings[1105]: Error releasing name org.gtk.Settings: The connection is clos
ed
Jul 03 16:59:17 pureos systemd[543]: dbus.service: Succeeded.
Jul 03 16:59:17 pureos systemd[543]: Stopped D-Bus User Message Bus.
Jul 03 16:59:17 pureos systemd[543]: Started D-Bus User Message Bus.
Jul 03 16:59:17 pureos tracker-store[774]: Received signal:15->'Terminated'
Jul 03 16:59:17 pureos tracker-store[774]: OK
Jul 03 16:59:17 pureos systemd[543]: tracker-store.service: Succeeded.
Jul 03 16:59:17 pureos systemd[1]: phosh.service: Main process exited, code=killed, status=15/TERM
Jul 03 16:59:17 pureos systemd[1]: phosh.service: Succeeded.
Jul 03 16:59:17 pureos systemd[1]: session-4.scope: Succeeded.
Jul 03 16:59:17 pureos systemd-logind[449]: Session 4 logged out. Waiting for processes to exit.
Jul 03 16:59:17 pureos systemd-logind[449]: Removed session 4.
Jul 03 16:59:17 pureos systemd-logind[449]: Failed to apply ACLs: Operation not supported
Jul 03 16:59:17 pureos kernel: etnaviv-gpu 38000000.gpu: genpd_runtime_suspend()
Jul 03 16:59:21 pureos wpa_supplicant[448]: wlan0: Reject scan trigger since one is already pending