LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-28-2010, 01:17 AM   #1
aarav2306
Member
 
Registered: Jan 2009
Posts: 55

Rep: Reputation: 15
Mozilla Firefox crashing in 2mins


Hi,
Firefox 3.6.8 on Ubuntu 9.04 crashing every 2mins
Tried sudo apt-get remove firefox
and then sudo apt-get autoremove
and finally sudo apt-get install firefox
Maybe the same packages again get installed
Deleted most of the bookmarks
But still my firefox crashes
Kindly help
Regards
Aarav
 
Old 07-28-2010, 01:38 AM   #2
zirias
Member
 
Registered: Jun 2010
Posts: 361

Rep: Reputation: 59
In my experience, firefox crashes are most of the time (of course not always) caused by plugins. What plugins does your "aboutlugins" show?
 
Old 07-28-2010, 01:51 AM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Move or rename .mozilla and restart Firefox
 
Old 07-28-2010, 02:18 AM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Uninstall plugins. If the problem persists, run firefox on a terminal window and carefully look at the output. If nothing else works, move ~/.mozilla/ elsewhere and try again.
 
Old 07-28-2010, 03:36 AM   #5
aarav2306
Member
 
Registered: Jan 2009
Posts: 55

Original Poster
Rep: Reputation: 15
hi
should I move the entire folder /usr/share/mozilla
and also 2-3 other files like vnd.mozilla.webapp.xml & vnd.mozilla.xul+xml.xml which appears in usr/share/mime/application and couple of similar files

In Firefox under the tab Tools - Manage Content Plugins, I dont find any under "show plugins in use" but find several in "show all plugins". How do I delete/uninstall them if at all they are installed.

regards
Aarav
 
Old 07-28-2010, 03:42 AM   #6
zirias
Member
 
Registered: Jun 2010
Posts: 361

Rep: Reputation: 59
Quote:
Originally Posted by aarav2306 View Post
hi
should I move the entire folder /usr/share/mozilla
don't touch that, only try moving ~/.mozilla (the directory ".mozilla" in YOUR home directory) out of the way. This way, all your personal settings, bookmarks, extensions etc will be gone, but maybe also the problem. You can then try restoring part of that by copying individual files back to ~/.mozilla.

Quote:
In Firefox under the tab Tools - Manage Content Plugins, I dont find any under "show plugins in use" but find several in "show all plugins". How do I delete/uninstall them if at all they are installed.
You can see plugins by typing "aboutlugins" in your location bar. you can remove them by removing files/links from /usr/share/mozilla/plugins and/or ~/.mozilla/plugins.
 
Old 07-28-2010, 03:44 AM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by aarav2306 View Post
hi
should I move the entire folder /usr/share/mozilla
and also 2-3 other files like vnd.mozilla.webapp.xml & vnd.mozilla.xul+xml.xml which appears in usr/share/mime/application and couple of similar files
No.

When I say that you should move ~/.mozilla/ elsewhere I really mean that you should take that foldes off the firefox scope so the old config files are not read. Because the problem might be in your user profile and not in firefox itself (well, arguably).

You should never ever put user files on your main system unless you know what you are doing, and if you have to ask then you don't.

Quote:
In Firefox under the tab Tools - Manage Content Plugins, I dont find any under "show plugins in use" but find several in "show all plugins". How do I delete/uninstall them if at all they are installed.
Firefox should provide an option to uninstall them if they are user plugins. If they are installed system wide then they should be fine there.
 
Old 07-28-2010, 04:49 AM   #8
aarav2306
Member
 
Registered: Jan 2009
Posts: 55

Original Poster
Rep: Reputation: 15
hi
Tried running firefox using terminal, after it crashed, the msg which appeared in the terminal was "segmentation fault"
I was able to install few plugins that were installed using "Tools - AddOns"
But it still crashes
I cant find mozilla in my home folder, unless it is the same /usr/share/mozilla folder that we are referring to. I didnt install it in /usr/share on purpose.

Quote:
When I say that you should move ~/.mozilla/ elsewhere I really mean that you should take that foldes off the firefox scope so the old config files are not read.
How do I get a folder off the firefox scope and which folder should I get off the scope cos I cant find mozilla in my home folder
 
Old 07-28-2010, 04:52 AM   #9
zirias
Member
 
Registered: Jun 2010
Posts: 361

Rep: Reputation: 59
It's called .mozilla, a dot in front of a filename means it is "hidden", you need to use e.g. ls -a to see it.

At this point, I'd suggest you google for beginners tuts with the linux/unix shell and filesystem. You will need a LITTLE basic knowledge on this before you are able to solve any kind of issue.
 
Old 07-28-2010, 04:55 AM   #10
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
It's not "mozilla", it's ".mozilla", with a dot in front of its name. And you will usually not see it because the so-called dot-files are considered "hidden". So, most applications won't show them by default, you will have to turn an option or pass a command line parameter to see them. In nautilus there's an option somewhere in the menus. In dolphin and konqueror it's similar.

In command line, to see hidden files using ls you use "ls -a" or "ls -A" (very subtle difference).

If you can't manage to do it on your regular file manager just open a terminal and type this inside (make sure firefox is not open first):

Code:
mv ~/.mozilla/firefox/ ~/firefox_backup/
All your old firefox files will still be under ~/firefox_backup/ in your home folder. The next time you start firefox it will run with default settings.
 
Old 07-28-2010, 05:19 AM   #11
aarav2306
Member
 
Registered: Jan 2009
Posts: 55

Original Poster
Rep: Reputation: 15
hi
File Manager has option of viewing hidden files, renamed the folder .Mozilla and I think it is working now as it is almost 5mins and Firefox has not crashed yet.
Thanks
Aarav
 
Old 07-28-2010, 05:44 AM   #12
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
If you don't need anything from the old profile, once some time has passed you can remove the folder you just renamed.

Last edited by i92guboj; 07-28-2010 at 05:50 AM.
 
  


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
apache is going nuts and monit is restarting it every 2mins... HELP steve51184 Linux - Server 5 12-19-2009 04:30 PM
LXer: Mozilla Thunderbird to Find New Home as Mozilla Foundation Focuses on Mozilla Firefox LXer Syndicated Linux News 0 07-27-2007 09:16 AM
Mozilla (and Firefox) crashing/segmentation faulting, even after reinstalling ender42 Ubuntu 3 02-18-2006 12:01 AM
Mozilla Mail Crashing Commando464 Fedora 1 07-15-2004 09:32 PM
Mozilla crashing? Linux~Powered Linux - Software 2 04-01-2004 01:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:13 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