Script-Fu API command (gimp-vectors-export-*) crashes gimp when exporting all vectors at once by specifying 0 for the vectors ID
Environment/Versions
- GIMP version:2.99.14
- Package: flatpak
- Operating System: linux
Description of the bug
trying to export all vectors to file crashes Gimp
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- create an image and add a path
- run (gimp-vectors-export-to-file 1 "tmpV" 0)
- gimp crashes
…
Expected result: all vectors exported
Actual result: crash
Additional information
GNU Image Manipulation Program version 2.99.14
git-describe: GIMP_2_99_14
Build: org.gimp.GIMP.flatpak.dev rev 0 for linux
# C compiler #
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux-gnu/12.1.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-tune=generic --enable-deterministic-archives --enable-shared --build=x86_64-bootstrapper-linux-gnu --host=x86_64-unknown-linux-gnu lt_cv_sys_lib_dlsearch_path_spec=/usr/lib/x86_64-linux-gnu --target=x86_64-unknown-linux-gnu --disable-multilib --enable-multiarch --disable-bootstrap --with-build-sysroot=/cross-installation --enable-languages=c,c++,fortran,objc,obj-c++ --enable-default-pie --enable-default-ssp --with-isl --disable-libssp --enable-linker-build-id --disable-libstdcxx-filesystem-ts --enable-cet host_configargs=lt_cv_sys_lib_dlsearch_path_spec=/usr/lib/x86_64-linux-gnu target_configargs=lt_cv_sys_lib_dlsearch_path_spec=/usr/lib/x86_64-linux-gnu --with-tune=generic
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 12.1.0 (GCC)
# Libraries #
using babl version 0.1.98 (compiled against version 0.1.98)
using GEGL version 0.4.40 (compiled against version 0.4.40)
using GLib version 2.74.6 (compiled against version 2.74.4)
using GdkPixbuf version 2.42.10 (compiled against version 2.42.10)
using GTK+ version 3.24.37 (compiled against version 3.24.36)
using Pango version 1.50.14 (compiled against version 1.50.12)
using Fontconfig version 2.14.1 (compiled against version 2.14.1)
using Cairo version 1.17.6 (compiled against version 1.17.6)
# Flatpak info #
[Application]
name=org.gimp.GIMP
runtime=runtime/org.gnome.Platform/x86_64/43
[Instance]
instance-id=3247117412
instance-path=/home/mark/.var/app/org.gimp.GIMP
app-path=/var/lib/flatpak/app/org.gimp.GIMP/x86_64/beta/3c84bbac181fab9a0170406a061b516a402c0f8ded49837f8263749fe0313865/files
app-commit=3c84bbac181fab9a0170406a061b516a402c0f8ded49837f8263749fe0313865
runtime-path=/var/lib/flatpak/runtime/org.gnome.Platform/x86_64/43/249237cada66dd482c141abd1ce3637c9ee0fb26cca15309045cf057c526b996/files
runtime-commit=249237cada66dd482c141abd1ce3637c9ee0fb26cca15309045cf057c526b996
runtime-extensions=org.gnome.Platform.Locale=7cd32f9e1a2af8ee493001c05bd75a88012ec05b2e76ff4050f62e04f14ab229;org.freedesktop.Platform.GL.default=1bbf632d2739210cb50bddcd1844c0ad33926068790b048546e9e8b983ba307a;org.gtk.Gtk3theme.Mint-Y-Aqua=9c336849990dc1eacfa7b29db414bdc30e7b919040ac5f38826bc7747904e30d;org.gtk.Gtk3theme.Mint-Y-Dark-Grey=fc7d5050e1f828ace529d570ea20e044cdb54f3152b3a8e1b04aecdd40f72e33;org.freedesktop.Platform.VAAPI.Intel=601730e8e63a0687a10b388f5180f41ac1b3ed5a958f4b72b7aa61c334a54f18;org.freedesktop.Platform.openh264=bf24f23f3ba385f6e8c9215ed94d979db99814b0b614504a23a6d0751dc5f063;org.freedesktop.Platform.GL.default=87220a5fe19b979e65651eb6eb25719701392e1702f41d81980046a62ff527b3
branch=beta
arch=x86_64
flatpak-version=1.12.7
session-bus-proxy=true
system-bus-proxy=true
[Context]
shared=network;ipc;
sockets=x11;wayland;fallback-x11;
devices=dri;
filesystems=xdg-config/GIMP;xdg-config/gtk-3.0;/tmp;xdg-run/gvfsd;host;xdg-run/gvfs;
[Session Bus Policy]
org.kde.kwin.Screenshot=talk
org.gtk.vfs.*=talk
org.gnome.Shell.Screenshot=talk
org.freedesktop.FileManager1=talk
[Environment]
ALSA_CONFIG_PATH=/usr/share/alsa/alsa-flatpak.conf
GI_TYPELIB_PATH=/app/lib/girepository-1.0
GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0:/usr/lib/extensions/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0
XDG_DATA_DIRS=/app/share:/usr/share:/usr/share/runtime/share:/run/host/user-share:/run/host/share
ALSA_CONFIG_DIR=/usr/share/alsa
__EGL_EXTERNAL_PLATFORM_CONFIG_DIRS=/etc/egl/egl_external_platform.d:/usr/lib/x86_64-linux-gnu/GL/egl/egl_external_platform.d:/usr/share/egl/egl_external_platform.d
fatal error: Segmentation fault
Stack trace:
/app/lib/libgimpbase-3.0.so.0(gimp_stack_trace_print+0x427)[0x7f1a1ef975d7]
gimp-2.99(+0x106404)[0x564cd0724404]
gimp-2.99(+0x10682c)[0x564cd072482c]
gimp-2.99(+0x10976e)[0x564cd072776e]
/usr/lib/x86_64-linux-gnu/libc.so.6(+0x3f0c0)[0x7f1a1d23f0c0]
gimp-2.99(+0x447db1)[0x564cd0a65db1]
gimp-2.99(gimp_vectors_export_file+0x11e)[0x564cd0a6640e]
gimp-2.99(+0x38dc1e)[0x564cd09abc1e]
gimp-2.99(gimp_procedure_execute+0x26d)[0x564cd0a3d9ed]
gimp-2.99(gimp_pdb_execute_procedure_by_name_args+0x1d2)[0x564cd0a39d32]
gimp-2.99(gimp_plug_in_handle_message+0x2ca)[0x564cd0a51faa]
gimp-2.99(+0x42598a)[0x564cd0a4398a]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x191)[0x7f1a1e8e9681]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x5bbd8)[0x7f1a1e8e9bd8]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x33)[0x7f1a1e8e9c73]
/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0(g_application_run+0x1ed)[0x7f1a1e78dd1d]
gimp-2.99(app_run+0x1c7)[0x564cd0723d77]
gimp-2.99(main+0x3a7)[0x564cd0721317]
/usr/lib/x86_64-linux-gnu/libc.so.6(+0x2954a)[0x7f1a1d22954a]
/usr/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b)[0x7f1a1d22960b]
gimp-2.99(_start+0x25)[0x564cd0721475]