Gimp fatal error on start

When i try to start GIMP on frsh installed 5.10.36-2-MANJARO
xfce i get this error:

GNU Image Manipulation Program version 2.10.24
git-describe: GIMP_2_10_24
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/10.2.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 10.2.0 (GCC) 

# Libraries #
using babl version 0.1.86 (compiled against version 0.1.86)
using GEGL version 0.4.30 (compiled against version 0.4.30)
using GLib version 2.68.1 (compiled against version 2.68.1)
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.4 (compiled against version 1.48.4)
using Fontconfig version 2.13.93 (compiled against version 2.13.93)
using Cairo version 1.17.4 (compiled against version 1.17.4)

```
> fatal error: Segmentation fault

Stack trace:
```
/usr/lib/libgimpbase-2.0.so.0(gimp_stack_trace_print+0x3b9)[0x7f52487e5829]
gimp-2.10(+0xd4524)[0x559a752cc524]
gimp-2.10(+0xd4918)[0x559a752cc918]
gimp-2.10(+0xd4fab)[0x559a752ccfab]
/usr/lib/libpthread.so.0(+0x13960)[0x7f5247c9a960]
/usr/lib/libgobject-2.0.so.0(g_type_class_ref+0x518)[0x7f5247f63298]
/usr/lib/libgegl-0.4.so.0(+0x6e5f8)[0x7f524839f5f8]
/usr/lib/libgegl-0.4.so.0(+0x6e60a)[0x7f524839f60a]
/usr/lib/libgegl-0.4.so.0(+0x6e60a)[0x7f524839f60a]
/usr/lib/libgegl-0.4.so.0(gegl_operation_gtype_from_name+0x96)[0x7f52483a1bd6]
/usr/lib/libgegl-0.4.so.0(gegl_has_operation+0xa)[0x7f52483a20ba]
gimp-2.10(sanity_check_late+0x35)[0x559a752ccf65]
gimp-2.10(app_run+0x204)[0x559a752cbae4]
gimp-2.10(main+0x39a)[0x559a752cb50a]
/usr/lib/libc.so.6(__libc_start_main+0xd5)[0x7f5247ae1b25]
gimp-2.10(_start+0x2e)[0x559a752cb69e]

Tried reinstalling, but didn’t help.
Any clue

Have you properly updated your system ?
Please run:
sudo pacman-mirrors -f5 && sudo pacman -Syyu

Yes, its up to date.

If you start gimp from the command line, are there any messages that might indicate a problem, perhaps with a specific plugin?

only the same as in the log above:

gimp: fatal error: Segmentation fault

I have no plugins installed.

When you say this is a “fresh install”, how much customization was done before starting GIMP? For example, was the theme changed? Did GIMP ever start and it’s just now seg faulting?

I don’t have anything specific and can’t repeat it. You could try uninstalling/reinstalling gimp. Make sure .config/GIMP is removed and .cache/gimp before reinstalling. Start gimp from the command line so you can see what’s going on and use the --verbose option.

Could also check the gimp gitlab issues. Issue #2020 was a segmentation fault at startup, but unfortunately it was closed due to insufficient information.

You could also try GIMP from the live installation media, just to make sure it isn’t a hardware issue.

Anything interesting in

gimp --verbose
gimp --version   # will gimp at least do this
less $HOME/.xsession-errors
coredumpctl
journalctl -b -p err

I customized it quite much after installing and added a theme, but it dosn’t work with the standard theme eihter.

I reinstalled as you wrote with removal of config file, but nothing changed:

[ford@doloris ~]$ gimp --verbose
Parsing '/etc/gimp/2.0/gimprc' for configured language.
Parsing '/home/ford/.config/GIMP/2.10/gimprc' for configured language.
No language property found.
INIT: gimp_load_config
Parsing '/home/ford/.config/GIMP/2.10/unitrc'
Parsing '/etc/gimp/2.0/gimprc'
Parsing '/home/ford/.config/GIMP/2.10/gimprc'
gimp: fatal error: Segmentation fault

At least it outputs the version:

[ford@doloris ~]$ gimp --version
GNU Image Manipulation Program version 2.10.24

