gegl:layer has an issue in Gimp 2.99.16+ and I'm not sure if it is Gimp or GEGL because it works in stand alone GEGL
I reported this in GEGL
https://gitlab.gnome.org/GNOME/gegl/-/issues/348
Gimp 2.99.16+ crashes when using the GEGL node `gegl:layer src=` This node is meant to allow image file uploads in my plugins. The latest version of the stand alone GEGL (by itself) does not crash and works when doing this. Gimp even displays a preview of the image file upload but crashes when the user hits "ok" to apply it.
Gimp 2.99.16 also crashes if the node gegl:load is used, just for it being called. gegl:load also has the ability to upload image files.
Let's try to fix this before Gimp 2.99.18
Here is an error Gimp gives me about it.
GNU Image Manipulation Program version 2.99.16
git-describe: GIMP_2_99_16
Build: org.gimp.GIMP.flatpak.dev rev 0 for linux
# C compiler #
# Libraries #
using babl version 0.1.106 (compiled against version 0.1.106)
using GEGL version 0.4.46 (compiled against version 0.4.46)
using GLib version 2.76.3 (compiled against version 2.76.3)
using GdkPixbuf version 2.42.10 (compiled against version 2.42.10)
using GTK+ version 3.24.38 (compiled against version 3.24.38)
using Pango version 1.50.14 (compiled against version 1.50.14)
using Fontconfig version 2.14.1 (compiled against version 2.14.1)
using Cairo version 1.17.8 (compiled against version 1.17.8)
# Flatpak info #
[Application]
name=org.gimp.GIMP
runtime=runtime/org.gnome.Platform/x86_64/44
[Instance]
instance-id=1931458347
instance-path=/home/contrast/.var/app/org.gimp.GIMP
app-path=/var/lib/flatpak/app/org.gimp.GIMP/x86_64/beta/f83097d35724325a71920bc83a9b59aeb031f8ebe09890d8be241adc2a522f5c/files
app-commit=f83097d35724325a71920bc83a9b59aeb031f8ebe09890d8be241adc2a522f5c
runtime-path=/var/lib/flatpak/runtime/org.gnome.Platform/x86_64/44/584d7c3e03c7315975c6711d6503622c0b39c109b6faa89254a87d24cf918c6e/files
runtime-commit=584d7c3e03c7315975c6711d6503622c0b39c109b6faa89254a87d24cf918c6e
runtime-extensions=org.gnome.Platform.Locale=4a15233542e10e1cd0ffb1378ae00d08754086e255474c028040361a8af943ab;org.freedesktop.Platform.GL.default=883e807e4ba753885340388442bf13710c10296e38fa83f01f0d6c6010ed09b8;org.gtk.Gtk3theme.Mint-Y=2e258e738085eff5e06ff1752b04d5ff1ab6a58aae551be13f945c25873c0e87;org.gtk.Gtk3theme.Mint-Y-Blue=987fb7b78755216c8048eda749fe1ac0eba8c136d22764fe3cd108f013707eb8;org.freedesktop.Platform.openh264=d4d0d2d188da14f4250dbd4aea74211344ea2647e64bc139952b79af6c480087;org.freedesktop.Platform.openh264=bf24f23f3ba385f6e8c9215ed94d979db99814b0b614504a23a6d0751dc5f063;org.freedesktop.Platform.GL.default=4495199d06da9ade8f20876bbc3844aba2b3a1defecfa649fd30805e5f617647
branch=beta
arch=x86_64
flatpak-version=1.10.7
devel=true
[Context]
shared=network;ipc;
sockets=x11;wayland;pulseaudio;session-bus;system-bus;fallback-x11;ssh-auth;pcsc;cups;
devices=dri;all;kvm;shm;
features=devel;multiarch;canbus;
filesystems=!xdg-config/GIMP;!/tmp;host-etc;!xdg-run/gvfs;!xdg-run/gvfsd;!xdg-config/gtk-3.0;/home/contrast/.themes;host;host-os;home;
[Session Bus Policy]
org.kde.kwin.Screenshot=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+0x44f)[0x7fbc93ee541f]
gimp-2.99(+0x2cd4d4)[0x5587fefe04d4]
gimp-2.99(+0x2cd8fc)[0x5587fefe08fc]
gimp-2.99(+0x2d053e)[0x5587fefe353e]
/usr/lib/x86_64-linux-gnu/libc.so.6(+0x3f0c0)[0x7fbc9235a0c0]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_type_check_instance_is_fundamentally_a+0x11)[0x7fbc93a16761]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_unref+0x22)[0x7fbc939f69b2]
/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0(+0xc3881)[0x7fbc934d9881]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_unref+0x201)[0x7fbc939f6b91]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x5cdd5)[0x7fbc938e7dd5]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x5d2fb)[0x7fbc938e82fb]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2d1)[0x7fbc938ebe81]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x612a8)[0x7fbc938ec2a8]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x33)[0x7fbc938ec343]
/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0(g_application_run+0x1dd)[0x7fbc9350a35d]
gimp-2.99(app_run+0x1be)[0x5587fefdfe3e]
gimp-2.99(main+0x3a7)[0x5587fee13c97]
/usr/lib/x86_64-linux-gnu/libc.so.6(+0x2954a)[0x7fbc9234454a]
/usr/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b)[0x7fbc9234460b]
gimp-2.99(_start+0x25)[0x5587fee13e05]