Ubuntu 12.04 / Gimp - Consistent crash after saving file

Bug #1048657 reported by MarianoAbsatz on 2012-09-10
32
This bug affects 7 people
Affects Status Importance Assigned to Milestone
gimp (Ubuntu)
Undecided
Unassigned

Bug Description

I started using gimp on a computer where I hadn't used it before. It's a dell notebook with a clean 12.04 installation.

I can create and modify files in gimp, however, every time I save a file, it takes a rather long time doing so and eventually, it crashes.

In my .xsession-errors I see the following every time (PID numbers change, obviously):

(gimp-2.6:28853): Gtk-CRITICAL **: IA__gtk_tree_model_get: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(script-fu:28866): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error

ProblemType: BugDistroRelease: Ubuntu 12.04
Package: gimp 2.6.12-1ubuntu1.1
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
Uname: Linux 3.2.0-29-generic x86_64
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
Date: Mon Sep 10 10:55:08 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)SourcePackage: gimp
UpgradeStatus: No upgrade log present (probably fresh install)

MarianoAbsatz (el-baby) wrote :
MarianoAbsatz (el-baby) wrote :

I just noted that if I just "save", it doesn't crash. It crashes whenever I "save as" (that is, when it's creating a new file, not when it is re-saving an already existing one)

Debra Virden (teddydlv) on 2013-02-25
description: updated
summary: - consistent crash after saving file
+ Ubuntu 12.04 / Gimp - Consistent crash after saving file
Nelly (launch-ecostat) wrote :

I have the same problem.
I am using Ubuntu 12.04 and Gimp 2.6.12

A new GIMP image can be save under a given name with "save as". When I try to save an already named file under a new name with "save as", GIMP crashes. The fil is saved under the new name before crash, and can be opened again and can be edited.
If I use "save as", but do not change the name, no crash occurs.

Nelly (launch-ecostat) wrote :

I just noticed, this bug is also registrated as https://bugs.launchpad.net/ubuntu/+source/gimp/+bug/1087920

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gimp (Ubuntu):
status: New → Confirmed
Berthold (bsc1976) wrote :

I experience a closely related issue - GIMP crashes after using "Export"

GIMP version 2.8
Ubuntu 12.04

Dell xps 15z

$ gimp --stack-trace-mode always
lcms: skipping conversion because profiles seem to be equal:
 sRGB IEC61966-2.1
 sRGB built-in

(gimp:8901): Gimp-Core-CRITICAL **: _gimp_unit_get_factor: assertion `unit < (GIMP_UNIT_END + gimp->n_user_units)' failed

(gimp:8901): Gimp-Core-CRITICAL **: _gimp_unit_get_digits: assertion `unit < (GIMP_UNIT_END + gimp->n_user_units)' failed

(gimp:8901): Gimp-Core-CRITICAL **: _gimp_unit_get_factor: assertion `unit < (GIMP_UNIT_END + gimp->n_user_units)' failed

(gimp:8901): Gimp-Core-CRITICAL **: _gimp_unit_get_digits: assertion `unit < (GIMP_UNIT_END + gimp->n_user_units)' failed

(gimp:8901): Gtk-CRITICAL **: IA__gtk_tree_model_get: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
gimp: fatal error: Segmentation fault

(script-fu:8909): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error

MP (pagel-d) wrote :

I had the same GTK_IS_TREE_MODEL message in 2.6 (i don't remember gimp_wire_read being part of my problem)
in 2.8 I had "gimp-2.8 crashed with SIGSEGV in completion_match_func"
both were immediately after Save As (2.6) or Export As (2.8) a PNG input file as a PNG (with a new name)

It seems that my issue may have been related to my Xauthority system. For some reason, my login screen had been replaced with gdm and lightdm, although installed, was not default. Reinstalling lightdm and reconfiguring it while wiping out my .Xauthority file seems to have cured my woes. Now 2.8 works like a charm.

Before I cleared out my /home/username/.Xauthority I had some problems logging in as my default user, so you may want to have a spare account to log into.

MP (pagel-d) wrote :

FYI: although I couldn't load my 2.6 crash report in my GUI, looking at the tail of the crash log for 2.6
 (gimp-2.6:7327): Gtk-CRITICAL **: IA__gtk_tree_model_get: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
 (script-fu:7334): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error

2.8:
 (gimp-2.8:1552): Gtk-CRITICAL **: IA__gtk_tree_model_get: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
 (script-fu:1560): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error

Grepping for title gives Title: gimp-2.x crashed with SIGSEGV in completion_match_func() for both

Again, this was fixed (in my case) by
sudo apt-get install --reinstall lightdm unity-greeter
rm ~/.Xresources
rm ~/.Xauthority
sudo dpkg-reconfigure lightdm #select lightdm, rather than gdm, etc
echo -e "/usr/sbin/lightdm" | sudo tee /etc/X11/default-display-manager #this may have been redundant

MP (pagel-d) wrote :

Probably dup of bug #912909, but crashing situation (abort) different there

I added a potential workaround to Bug #1048657 and Bug #1087920

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers