Bookworm freezes everything

I downloaded the app “Bookworm” earlier and now seem to encounter quite a few performance problems. As soon as I open the app, it literally freezes everything. Even trying to reboot/switch off my Pi takes a minute. Is there a way of fixing this? Any help would be much appreciated

Maybe some log/outputs will be helpful to understand what’s going on.

What happens when you run com.github.babluboy.bookworm from the command line?

(process:3076): GLib-GIO-DEBUG: 16:47:55.033: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(process:3076): GLib-GIO-DEBUG: 16:47:55.041: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ?gio-vfs?
** (process:3076): DEBUG: 16:47:55.042: bookworm.vala:128: Bookworm Install Directory: /usr/share
** (process:3076): DEBUG: 16:47:55.042: bookworm.vala:129: Bookworm Install Tasks Scripts Directory: /usr/share/com.github.babluboy.bookworm/scripts/tasks
** (process:3076): DEBUG: 16:47:55.042: bookworm.vala:130: Bookworm Install Mobi Scripts Directory: /usr/share/com.github.babluboy.bookworm/scripts/mobi_lib
** (process:3076): DEBUG: 16:47:55.042: bookworm.vala:131: Bookworm User Data Directory: /home/frankp/.local/share/com.github.babluboy.bookworm
(com.github.babluboy.bookworm:3076): GLib-DEBUG: 16:47:55.170: unsetenv() is not thread-safe and should not be used after threads are created
(com.github.babluboy.bookworm:3076): Gtk-DEBUG: 16:47:55.170: Connecting to session manager
(com.github.babluboy.bookworm:3076): dconf-DEBUG: 16:47:55.174: watch_fast: "/com/github/babluboy/bookworm/" (establishing: 0, active: 0)
(com.github.babluboy.bookworm:3076): dconf-DEBUG: 16:47:55.175: watch_established: "/com/github/babluboy/bookworm/" (establishing: 1)

(com.github.babluboy.bookworm:3076): Gtk-WARNING **: 16:47:55.205: Theme directory actions/16-Dark of theme Zafiro-Icons-Dark-Blue-f has no size field

[WARNING 16:47:55.631190] [GLib] Invalid file descriptor.
(process:3092): GLib-GIO-DEBUG: 16:47:55.741: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals

(com.github.babluboy.bookworm:3076): Gtk-WARNING **: 16:47:55.746: Could not find the icon 'missing-image-ltr'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
	http://icon-theme.freedesktop.org/releases
(process:3092): GLib-GIO-DEBUG: 16:47:55.747: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(process:3092): GLib-GIO-DEBUG: 16:47:55.752: _g_io_module_get_default: Found default implementation networkmanager (GNetworkMonitorNM) for ?gio-network-monitor?
(process:3092): GLib-GIO-DEBUG: 16:47:55.996: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(process:3092): GLib-GIO-DEBUG: 16:47:56.007: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ?gio-vfs?
(process:3092): GLib-GIO-DEBUG: 16:47:56.021: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals
(process:3092): GLib-GIO-DEBUG: 16:47:56.021: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor?
(WebKitWebProcess:3106): GLib-GIO-DEBUG: 16:47:56.140: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(WebKitWebProcess:3106): GLib-GIO-DEBUG: 16:47:56.165: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
(process:3092): GLib-GIO-DEBUG: 16:47:56.416: _g_io_module_get_default: Found default implementation gnutls (GTlsBackendGnutls) for ?gio-tls-backend?
(WebKitWebProcess:3106): GLib-GIO-DEBUG: 16:47:56.680: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals
(WebKitWebProcess:3106): GLib-GIO-DEBUG: 16:47:56.680: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ‘gio-power-profile-monitor’
(WebKitWebProcess:3106): GLib-GIO-DEBUG: 16:47:56.681: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(com.github.babluboy.bookworm:3076): dconf-DEBUG: 16:48:21.011: change_fast
(com.github.babluboy.bookworm:3076): dconf-DEBUG: 16:48:21.011: change_notify: /com/github/babluboy/bookworm/window-height
(com.github.babluboy.bookworm:3076): dconf-DEBUG: 16:48:33.094: change_fast
(com.github.babluboy.bookworm:3076): dconf-DEBUG: 16:48:33.095: change_notify: /com/github/babluboy/bookworm/book-being-read
(com.github.babluboy.bookworm:3076): dconf-DEBUG: 16:48:33.199: sync
Ok here is what happened. I installed it earlier then removed it again as it was literally freezing everything. Now I re- installed it and it suddenly seems to perform somehow. I hope this output helps

Ok here is what happened. I installed it earlier then removed it again as it was literally freezing everything. Now I re- installed it and it suddenly seems to perform somehow. I hope this output helps

So, you re-installed the package and then suddenly it works?
Maybe a dependency was missing or a file was corrupted.

Not entirely. It gets to the point where I can upload and open a pdf/book but when I try and use other functions it stops completely

For example: I read one work and try to click back on “library” then it just stops everything…and I mean everything. It even slows down the response of the webpages where I’m trying to type…

(com.github.babluboy.bookworm:3657): Gtk-WARNING **: 17:17:57.823: Could not find the icon 'missing-image-ltr'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
	http://icon-theme.freedesktop.org/releases
(process:3674): GLib-GIO-DEBUG: 17:17:57.892: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(process:3674): GLib-GIO-DEBUG: 17:17:57.904: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ?gio-vfs?
(process:3674): GLib-GIO-DEBUG: 17:17:57.907: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals
(process:3674): GLib-GIO-DEBUG: 17:17:57.908: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor?
(com.github.babluboy.bookworm:3657): dconf-DEBUG: 17:17:57.984: change_fast
(com.github.babluboy.bookworm:3657): dconf-DEBUG: 17:17:57.984: change_notify: /com/github/babluboy/bookworm/window-height
(com.github.babluboy.bookworm:3657): dconf-DEBUG: 17:18:10.237: change_fast
(com.github.babluboy.bookworm:3657): dconf-DEBUG: 17:18:10.237: change_notify: /com/github/babluboy/bookworm/window-height
(WebKitWebProcess:3694): GLib-GIO-DEBUG: 17:18:10.384: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(WebKitWebProcess:3694): GLib-GIO-DEBUG: 17:18:10.389: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
(process:3674): GLib-GIO-DEBUG: 17:18:10.529: _g_io_module_get_default: Found default implementation gnutls (GTlsBackendGnutls) for ?gio-tls-backend?
(WebKitWebProcess:3694): GLib-GIO-DEBUG: 17:18:10.586: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals
(WebKitWebProcess:3694): GLib-GIO-DEBUG: 17:18:10.586: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ‘gio-power-profile-monitor’
(WebKitWebProcess:3694): GLib-GIO-DEBUG: 17:18:10.586: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
Segmentation fault (core dumped)

…and this is the latest. If I leave to do “its own thing” then it just crashes…

Wow, a core dump. I wonder if it just needs a rebuild. The package has not been rebuilt in over a year.

It’s odd. I just installed it on my x86_64 machine and it works fine there.

Maybe you are missing a component, like xdg-desktop-portal stuff.

Sorry, you may have to explain this to me. I’m not too versed yet in the terminology…

Is there a way of finding out what may be missing? By the way, I try it on a pi 400…

I don’t know what edition you are using, but you can try installing xdg-desktop-portal-gtk and see if that helps. It might need a reboot.

No sorry that didn’t bring the desired effect. It still mis-behaves when I do anything else but read on it…

Okay. Sorry, can’t really help more. Maybe someone else can.

Thanks for trying though…