[ford@doloris ~]$ less $HOME/.xsession-errors
/usr/bin/iceauth: creating new authority file /run/user/1000/ICEauthority
gpg-agent: a gpg-agent is already running - not starting a new one

(xfce4-panel:1157): xfce4-panel-CRITICAL **: 21:38:40.645: Plugin xfce4-orageclock-plugin: The Desktop file /usr/share/xfce4/panel/plugins/xfce4-orageclock-plugin.desktop requested the Gtk2 API (v1.0), which is no longer supported.

(wrapper-2.0:1170): libnotify-WARNING **: 21:38:40.818: Failed to connect to proxy

(wrapper-2.0:1168): Gtk-WARNING **: 21:38:41.084: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner GtkToggleButton)

** (xfce4-clipman:1193): WARNING **: 21:38:41.136: Unable to register GApplication: An object is already exported for the interface org.gtk.Application at /org/xfce/clipman

(xfce4-clipman:1193): GLib-GIO-CRITICAL **: 21:38:41.136: g_application_get_is_remote: assertion ‘application->priv->is_registered’ failed

(xfce4-clipman:1193): GLib-WARNING **: 21:38:41.136: g_set_application_name() called multiple times

(wrapper-2.0:1170): Gtk-WARNING **: 21:38:41.159: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner PulseaudioButton)

** (xfce4-power-manager:1241): WARNING **: 21:38:41.239: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name ‘org.freedesktop.PowerManagement’: no such name

** (xfce4-power-manager:1241): WARNING **: 21:38:41.239: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name ‘org.xfce.PowerManager’: no such name

(xfce4-power-manager:1241): GLib-GObject-WARNING **: 21:38:41.537: …/glib/gobject/gsignal.c:2614: signal ‘Changed’ is invalid for instance ‘0x563ddb39c3a0’ of type ‘GDBusProxy’

(xfce4-power-manager:1241): xfce4-power-manager-WARNING **: 21:38:41.551: could not map keysym 1008ffa8 to keycode

** (xfce4-power-manager:1241): WARNING **: 21:38:41.556: No outputs have backlight property

(xfce4-power-manager:1241): xfce4-power-manager-WARNING **: 21:38:41.560: Failed to get keyboard max brightness level : GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.UPower.KbdBacklight” on object at path /org/freedesktop/UPower/KbdBacklight
blueman-applet 21.38.41 WARNING PluginManager:148 __load_plugin: Not loading PPPSupport because its conflict has higher priority
blueman-applet 21.38.41 WARNING PluginManager:148 __load_plugin: Not loading DhcpClient because its conflict has higher priority

(wrapper-2.0:1169): libsystray-CRITICAL **: 21:38:42.023: sn_item_invalidate: assertion ‘item->properties_proxy != NULL’ failed
xfsettingsd: Another instance took over. Leaving…
xfsettingsd: Another instance took over. Leaving…
blueman-applet 21.39.05 WARNING DiscvManager:109 update_menuitems: warning: Adapter is None
** Message: 21:39:12.123: updates_checker.vala:71: check updates
** Message: 21:39:13.220: updates_checker.vala:101: 0 updates found
xfsettingsd: Another instance took over. Leaving…

(xfwm4:1128): xfwm4-WARNING **: 21:42:06.882: unmanaged net_wm_state (window 0x4400072, atom “_NET_WM_STATE_STAYS_ON_TOP”)

(xfwm4:1128): xfwm4-WARNING **: 21:42:15.375: unmanaged net_wm_state (window 0x4400078, atom “_NET_WM_STATE_STAYS_ON_TOP”)

(xfwm4:1128): xfwm4-WARNING **: 21:43:30.267: unmanaged net_wm_state (window 0x440007e, atom “_NET_WM_STATE_STAYS_ON_TOP”)

