My install of GIMP is suddenly crashing on startup.
The launcher window opens and runs through it's setup process, but the font is all messed up (see screenshot).
The same boxes show on the main GIMP window, which opens for a second, then closes.
I installed GIMP via snap
, and when I try to open it via the terminal the following error is outputted:
kirk@masterblaster6:~$ gimp &
[1] 46505
kirk@masterblaster6:~$ /snap/gimp/281/usr/bin/gimp: Gimp-Widgets-WARNING: parse_iso_codes: error parsing '/build/gimp/parts/gimp/install/usr/share/xml/iso-codes/iso_639.xml': No such file or directory
Fontconfig warning: FcPattern object width does not accept value [60 402)
/snap/gimp/281/usr/bin/gimp: Gimp-Text-CRITICAL: gimp_font_factory_load_names: assertion 'fontset' failed
gimp_check_updates_callback: loading of https://gimp.org/gimp_versions.json failed: Operation not supported
(gimp:46505): GdkPixbuf-CRITICAL **: 10:37:03.236: gdk_pixbuf_scale_simple: assertion 'dest_width > 0' failed
(gimp:46505): GdkPixbuf-CRITICAL **: 10:37:03.236: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gimp:46505): GdkPixbuf-CRITICAL **: 10:37:03.236: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gimp:46505): GdkPixbuf-CRITICAL **: 10:37:03.236: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gimp:46505): GdkPixbuf-CRITICAL **: 10:37:03.236: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gimp:46505): GdkPixbuf-CRITICAL **: 10:37:03.236: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gimp:46505): GdkPixbuf-CRITICAL **: 10:37:03.236: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gimp:46505): GdkPixbuf-CRITICAL **: 10:37:03.236: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gimp:46505): GLib-ERROR *: 10:37:03.236: ../../../../glib/gmem.c:333: overflow allocating 1844674407370955161518446744073709551615 bytes
(script-fu:46620): LibGimpBase-WARNING **: 10:37:03.370: script-fu: gimp_wire_read(): error
[1]+ Trace/breakpoint trap (core dumped) gimp
The only thing I can think of that I did recently that could have messed with my installation is I installed Google Fonts locally via this script, but other programs like Inkscape and OBS Studio are loading in the fonts without crashing no problem.
Anyone got any ideas?
sudo apt-get check
to make sure there's no broken packages? How about starting it with--no-fonts
? Also worth looking into finding dependencies of executables to make sure it's finding everything it needs even ifapt-get
says it's all installed. – l3l_aze Aug 02 '20 at 18:21sudo apt-get check
is: Reading package lists... Done Building dependency treeReading state information... Done Doesn't seem to be anything there, running it with
--no-fonts
results in the same problem. :/ – saricDen Aug 02 '20 at 19:14snap
was the only installation I could get working. All the others were giving me errors like: https://askubuntu.com/questions/971683/cant-install-gimp-in-ubuntu-16-04-due-to-missing-dependencies and I wasn't able to solve them with the answers given. – saricDen Aug 02 '20 at 19:17mv -v ~/snap/gimp/ ~/snap/gimp_bak
. – andrew.46 Aug 05 '20 at 06:28