I’ve configured my wpe-webkit-mir-kiosk snap to restart the WPE web process on failures. However, whenever the renderer process crashes, the browser fails to actually reload the page and shows a default crash message to the user. This is not ideal for use cases without a direct input device to trigger a reload.
I could reproduce the crash and when running WPE/cog with
WAYLAND_DEBUG=1, I see the following error messages around the time of a crash:
Failed to set thread scheduler attributes: Operation not permitted
Seems to originate from GLib https://gitlab.gnome.org/GNOME/glib/-/blob/master/glib/gthread-posix.c#L1221
sudo journalctl -n5000000 | grep "apparmor" shows no relevant AppArmor denials for
A second error seems unrelated and possibly noise from enabling LIBGL_DEBUG:
libGL: Can't open configuration file /etc/drirc: No such file or directory. libGL: Can't open configuration file /root/snap/wpe-webkit-mir-kiosk/41/.drirc: No such file or directory.
Does the GLib thread scheduler call require any snapd interfaces, or should I file this with WPE developers?
Any hint appreciated
(ping @jdstrand whose interface knowledge helped me in the past )