Crash when browsing to webdav mount
Environment/Versions
- GIMP version: 2.10.28
- Package: "Extras" repository for Arch, extra/gimp 2.10.28-1
- Operating System: Arch Linux, up to date as of a few days ago
pacman -Si gimp
Repository : extra
Name : gimp
Version : 2.10.28-1
Description : GNU Image Manipulation Program
Architecture : x86_64
URL : https://www.gimp.org/
Licenses : GPL LGPL
Groups : None
Provides : None
Depends On : babl dbus-glib desktop-file-utils gegl glib-networking hicolor-icon-theme openjpeg2 lcms2 libheif libexif libgudev libmng libmypaint librsvg libwebp libwmf libxmu libxpm mypaint-brushes1 openexr poppler-data gtk2 graphviz
Optional Deps : gutenprint: for sophisticated printing only as gimp has built-in cups print support poppler-glib: for pdf support alsa-lib: for MIDI event controller module curl: for URI support ghostscript: for postscript support
Conflicts With : gimp-plugin-wavelet-decompose
Replaces : gimp-plugin-wavelet-decompose
Download Size : 20.02 MiB
Installed Size : 111.89 MiB
Packager : Christian Hesse arch@eworm.de
Build Date : Tue 14 Sep 2021 04:48:15 PM EDT
Validated By : MD5 Sum SHA-256 Sum Signature
Description of the bug
I have a webdav folder mounted at /home/me/Documents/mount
. In gimp's open file dialog, that mount point shows up in the 'Places' navbar. Whenever I click or right-click on that, I immediately get the crash dialog with the copypasta below. However, if I bring up the 'Location' bar to type in a path directly, everything works fine, including the drop-down menu of file completions all the way into subdirectories of the webdav mount and back out again, and I can happily open and work on files in there. Smells like a bug in whatever library gimp is using for the file chooser, but I don't know the gnome ecosystem well enough to guess if I should file this bug elsewhere. The webdav server is NextCloud, mounted using normal Linux mount.davfs2, here's the relevant output from mount
:
https://my.nextcloud.svr/remote.php/webdav/ on /home/me/Documents/mount type fuse (rw,nosuid,nodev,noexec,relatime,user_id=1000,group_id=1000,allow_other,max_read=16384,uid=1000,gid=1000,user=mario,helper=davfs)
(Oh, and thanks for an awesome piece of software that so many people just take for granted. I only notice how much I depend on the gimp when it fails in some minor way like this. Cheers!)
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- mount a webdav folder, note the mount point
- in gimp, type
C-o
to bring up the open file dialog - click on the webdav mount point in the nav bar on the left of the open file dialog
Expected result: contents of the webdav mount are displayed in the main area of the open file dialog
Actual result: bug report dialog opens
Additional information
GNU Image Manipulation Program version 2.10.28
git-describe: GIMP_2_10_28
Build: unknown rev 0 for linux
# C compiler #
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --with-isl --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-install-libiberty --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-libunwind-exceptions --disable-werror gdc_include_dir=/usr/include/dlang/gdc
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.1.0 (GCC)
# Libraries #
using babl version 0.1.88 (compiled against version 0.1.88)
using GEGL version 0.4.32 (compiled against version 0.4.32)
using GLib version 2.70.0 (compiled against version 2.68.4)
using GdkPixbuf version 2.42.6 (compiled against version 2.42.6)
using GTK+ version 2.24.33 (compiled against version 2.24.33)
using Pango version 1.48.10 (compiled against version 1.48.10)
using Fontconfig version 2.13.94 (compiled against version 2.13.94)
using Cairo version 1.17.4 (compiled against version 1.17.4)
fatal error: Aborted
Stack trace:
/usr/lib/libgimpbase-2.0.so.0(gimp_stack_trace_print+0x3e9)[0x7f7892023649]
/usr/bin/gimp(+0xd04f4)[0x562c339fb4f4]
/usr/bin/gimp(+0xd08e8)[0x562c339fb8e8]
/usr/bin/gimp(+0xd0f6b)[0x562c339fbf6b]
/usr/lib/libpthread.so.0(+0x13870)[0x7f789147e870]
/usr/lib/libc.so.6(gsignal+0x142)[0x7f78912dbd22]
/usr/lib/libc.so.6(abort+0x116)[0x7f78912c5862]
/usr/lib/libglib-2.0.so.0(+0x1d084)[0x7f78915f6084]
/usr/lib/libglib-2.0.so.0(g_assertion_message_error+0xb8)[0x7f78916554e8]
/usr/lib/libgio-2.0.so.0(+0xc5ce7)[0x7f7891867ce7]
/usr/lib/libgio-2.0.so.0(+0xc5dac)[0x7f7891867dac]
/usr/lib/libgtk-x11-2.0.so.0(+0xeba68)[0x7f7892231a68]
/usr/lib/libgtk-x11-2.0.so.0(+0xdfbb3)[0x7f7892225bb3]
/usr/lib/libgtk-x11-2.0.so.0(+0xdfcf2)[0x7f7892225cf2]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x16f)[0x7f7891721d8f]
/usr/lib/libgobject-2.0.so.0(+0x2e718)[0x7f789173d718]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0xe79)[0x7f789173edd9]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x90)[0x7f789173f330]
/usr/lib/libgtk-x11-2.0.so.0(+0x23c84d)[0x7f789238284d]
/usr/lib/libgtk-x11-2.0.so.0(+0x2416ae)[0x7f78923876ae]
/usr/lib/libgtk-x11-2.0.so.0(+0x1360a8)[0x7f789227c0a8]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x16f)[0x7f7891721d8f]
/usr/lib/libgobject-2.0.so.0(+0x2e0ee)[0x7f789173d0ee]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x4ab)[0x7f789173e40b]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x90)[0x7f789173f330]
/usr/lib/libgtk-x11-2.0.so.0(+0x25b275)[0x7f78923a1275]
/usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0xa6)[0x7f789227a6d6]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x36b)[0x7f789227ab4b]
/usr/lib/libgdk-x11-2.0.so.0(+0x5e3be)[0x7f78920e93be]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x26c)[0x7f789162d4dc]
/usr/lib/libglib-2.0.so.0(+0xa8749)[0x7f7891681749]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x73)[0x7f789162ca63]
/usr/bin/gimp(app_run+0x398)[0x562c339fac48]
/usr/bin/gimp(main+0x37e)[0x562c339fa4ce]
/usr/lib/libc.so.6(__libc_start_main+0xd5)[0x7f78912c6b25]
/usr/bin/gimp(_start+0x2e)[0x562c339fa66e]