LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Segmentation fault when starting Mozilla (https://www.linuxquestions.org/questions/linux-software-2/segmentation-fault-when-starting-mozilla-146552/)

eam 02-15-2004 09:21 PM

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?

adz 02-16-2004 01:16 AM

Which mozilla are you using and how did you install it?

eam 02-16-2004 07:51 AM

Version 1.6 installed from source.

adz 02-16-2004 08:16 AM

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.

coolamit78 02-16-2004 08:50 AM

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

adz 02-16-2004 09:06 AM

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.

coolamit78 02-16-2004 09:59 AM

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

TheOneAndOnlySM 02-16-2004 10:03 AM

can you run mozilla directly?

type mozilla in a terminal, or give a full path to where the binary is located

coolamit78 02-16-2004 11:15 AM

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

coolamit78 02-16-2004 11:29 AM

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

coolamit78 02-16-2004 12:57 PM

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

penguinpuppy 06-27-2006 01:38 PM

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.


All times are GMT -5. The time now is 07:49 PM.