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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-15-2004, 09:21 PM
|
#1
|
|
Member
Registered: Nov 2003
Location: USA
Distribution: Slackware
Posts: 67
Rep:
|
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?
|
|
|
|
02-16-2004, 01:16 AM
|
#2
|
|
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713
Rep:
|
Which mozilla are you using and how did you install it?
|
|
|
|
02-16-2004, 07:51 AM
|
#3
|
|
Member
Registered: Nov 2003
Location: USA
Distribution: Slackware
Posts: 67
Original Poster
Rep:
|
Version 1.6 installed from source.
|
|
|
|
02-16-2004, 08:16 AM
|
#4
|
|
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713
Rep:
|
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.
|
|
|
|
02-16-2004, 08:50 AM
|
#5
|
|
Member
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546
Rep:
|
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
|
|
|
|
02-16-2004, 09:06 AM
|
#6
|
|
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713
Rep:
|
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.
|
|
|
|
02-16-2004, 09:59 AM
|
#7
|
|
Member
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546
Rep:
|
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
|
|
|
|
02-16-2004, 10:03 AM
|
#8
|
|
Member
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987
Rep:
|
can you run mozilla directly?
type mozilla in a terminal, or give a full path to where the binary is located
|
|
|
|
02-16-2004, 11:15 AM
|
#9
|
|
Member
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546
Rep:
|
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
|
|
|
|
02-16-2004, 11:29 AM
|
#10
|
|
Member
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546
Rep:
|
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
|
|
|
|
02-16-2004, 12:57 PM
|
#11
|
|
Member
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546
Rep:
|
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
|
|
|
|
06-27-2006, 01:38 PM
|
#12
|
|
LQ Newbie
Registered: Jun 2005
Location: india
Distribution: SUSE 9.3
Posts: 7
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:49 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|