LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-01-2003, 06:05 AM   #1
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
The Gimp: Segmentation Fault error


Well, first off, I kinda have to say that I hate Segmentation Fault errors. I almost never can get an app to work when this message appears, but here we go .

I've today upgraded my distro (Jamd 0.0.6) with apt-get. Everything was running smooth as always, till the moment I tried to run gimp. I got nothing but a quick crash of gimp. Running from a shell, I got this:

Gtk-WARNING **: Unable to locate loadable module in module_path: "libpixmap.so", THIS IS REPEATED A LOT OF TIMES
gimp: fatal error: Segmentation fault

A long google search (many seems to have the very same problem without any good answers) and a long search in this forum and I came up that to solve the problem, gtk-engines had to be installed. I did for both gtk-engines and gtk2-engines. Now, instead of getting repeated errors as I've described above, I got only one:

gimp: fatal error: Segmentation fault

In both cases (with and without the gtk englines) we can see that gimp almost starts, but closes itself. I then thought the problem would be my KDE desktop, so I installed blackbox and, running from blackbox gave me the very same error.
Some google links suggested me to do not use gtk themes and that everything was just fine with The Gimp. I not really understand what they meant by that.

I have also tried to delete /home/user/.gimp-1.2 after installing the gtk-engines, no luck. Running as user or root brings the same error too. I could not find any Gimp related logs, so please, if somebody knows where gimp logs are would be great too.

Any help would be lovely.

Thanks in advance.
 
Old 10-01-2003, 06:20 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
well it says it can't find libpixmap.so... you've not mentioned anythign about finding the library, upgrading it, or anything to do with it...
 
Old 10-01-2003, 06:35 AM   #3
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Original Poster
Rep: Reputation: 65
Thanks a lot acid.

And you have a good point . Well, I've tried to apt-get for libpixmap.so (I apt-get for everything to try to find missing packages) and I get this:

Package libpixmap.so is a virtual package provided by:
gtk2-engines 2.2.0-2
gtk-engines 1:0.11-16
You should explicitly select one to install.

I have also google for it and it says that those are the packages need to be installed. Further, I've tried to :

locate libpixmap.so

And I've got:

/usr/lib/gtk-2.0/2.2.0/engines/libpixmap.so
/usr/lib/gtk/themes/engines/libpixmap.so

Any more ideas?

Thanks again
 
Old 10-01-2003, 08:08 AM   #4
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Original Poster
Rep: Reputation: 65
Well, just a little thing to add here. I've just formated my HD again and installed Jamd again. Gimp runs just fine. If you type apt-get upgrade though, some packages apparently mess up the gimp. And that is because I'm upgrading only to stable packages...
Be careful... For the moment, I will stick without The Gimp :S
 
Old 10-01-2003, 10:37 AM   #5
BedriddenTech
Member
 
Registered: Aug 2003
Distribution: Slackware 9.1, 10; FreeBSD 5.2.1; Fedora Core 2; SuSE 9.1
Posts: 44

Rep: Reputation: 15
Hm, can't you compile the gimp from the sources, would that perhaps help...?
 
Old 10-01-2003, 12:16 PM   #6
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
yeah I would try a nice clean reinstall after all the upgrades.
 
Old 10-01-2003, 12:29 PM   #7
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
well it looks like gip is expecting to see the particular file in its module path
you may have a broken sym link between them
find the gimp folder
look round for something round the line of modules
make sym link between the existing files and where gimp wants it

that may work


I had a similar problem with a spontaneously missing file after and upgrade
last night

found the file in question
linked it
everything ok
 
Old 10-01-2003, 03:51 PM   #8
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Original Poster
Rep: Reputation: 65
Thanks a lot guys. You were very helpful and gave me a lot of solutions if this happens next time. Right now, I upgraded again my box using apt-get and now it works and so works a few programs which was working oddly before (wine, mplayer and xmms).
It really looks like apt-get repositories have done something funny with it earlier today .

An interesting thing though is that I've formated my Linux partition, did a fresh install of J.A.M.D and the gimp was still returning the same problem (without any updates). I made sure this time that it was not dependencies broken and the gtk-engines were installed. But the program still failed. I wonder if this is a known bug from J.A.M.D (I will check it right now) or if I have a bad iso, because after apt-get update and upgrade and dist-upgrade things started getting better.

Once again thanks for the help everyone
 
Old 10-04-2003, 08:07 PM   #9
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Original Poster
Rep: Reputation: 65
Okidokee.. We now have confirmation. It was a problem with J.A.M.D. The Gimp really won't work right out of the box, but J.A.M.D's/apt-get repositories are already fixed:

http://www.jamd-linux.com/modules.ph...iewtopic&t=318

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Qt application: segmentation fault error dr_berta Programming 2 10-24-2005 03:20 PM
Segmentation Fault ERROR bluechicken Programming 8 06-30-2005 07:02 AM
GIMP ==> Segmentation Fault ?? T-u-N-i-X Linux - Software 0 04-15-2004 12:24 PM
Segmentation Fault Error ashwinipahuja Programming 1 03-29-2004 02:09 PM
Cannot boot; Segmentation Fault Error Evan P. Linux - Newbie 2 11-24-2003 09:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration