LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Firefox crashing frequently (https://www.linuxquestions.org/questions/ubuntu-63/firefox-crashing-frequently-474728/)

satimis 08-17-2006 07:29 AM

Firefox crashing frequently
 
Hi folks,

On
Ubuntu-6.0.6-amd64
Ubuntu-6.0.6-i386

Firefox crashed frequently on both versions causing either;

PC hanging
OR
closing the browser
OR
closing the browser and exiting desktop simultaneously. Relogin is required.

Is there any fix?

I suppose previously having seen a thread somewhere, suggusting removing Firefox from the OS and reinstalling it from the package download from its website.

Advice would be appreciated. TIA

B.R.
satimis

nuxrl 08-17-2006 09:00 AM

I would suggest another way around, use the one in the repository instead of from mozilla.com. I have 1.5.0.5 for i386 from the repository installed but haven't seen anything like what you described. I would try to remove Firefox from your system, then delete ~/.mozilla and /usr/lib/firefox-1.5.0.x directories and re-install from apt-get.

In case you want to trace what went wrong when it crashed, try,
Code:

sudo echo "core" > /proc/sys/kernel/core_pattern
ulimit -c unlimited

Hopefully, Firefox will generate a core when it crashes.

-nuxrl

satimis 08-17-2006 10:03 AM

Hi nuxrl,

Tks for your advice.

Quote:

I would suggest another way around, use the one in the repository instead of from mozilla.com. I have 1.5.0.5 for i386 from the repository installed but haven't seen anything like what you described. I would try to remove Firefox from your system, then delete ~/.mozilla and /usr/lib/firefox-1.5.0.x directories and re-install from apt-get.
Whether remove the existing firefox with;
Code:

$ sudo apt-get remove firefox

$ sudo rm ~/.mozilla

Then which directory shall I remove
Code:

$ sudo rm -rf /usr/lib/firefox
OR
Code:

$ sudo rm -rf /usr/lib/mozilla-firefox
Because
$ ls /usr/lib/ | grep firefox
Code:

firefox
mozilla-firefox

After installation of Ubuntu-6.0.6, I have run
Code:

$ sudo apt-get upgrade
upgrading firefox

Quote:

In case you want to trace what went wrong when it crashed, try,
Code:

sudo echo "core" > /proc/sys/kernel/core_pattern
ulimit -c unlimited


Yes, I'll if the PC won't hang.

I just tested;
~$ sudo echo "core" > /proc/sys/kernel/core_pattern
Code:

bash: /proc/sys/kernel/core_pattern: Permission denied
B.R.
satimis

nuxrl 08-17-2006 07:40 PM

Quote:

Originally Posted by satimis
Hi nuxrl,

Tks for your advice.


Whether remove the existing firefox with;
Code:

$ sudo apt-get remove firefox

$ sudo rm ~/.mozilla


Either apt-get or Synaptic Pkg Mgr.

Quote:

Then which directory shall I remove
Code:

$ sudo rm -rf /usr/lib/firefox
OR
Code:

$ sudo rm -rf /usr/lib/mozilla-firefox
Because
$ ls /usr/lib/ | grep firefox
Code:

firefox
mozilla-firefox


Depends on where /usr/bin/firefox is pointing.

Quote:

I just tested;
~$ sudo echo "core" > /proc/sys/kernel/core_pattern
Code:

bash: /proc/sys/kernel/core_pattern: Permission denied
B.R.
satimis
Sorry, my bad. You have to be root.
Code:

$sudo passwd root
type new new passwd for root twice.

#echo "core" > /proc/sys/kernel/core_pattern
#echo "0" > /proc/sys/kernel/core_uses_pid


Thulemanden 08-18-2006 11:57 AM

Try deleting the java plugin.

If it solves it, you have the wrong jre plugin.


All times are GMT -5. The time now is 08:30 AM.