[ford@doloris ~]$ coredumpctl
TIME                            PID   UID   GID SIG COREFILE  EXE
Thu 2021-05-20 21:19:17 CEST  14607  1000  1000  11 missing   /usr/bin/xfce4-settings-manager
Thu 2021-05-20 22:07:26 CEST   1230  1000  1000  11 missing   /usr/bin/xfdesktop
Thu 2021-05-20 23:19:18 CEST   1138  1000  1000   6 missing   /usr/bin/xfce4-session
Sat 2021-05-22 17:09:56 CEST   1401  1000  1000   6 missing   /opt/slic3r/perl-local
Sat 2021-05-22 17:10:06 CEST   1444  1000  1000   6 missing   /opt/slic3r/perl-local
Sat 2021-05-22 17:10:12 CEST   1487  1000  1000   6 missing   /opt/slic3r/perl-local
Sat 2021-05-22 17:10:24 CEST   1532  1000  1000   6 missing   /opt/slic3r/perl-local
Sat 2021-05-22 17:11:23 CEST   6489  1000  1000   6 missing   /opt/slic3r/perl-local
Sat 2021-05-22 17:29:04 CEST  10060  1000  1000   6 missing   /home/ford/perl-local


[ford@doloris ~]$ journalctl -b -p err
-- Journal begins at Thu 2021-05-20 20:36:30 CEST, ends at Thu 2021-05-27 21:54:07 CEST. --
Mai 27 21:38:33 doloris kernel: kvm: disabled by bios
Mai 27 21:38:33 doloris kernel: kvm: disabled by bios
Mai 27 21:38:33 doloris kernel: kvm: disabled by bios
Mai 27 21:38:33 doloris systemd-udevd[305]: could not read from '/sys/module/amd64_edac/initstate': No such device
Mai 27 21:38:33 doloris kernel: kvm: disabled by bios
Mai 27 21:38:33 doloris kernel: kvm: disabled by bios
Mai 27 21:38:33 doloris kernel: kvm: disabled by bios
Mai 27 21:38:33 doloris kernel: kvm: disabled by bios
Mai 27 21:38:34 doloris kernel: kvm: disabled by bios
Mai 27 21:38:39 doloris lightdm[1045]: gkr-pam: unable to locate daemon control file
Mai 27 21:38:42 doloris wpa_supplicant[681]: bgscan simple: Failed to enable signal strength monitoring
Mai 27 21:39:05 doloris pulseaudio[1151]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy bloc>

Just reboot you pc, as rule some libraries pre-loaded in ram and if they got updated you had to manualy make em reload or just reboot whole machine

Unrelated, but will fix some of the issues in .xsessions

  1. orageclock wasn’t ported to 4.16

  2. If you uncheck clipman in the Autostart, I think you’ll get rid of the clipman .xsession errors.

  3. Start xfce4-power-manager with --daemon

  4. Uncheck XFCE-Panel Workaround in Application Autostart. I found this caused more problems. It’s a script that just tries to start xfsettingsd multiple times without any checks.

Related,

The gimp --verbose was helpful. Where you are showing a segfault, I’m seeing

A fresh 5.9 works. I’ll try a fresh 5.10 and see what happens.

I tried 5.10 and it worked. I’m using the Stable Repo and the gimp package from the Official Repositories.

What do you get

pacman-mirrors --get-branch

pacman -Qkk gimp

egrep --color=always --regexp='manjaro-release' /var/log/pacman.log

Thanks for unrelated hints.

[ford@doloris ~]$ pacman-mirrors --get-branch
stable
[ford@doloris ~]$ pacman -Qkk gimp
gimp: 5926 total files, 0 altered files
[ford@doloris ~]$ egrep --color=always --regexp='manjaro-release' /var/log/pacman.log 
[2021-05-20T22:44:51+0200] [ALPM] upgraded manjaro-release (20.1.2-1 -> 21.0.5-1)

The install itself is pretty fresh, but the .iso was a bit older, could this be a problem?

Your output is the same as mine.

I installed xfce and gimp from manjaro-xfce-20.2.1 plus updates on a VM with no problems.

If you can, it might be easier to start with a more current ISO. Trying to recall if there was anything in the Announcement category that could apply might prove difficult.

Everything else seems to be working, like libreoffice, firefox, blender, inkscape.

Yes, they all work.

I now installed the appimage as an workaround and hope the problem resolves with future updates.