LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 03-17-2005, 10:09 AM   #1
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Segmentation faults: gkrellm, T'bird, Firefox


Firefox, Thunderbird, and gkrellm have been crashing dozens or hundreds of times a day last 2 or 3 days. I get segmentation fault messages on all three. Since gkrellm shares with the browser and email programs only the use of X resources and Gnome toolkit and other display-oriented processes, I suspect something to do with X. I made no system changes prior to these crashes beginning, however. They just started. Sometimes when I click on a button in T-bird or Firefox the program just disappears and there’s a segmentation fault message in console 1. Gkrellm just disappears time and again all by itself—but of course it’s constantly updating its displays. Again, I get a segmentation fault message.

The message on T’bird is always:

Code:
/home/jon/thunderbird/run-mozilla.sh: line 451: 4740 segmentation fault “$prog”${1+”$@”}
--and I get the same message referring to Firefox, when it crashes.

No other programs but those three are affected so far.

I plan to run memtest when I have several hours for it to run unhindered.

Looking at hundreds of posts on Google about the same problem (with T’bird and Firefox) and the same searching here, I found nothing concrete to help me.

What’s the best way to start troubleshooting something like this?
 
Old 03-18-2005, 10:07 PM   #2
julot
Member
 
Registered: Feb 2005
Location: Bogotá, Colombia
Distribution: Slackware
Posts: 36

Rep: Reputation: 15
This info is something useless, but it happens to me too, under SuSE 9.0
 
Old 03-18-2005, 10:15 PM   #3
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Original Poster
Rep: Reputation: 47
Quote:
Originally posted by julot
This info is something useless, but it happens to me too, under SuSE 9.0
Not useless at all! It appears it happens to a number of people (to judge from Google search).

If it was a hard disk problem, I'd expect other programs to fail, too, not just those three.

Furthermore, I had to do a re-install of Mandrake 10.1 OE due to wiping out some libraries. I did the "upgrade" version, which preserves almost everything intact. It usually fixes serious problems like that, and it did this time.

The strange thing is, after the re-installation, Firefox and Thunderbird still fail but far, far less often. Gkrellm still fails many times a day.

Completely puzzled.

 
Old 03-29-2005, 09:58 AM   #4
k41184
Member
 
Registered: Nov 2003
Location: Sioux Center, IA
Distribution: RH9, Fedora Core I,II,III
Posts: 37

Rep: Reputation: 15
Segmentation fault

Here's some more info, as I too have a similiar problem.
I am running Fedora Core III fully updated and just recently reinstalled fresh.

I have Firefox 1.0.2. Everythingw as working great until I installed The Java Runtime ENviroment 1.5. I was following the exact instructions from Sun itself at http://java.com/en/download/help/5000010500.xml#enable. I ran the installation and everything went fine. I went to the firefox plugins directory and created a symobolic link to java, and restarted the browser. Every time after that I got the following:

[root@struik firefox-1.0.2]# ./firefox
./run-mozilla.sh: line 159: 5730 Segmentation fault "$prog" ${1+"$@"}


After I removed the symoblic link to java in /usr/lib/firefox-1.0.2/plugins Firefox came back to life.

So, it appear, at least in my case, that Sun's Java is the culprit.
Does anyone out there know how to make this work? I need java installed so I can run some applets and so I can run the Arsenal Sever for a college course I am taking.

PS: A classmate of mine who is running FCIII on a laptop is having the same issue. Add him to the list of people with problems too.
 
Old 03-29-2005, 12:27 PM   #5
Jimbo99
Member
 
Registered: Nov 2003
Distribution: Ubuntu 7.04
Posts: 241

Rep: Reputation: 31
I have FC3 with that version of Java and I have repaired the sym link. The only problem I have is periodically I have some core.#### files being dumped.

On top of that I have several boxes of FC3 where I have done the same thing to all of them yet only one has the core.#### dump files.

I have updated my suse 9.1 box too.

Although I believe there is some instability created by some update, probably something done via yum from a patch that RH did that they didn't fully check out, but I'm only guessing.

Now, aside from those things the machines are reliable and continue to work. Technically I see few crashes of programs.

If there is a problem caused by RH they know about it most likely and the problem with FOSS is that they don't have an obligation to announce it nor provide fixes, except in their own good time.

Continuining....If you are crashing either the workstation or regularly in programs (hundreds of times a day is alot) you need to examine your hardware. As the owner of a small business that repairs and upgrades computers, one thing I find is that there's no predictable time when a problem with hardware can crop up. So, the general rule is: You don't resolve software problems before determining if there's a hardware problem first. No matter what you think of your system you need to throughly test your hardware before concluding it is a software issue.
 
Old 03-29-2005, 12:47 PM   #6
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Original Poster
Rep: Reputation: 47
I started to write about my Java experiences but realized it was just babbling that didn't help anything. Basically, I've had no problem other than getting apps to know where the Java files are. But I haven't tried Java with Firefox 1.0.1 and probably won't...

Other than that, I had to do a COMPLETE reinstall (partitioning etc.) about two weeks ago due to operator error (me) resulting in libraries being wiped out, bash wiped out, boot sector wiped out... After about fifteen hours' work I was back in operation with my apps in place again--and have not had a single segmentation error since then. Firefox and Thunderbird both stay put and behave.

I'll never know what was wrong, but it was apparently something other than Firefox and Thunderbird, for I am using the exact same installations I had before (home directory was not touched).

Mysteries continue....

Last edited by jonr; 03-29-2005 at 12:48 PM.
 
Old 03-30-2005, 01:36 PM   #7
k41184
Member
 
Registered: Nov 2003
Location: Sioux Center, IA
Distribution: RH9, Fedora Core I,II,III
Posts: 37

Rep: Reputation: 15
How I fixed my Java Segmenation fault error

I Followed the instructions at
http://www.linuxquestions.org/questions/answers.php?action=viewarticle&artid=285

Howver, I made one change. In the line that says:

"ln -s /usr/java/j2re1.4.1_01/plugin/i386/ns610-gcc32/libjavaplugin)oji.so"

I ran

ln -s /usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so

The most important thing to note is that I used ns7 , not ns7-gcc32

Now everything works fine
 
  


Reply



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
Segmentation faults winterhunter Linux - Software 5 10-14-2005 03:06 AM
Some help with segmentation faults? captainslushie Linux - Software 5 06-23-2005 02:59 PM
Segmentation Faults. Terroth Linux - Hardware 1 06-19-2005 05:16 AM
Segmentation Faults ryankask Mandriva 2 06-13-2005 07:10 PM
Segmentation Faults? floyd Linux - General 5 09-01-2003 11:54 PM

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

All times are GMT -5. The time now is 01:20 AM.

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