LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-15-2004, 10:21 PM   #1
eam
Member
 
Registered: Nov 2003
Location: USA
Distribution: Slackware
Posts: 67

Rep: Reputation: 15
Segmentation fault when starting Mozilla


When I try to start Mozilla I get this error:
/usr/local/mozilla/run-mozilla.sh: line 451: 1912 Segmentation fault "$prog" ${1+"$@"}

and it doesn't open. I've been using it for a while without any problems and I don't know how this happened. How could I fix it?
 
Old 02-16-2004, 02:16 AM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Which mozilla are you using and how did you install it?
 
Old 02-16-2004, 08:51 AM   #3
eam
Member
 
Registered: Nov 2003
Location: USA
Distribution: Slackware
Posts: 67

Original Poster
Rep: Reputation: 15
Version 1.6 installed from source.
 
Old 02-16-2004, 09:16 AM   #4
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Installed from source? Wow, you're keen. Well I've never installed mozilla from source, nor do I know specifically what the problem is. However, if you kept the compiled code around you can try to do another make install or whatever the mozilla makefiles specify. That may override any broken binaries or libraries.

Just out of interest what does line 451 of /usr/local/mozilla/run-mozilla.sh look like? Include a few lines before it too.

Oh, one more thing, you misspelled "until" in your sig.
 
Old 02-16-2004, 09:50 AM   #5
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
Hi.... I am also facing a similar problem with Mozilla Firefox...and the error is something like

illegal instruction $prog" ${1+"$@"} line 451

I opened up the file and saw that line 451 is a part of if-then-else loop...and so it wont make much sense to comment out those lines as I dont know what that loop is doing...so I havent tried to play around.

but I have not been able to run the Firefox script...by the way, it was a .tar.gz file. Just decompressed it....

where can the problem be, if the downloaded file was corrupt, it would not be decompressed...and there is only 1 download link for firefox.....can this be fixed ?

Regards,

amit
 
Old 02-16-2004, 10:06 AM   #6
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Coolamit78, you really haven't given anyone much to go on. Maybe if you posted the If-then-else statement (not loop) then someone may be able to figure out what it does.
 
Old 02-16-2004, 10:59 AM   #7
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
i'm sorry for that incomplete post....here are the lines from the script run-mozilla.sh

443 export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
444 export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
445
446 if [ $moz_debug -eq 1 ]
447 then
448 moz_debug_program ${1+"$@"}
449 else
450 moz_run_program ${1+"$@"}
451 fi
452
453 exit $exitcode

and the error i get is

root@amit firefox]# ./firefox
/home/amit/dlds/firefox/run-mozilla.sh: line 451: 2244 Illegal instruction "$prog" ${1+"$@"}

I hope now u can get a better idea about the problem...

Regards,

amit
 
Old 02-16-2004, 11:03 AM   #8
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
can you run mozilla directly?

type mozilla in a terminal, or give a full path to where the binary is located
 
Old 02-16-2004, 12:15 PM   #9
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
I dont know if that questions was for me or for the original thread starter....well, i tried running all the firefox executables, but none of them works....

By the way, I have purposely omitted posting the entire run-mozilla.sh script becos its quite a long file...However, if someone really wants it, pls let me know...i will post it entirely then...

Thanx and Regards,

amit
 
Old 02-16-2004, 12:29 PM   #10
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
Ok...on a closer view, i see two firefox files

for GTK and another for GTK2 and XFT

Now I have downloaded firefox for GTK....I'm not sure if thats the correct version for my box...by the way, whats GTK2 and XFT ?

Regards,

amit
 
Old 02-16-2004, 01:57 PM   #11
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
well...i've successfully installed firefox on my box. I had downloaded the wrong firefox file. The correct file was the second one - GTK2 and XFT version whereas previously I was trying to install the first one (GTK)...In fact, firefox has opened even when one instance of Mozilla 1.6 is running right now.....

and ya, my apologies to eam for grabbing a lot of space in his thread...I hope that u'll also get mozilla working on ur box...

Thanx everyone....3 cheers for mozilla and mozilla firefox!

Regards,

amit
 
Old 06-27-2006, 02:38 PM   #12
penguinpuppy
LQ Newbie
 
Registered: Jun 2005
Location: india
Distribution: SUSE 9.3
Posts: 7

Rep: Reputation: 0
Thumbs up change the themes to deafult

hello Guys
Well i was facing the same problem on a Suse 10.1 Box .
The problem got fixed when i changed the themes to default and everyting else is perfect as far as Firefox is concerned so do give this try when you are sailing in the same boat.
 
  


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
Segmentation Fault when starting Maya 7 Renato Cabelino Linux - Software 4 11-29-2005 04:32 PM
/usr/lib/mozilla-1.7.11/run-mozilla.sh: line 159: 3492 Segmentation fault behmjoe Linux From Scratch 2 11-28-2005 11:48 AM
Segmentation fault when starting WINE :( quinnk Linux - Software 1 07-12-2004 03:45 AM
Segmentation fault when starting xmame (xgl) mrwriter Linux - Games 4 05-27-2004 01:30 AM
Segmentation fault when starting xmame (xgl) mrwriter Linux - Software 0 05-05-2004 10:15 AM


All times are GMT -5. The time now is 09:26 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration