Gimp crashes

I have just compiled Gimp 2.6.11. I was very disappointed when I chose File -> Open in the menu, the file-chooser dialog briefly appeared and then there was a segmentation fault.

I tried Gimp 2.6.8 that I had compiled in Quirky, same crash.

I googled around, and found this:

...I wonder? That patch is for glib. I applied the patch and compiled glib. I am now recompilng gimp, so very soon we shall see...

I don't know what that patch does, but the guy who wrote it, Dmitry Samersoff, points out that it is only a hack, does not fix the problem. I presume that other apps that were crashing (Firefox, etc.) did fix the problem, but the Gimp developers have not -- so the glib hack is still required for Gimp.

Unless that patch is "barking up the wrong tree".

Note that an image can be opened directly on the commandline.

Have recompiled Gimp... c**p, still crashes. Now for Plan B...

Anyone good at using a debugger/tracer?

Posted on 8 Nov 2010, 16:58


Posted on 8 Nov 2010, 17:59 by Dejan
Gimp 2.6.11
I compiled this one on squeeze pup and works very stable in both squeeze/lucid
maybe it will work in quirky too but wouldn't count on wary since it has different libc and libs versions

Posted on 8 Nov 2010, 19:00 by BarryK
NicoEdit crashes too
Wary testers had reported that NicoEdit crashes, and I have that on my to-do list to investigate.

This problem with Gimp reminded me of NicoEdit, and started NicoEdit, chose File -> Open ...oh it crashes.

So, there is something in the GTK File Chooser dialog that these apps don't like.
This is a showstopper problem.

Posted on 8 Nov 2010, 23:53 by gjuhasz
Hi Barry,

I could force NicoEdit to work well. It crashed first as you described. Then I opened a file from terminal (a message appeared. I don't remember exactly what - maybe about NULL value of LANG variable). Anyway, the good news is that NicoEdit does not crash anymore even if it is invoked from the menu.

Posted on 9 Nov 2010, 6:33 by ttuuxxx
gimp crashes
Hi Barry I also compiled gimp-2.7.1 earlier this moring, I never use the open dialog, I just drag and drop images, lol I was using it most of the day until I read about this and then I tried the open dialog and yes it crashes and when I ran it from a terminal it indicated it was glib. So I figured I would recompile a bit of the backend, glib 2.26 and 2.27 had many gatomic.c errors. glib 2.25 was the most stable build, glib mentioned that pcre wasn't built with utf8 support.

As gimps's go gimp-2.7.1 is the best version because of one newer feature, its able to take all 3 windows and make one single window like photoshop. So if your considering a version for the repo, gimp-2.7.1 is a nicer choice.

Posted on 9 Nov 2010, 7:14 by BarryK
NicoEdit works
Yes, very interesting. Menu Desktop -> Chooselocale, then tick the "utf8" checkbox, then restart X, then NicoEdit works properly.

It is reported on the forum that utf8 is on by default in Lucid Puppy.

Posted on 9 Nov 2010, 7:48 by BarryK
re gatomic.c errors
I think that I know how to fix those errors. I have to pack up my laptop right now and head off to Perth, so I will get back to you on this -- probably this evening.

Ditto, the pcre thing, I can fix that too.

Posted on 10 Nov 2010, 6:52 by anonymous
It's a GIMP bug.
It's a GIMP bug. See here:

Posted on 11 Nov 2010, 10:33 by kirk

I had that problem with Gimp 2.6.8 in Fatdog64, I had to recompile gtk to fix it.

Posted on 11 Nov 2010, 11:04 by ttuuxxx
Hi Kirk and Barry, I already fixed the bug and posted the latest gimp located at
plus one great image batch plugin for gimp

I also made a static compile of inkscape located at

and finally all the static dev files needed to compile Inkscape, Gparted etc in one easy to install package