GNOME Bugzilla – Bug 667012
gimp crashing on saving/exporting new files
Last modified: 2013-05-30 00:53:05 UTC
gimp is randomly crashing while saving or exporting new files. It hasn't crashed while saving already created files. The file trying to save/export does get saved, but gimp crashes completely. The frecuency varies. Sometimes it won't happen for a few new saves. but sometimes it happens every time I try. Here's the dump: (gimp-2.7:17814): Gimp-Core-CRITICAL **: _gimp_unit_get_digits: assertion `unit < (GIMP_UNIT_END + gimp->n_user_units)' failed (gimp-2.7:17814): Gtk-WARNING **: Unable to retrieve the file info for `file:///media/file.png': Error stating file '/media/file.png': No such file or directory (gimp-2.7:17814): Gtk-CRITICAL **: IA__gtk_tree_model_get: assertion `GTK_IS_TREE_MODEL (tree_model)' failed gimp-2.7: fatal error: Segmentation fault gimp-2.7 (pid:17814): [E]xit, [H]alt, show [S]tack trace or [P]roceed: s
+ Trace 229354
using GEGL version 0.1.9 (compiled against version 0.1.9) using GLib version 2.30.2 (compiled against version 2.30.2) using GdkPixbuf version 2.24.1 (compiled against version 2.24.1) using GTK+ version 2.24.8 (compiled against version 2.24.8) using Pango version 1.29.4 (compiled against version 1.29.4) using Fontconfig version 2.8.0 (compiled against version 2.8.0) using Cairo version 1.10.2 (compiled against version 1.10.2)
Can you please install debuginfo packages of gtk+, glib, gimp, gail and libgtk-x11 and provide us updated trace when gimp crashes again ?
OK, I've found a guide to do it, Ill get back asap. Cheers
You can refer http://live.gnome.org/GettingTraces
I'm on Archlinux, I'm recompiling with the options mentioned in https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces: gtk+-git glib-git (it just gave me an error compiling, will check) gimp-git but I cant find in AUR the tarballs for: /usr/lib/libgtk-x11-2.0.so.0 is owned by gtk2 2.24.8-2 /usr/lib/gtk-2.0/modules/libgail.so is owned by gtk2 2.24.8-2 /usr/lib/libgobject-2.0.so.0 is owned by glib2 2.30.2-1 (is glib2 the same as glib-git?) is gail included in gtk2? thanks and sorry about my newbiness.
ok, got the debuginfo running! I had to compile some GIT versions, and since then, I haven't experienced the issue again. I'll keep on testing. (I'm having some issues with other gtk apps since gtk+-git. will try to stabilize my system a bit :/ now I'm using: GNU Image Manipulation Program version 2.7.5 git-describe: GIMP_2_7_4-76-gbd245dd using GEGL version 0.1.9 (compiled against version 0.1.9) using GLib version 2.31.7 (compiled against version 2.31.7) using GdkPixbuf version 2.24.1 (compiled against version 2.24.1) using GTK+ version 2.24.8 (compiled against version 2.24.8) using Pango version 1.29.4 (compiled against version 1.29.4) using Fontconfig version 2.8.0 (compiled against version 2.8.0) using Cairo version 1.10.2 (compiled against version 1.10.2)
Ok, it happened again, here goes the trace: Gtk-WARNING **: Unable to retrieve the file info for `file:///media/Graphicz/00-FdR2012/00-Fotos/manuel/Fotos%20Festival%20del%20R%C3%ADo%20-%202%C2%BA%20noche/DSC_7201aa.jpg': Error when getting information for file '/media/Graphicz/00-FdR2012/00-Fotos/manuel/Fotos Festival del Río - 2º noche/DSC_7201aa.jpg': No such file or directory jpeg-save: saving EXIF block (14556 bytes) jpeg-save: saving XMP packet (3435 bytes) Gtk-CRITICAL **: IA__gtk_tree_model_get: assertion `GTK_IS_TREE_MODEL (tree_model)' failed gimp-2.7: fatal error: Segmentation fault gimp-2.7 (pid:22510): [E]xit, [H]alt, show [S]tack trace or [P]roceed: s
+ Trace 229446
gimp-2.7 (pid:22510): [E]xit, [H]alt, show [S]tack trace or [P]roceed: p LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error
Can you please run gimp witth --g-fatal-warnings, so it already crashes when you hit this warning: (gimp-2.7:17814): Gtk-CRITICAL **: IA__gtk_tree_model_get: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
I'm trying gimp with --g-fatal-warnings but now it crashes with other things, like using the scale tool. It just happened again while saving a new file but I'm just getting this debug messages: Gtk-WARNING **: Unable to retrieve the file info for `file:///media/Graphicz/main2.xcf': Error when getting information for file '/media/Graphicz/main2.xcf': No such file or directory LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error Trace/breakpoint trap is that correct?? cheers!
Sorry to bump, but I didnt get if I did the right thing. anything else I can try?? thanks again!!
Hit "continue" on the file info warning.
I guess that warning is previous to the crash, is not giving me the option on the file warning. My question is, was that mini-trace useful?? "LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error Trace/breakpoint trap" or it's not adding any info? anything else I can do??
Yes, remove dangling entries from your document history, so the non-existing file goes away (see the tooltip on the refresh button). Then try again to get a stack trace from the warning.
Hi again. I've noticed some changes in the stack trace. Sorry if its more of the same. Btw, is gimp using openimageio in some way? gimp-2.7: fatal error: Segmentation fault gimp-2.7 (pid:24135): [E]xit, [H]alt, show [S]tack trace or [P]roceed: gimp-2.7 (pid:24135): [E]xit, [H]alt, show [S]tack trace or [P]roceed: s
+ Trace 229669
Thanks, this is crashing in the middle of GTK+, reassigning. To work around the crash, disable any assistive techology stuff in the meantime. And after the bug is reassigned, please set the GTK+ version you are using.
Hi, sorry but what do you mean by "disable any assistive techology stuff"?? Also, Im a bit confused about all the gtk versions I've got. Here goes the list: gtk2 2.24.10-1 gtk3 3.2.3-2 glib 1.2.10-9 lib32-glib2 2.30.2-3 lib32-gtk2 2.24.10-1 glib2-git 20110620-1 [installed: 20120207-1] gtk+-git 20110727-1 [installed: 20120112-1] Im on archlinux btw. thanks again!
Hi, sorry to bump again but I'm really clueless with this issue. I was hoping after the GTK upgrade (gtk2 2.24.10-1 -> 2.24.10-3 and gtk3 (3.2.3-2 -> 3.2.3-3) archlinux did recently I could see some changes but sadly nothing happened. Regarding my previous question about "disabling any assistive techology stuff" Im still not sure what those could be. In case is related to "desktop effects" I'm not using compiz or similar, and actually my desktop is quite "effects empty", not even wallpapers. I havent mentioned that I using gnome3 but NOT the shell, Im using the "fallback mode". another thing I havent mentioned is that the issue happens compiling gimp-git as well as with the gimp-devel package. I would thank any suggestions about installing or removing packages or any tip that could help clearing this up. greetings!!
sorry, did I just change the product and component without meaning??
OK, so I manage to clean my system up a bit. I removed glib2-git gtk+-git and even the git versions of gimp, babl and gegl and went back to "stable". However the error remains, so I recopiled gimp-git, babl-git and gegl-git running into the same issue again. Here goes this "cleaner" trace. thanks again for your patience! $ gimp-2.7 --version --verbose GNU Image Manipulation Program version 2.7.5 git-describe: GIMP_2_7_4-312-g0c236cb using GEGL version 0.1.9 (compiled against version 0.1.9) using GLib version 2.30.2 (compiled against version 2.30.2) using GdkPixbuf version 2.24.1 (compiled against version 2.24.1) using GTK+ version 2.24.10 (compiled against version 2.24.10) using Pango version 1.29.4 (compiled against version 1.29.4) using Fontconfig version 2.8.0 (compiled against version 2.8.0) using Cairo version 1.10.2 (compiled against version 1.10.2) --- gimp-2.7: fatal error: Segmentation fault gimp-2.7 (pid:14194): [E]xit, [H]alt, show [S]tack trace or [P]roceed: s
+ Trace 229810
*** Bug 671347 has been marked as a duplicate of this bug. ***
*** Bug 669784 has been marked as a duplicate of this bug. ***
(In reply to comment #20) > *** Bug 669784 has been marked as a duplicate of this bug. *** Hi all! so just 3 of us are having this issue? its interesting that its happening in different distros, I was beginning to think I had broken my archlinux :P @Igor (from Bug 671347) I'm temporaly using this ugly and tedious workaround: -duplicate any file where you save your work, and rename it to the name you want to save your "new file", so when you export the new file, it already exists and you just overwrite it. I haven't had any single crash when saving/exporting to existing files. The problem happens while "creating new files". hope it helps in the meanwhile! regards!
Matias, thank you for tip, I will try it for sure. Anyway, it is very annoying to work with GIMP, because you loose lot of time, crashing and staring gimnp again and over again. I've try also the latest version of GIMP, the same thing happens. Anyway, I'm using latest updated Ubuntu 11.10 64bit and now GIMP 2.6.11. WHat version of arch linux do you use, 32 or 64bit?! Tnx.
(In reply to comment #22) > Matias, thank you for tip, I will try it for sure. > Anyway, it is very annoying to work with GIMP, because you loose lot of time, > crashing and staring gimnp again and over again. the thing is, it's a bug ;) of course you loose time but because it's not working as it's supposed to. It will once we (actually the developers :) sort this out. Be patient and keep collaborating with the reports/tests. > I've try also the latest version of GIMP, the same thing happens. > I'm using latest updated Ubuntu 11.10 64bit and now GIMP 2.6.11. > WHat version of arch linux do you use, 32 or 64bit?! I'm on 64bit, using gimp-git-20120331 2.8.0-RC1 but as Michael Natterer mentioned on comment14, the issue might be in GTK, not in gimp. How could we find the particular settings we have that are causing this? since not many people seems to be experiencing it :/ btw, 2.8 looking nice!!!! cheers!!
i have that problem 2: https://bugzilla.redhat.com/show_bug.cgi?id=814776 -arne
Hi again, I drop Ubuntu and install latest Lubuntu 12.04 (64bit) (reason slow Unity, second still slow Gnome Classic). On Lubuntu (using default LXDE desktop), I've never get the same error again with Gimp. Now it is installed Gimp v2.6.12, but for 2 months of using I didn't get any crash of Gimp.
*** This bug has been marked as a duplicate of bug 681845 ***