site  contact  subhomenews

Gimp crashes

November 08, 2010 — BarryK
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:
http://bugs.gentoo.org/show_bug.cgi?id=287709

...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...

Comments

Gimp 2.6.11
Username: Dejan
I compiled this one on squeeze pup and works very stable in both squeeze/lucid http://murga-linux.com/puppy/viewtopic.php?t=61584 maybe it will work in quirky too but wouldn't count on wary since it has different libc and libs versions

NicoEdit crashes too
Username: BarryK
"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.

LANG?
Username: 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.

gimp crashes
Username: ttuuxxx
"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. ttuuxxx

NicoEdit works
Username: BarryK
"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.

re gatomic.c errors
Username: BarryK
"ttuuxxx, 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.

It's a GIMP bug.
Username: anonymous
"It's a GIMP bug. See here: https://bugzilla.gnome.org/show_bug.cgi?id=631728

Gimp
Username: kirk
"Barry, I had that problem with Gimp 2.6.8 in Fatdog64, I had to recompile gtk to fix it. http://www.murga-linux.com/puppy/viewtopic.php?search_id=2090222249&t=53153

Gimp
Username: ttuuxxx
"Hi Kirk and Barry, I already fixed the bug and posted the latest gimp located at http://murga-linux.com/puppy/viewtopic.php?p=465659#465659 plus one great image batch plugin for gimp http://murga-linux.com/puppy/viewtopic.php?p=465663#465663 I also made a static compile of inkscape located at http://murga-linux.com/puppy/viewtopic.php?p=465719#465719 and finally all the static dev files needed to compile Inkscape, Gparted etc in one easy to install package http://murga-linux.com/puppy/viewtopic.php?p=465981#465981 ttuuxxx


Tags: wary