rbreu / beeref

BeeRef Reference Image Viewer
GNU General Public License v3.0
484 stars 39 forks source link

Assertion failed and a crash (GLIBCXX_3.4.30 not found?) #78

Closed ajz3d closed 7 months ago

ajz3d commented 1 year ago

Describe the bug

BeeRef crashes on each attempt of opening a file chooser dialog, like Open, Save and Save As. This makes it impossible to save new .bee files or open existing ones (except of launching them directly from file browser or shell).

To Reproduce

  1. Open BeeRef.
  2. Select File ⟶ Open (or File ⟶ Save, File ⟶ Save As).

Expected behavior

BeeRef displays the file chooser.

Debug log

2023-06-20 23:36:56,557 __main__ 12852 140667121545280 Starting BeeRef version 0.2.0
2023-06-20 23:36:56,562 __main__ 12852 140667121545280 System: Linux jupiter 6.1.0-9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08) x86_64 
2023-06-20 23:36:56,563 __main__ 12852 140667121545280 Python: 3.7.3
2023-06-20 23:36:56,563 __main__ 12852 140667121545280 Using settings: /home/my_username/.config/BeeRef/BeeRef.ini
2023-06-20 23:36:56,563 __main__ 12852 140667121545280 Logging to: /home/my_username/.config/BeeRef/BeeRef.log
2023-06-20 23:36:56,626 beeref.assets 12852 140667121545280 Assets path: /tmp/_MEIeiUL6W/beeref/assets
2023-06-20 23:36:56,670 beeref.selection 12852 140667121545280 Initialized MultiSelectItem 0.0 x 0.0
2023-06-20 23:36:56,707 beeref.view 12852 140667121545280 No items in scene

Standard output:

INFO __main__: Starting BeeRef version 0.2.0
INFO __main__: Using settings: /home/my_username/.config/BeeRef/BeeRef.ini
INFO __main__: Logging to: /home/my_username/.config/BeeRef/BeeRef.log
Gtk-Message: 23:32:57.745: Failed to load module "xapp-gtk3-module"
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"

/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so

(beeref:12487): Gtk-WARNING **: 23:33:07.094: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Papirus-Dark/16x16/actions/image-missing.svg: Unable to load image-loading module: /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /tmp/_MEIQa9YFr/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /lib/x86_64-linux-gnu/libicuuc.so.72) (gdk-pixbuf-error-quark, 5)
[1]    12486 IOT instruction (core dumped)  beeref
rbreu commented 7 months ago

The recent releases provide two builds for Linux, build on an older and newer system respectively. Please try if any of them fixes the issue.

ajz3d commented 7 months ago

I just tested BeeRef-0.3.1-linux-ub22 and the recently uploaded Flatpak version. The issue seems to be fixed in both. Many thanks!

One observation. BeeRef-0.3.1-linux-ub22 segfaults on exit, while Flatpak version does not. I'll test some more and will open a separate thread regarding this issue (if necessary).

rbreu commented 7 months ago

Thanks for letting me know!

The segfaulting issue is just the garbage collector interfering with Qt shutting down somehow, it's not really a problem except that it looks ugly.