LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-21-2012, 12:07 AM   #1
jhdalben
LQ Newbie
 
Registered: Oct 2011
Posts: 18

Rep: Reputation: Disabled
Problem with firefox


Hello, I`m kinda new to Slackware, and I`m having trouble when opening firefox. When I run it from the "run" window it opens and then crashes after 10 seconds, this is probably the firefox I got with slackpg. However, when I run it from the terminal, it works perfectly, and this leads me to believe that I have two versions of firefox installed, but I can`t figure out anything beyond that. I`m a real newbie that read all the documentation I could, but still can`t figure out what`s going wrong.



Any tips?
 
Old 08-21-2012, 12:24 AM   #2
botzko
LQ Newbie
 
Registered: Jun 2006
Distribution: Slackware 14.1 64bit
Posts: 24

Rep: Reputation: 0
You can check are there 2 versions of FF by running this command (as root):
Code:
ls /var/log/packages/ | grep -i firefox
If there are 2 rows (packages) then you have 2 versions of FF. Use 'removepkg' to remove the broken one.
If there is only one package then you can run
Code:
whereis firefox
and then execute the FF with the full path in "run" windows to check will it crash or not.

P.S. You can try to disable all the extensions installed on FF.

Last edited by botzko; 08-21-2012 at 12:25 AM.
 
Old 08-21-2012, 12:59 AM   #3
jhdalben
LQ Newbie
 
Registered: Oct 2011
Posts: 18

Original Poster
Rep: Reputation: Disabled
It seems that I have only one version from slackpkg. However, the problem persists: if I run it through the terminal, it works perfectly, but if I run it from the "run command" window, it crashes after 10 seconds approximately. In addition, when I re-open them, each one tries to restore a different session (group of tabs), that`s why I thought it wasn`t the same instalation. Funny...

Any ideas?
 
Old 08-21-2012, 02:02 AM   #4
zhtengw
LQ Newbie
 
Registered: Jul 2012
Location: Meizhou, China
Distribution: Slackware
Posts: 9

Rep: Reputation: Disabled
Quote:
Originally Posted by jhdalben View Post
It seems that I have only one version from slackpkg. However, the problem persists: if I run it through the terminal, it works perfectly, but if I run it from the "run command" window, it crashes after 10 seconds approximately. In addition, when I re-open them, each one tries to restore a different session (group of tabs), that`s why I thought it wasn`t the same instalation. Funny...

Any ideas?
hm,do you have another firefox.desktop file in ~/.local/share/applications/ ?
Maybe you can check out the contain.
 
Old 08-21-2012, 02:08 AM   #5
botzko
LQ Newbie
 
Registered: Jun 2006
Distribution: Slackware 14.1 64bit
Posts: 24

Rep: Reputation: 0
Or you just run it as different users or use different profiles?
Run FF
Code:
firefox -safe-mode
and disable all the add-ons. Then try to run it from the 'run command'.

P.S. What is you desktop environment?

Last edited by botzko; 08-21-2012 at 02:09 AM.
 
Old 08-21-2012, 02:16 AM   #6
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: ElementaryOS, Ubuntu LTS, Slackware
Posts: 1,497

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
YMMV, but I found FF 14.0.1 to be terribly buggy. I've been using Seamonkey for a while, and managed yesterday to build Firefox 10.0.6 ESR (Enterprise version, sort of) from source. Runs nice.
 
Old 08-21-2012, 04:34 AM   #7
cynwulf
Senior Member
 
Registered: Apr 2005
Distribution: OpenBSD, Slackware
Posts: 1,225

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
Is Firefox up to date?

Code:
# slackpkg info mozilla-firefox

Last edited by cynwulf; 08-21-2012 at 01:55 PM. Reason: typo
 
Old 08-21-2012, 08:41 AM   #8
zithro
Member
 
Registered: Aug 2012
Distribution: Slackware 13.37
Posts: 46

Rep: Reputation: Disabled
For the whereis firefox command, you can get several locations. You'll have to check if all are pointing to the same binary.
Code:
bash-4.1$ whereis firefox
firefox: /usr/bin/firefox /usr/X11R6/bin/firefox /usr/bin/X11/firefox /usr/X11/bin/firefox
bash-4.1$ ls -l /usr/bin/firefox /usr/X11R6/bin/firefox /usr/bin/X11/firefox /usr/X11/bin/firefox
lrwxrwxrwx /usr/X11/bin/firefox -> /usr/lib/firefox-14.0.1/firefox
lrwxrwxrwx /usr/X11R6/bin/firefox -> /usr/lib/firefox-14.0.1/firefox
lrwxrwxrwx /usr/bin/X11/firefox -> /usr/lib/firefox-14.0.1/firefox
lrwxrwxrwx /usr/bin/firefox -> /usr/lib/firefox-14.0.1/firefox
Of course, for the ls -l command, you'll have to replace the directories by the ones provided by your whereis output (I removed some parts of the output of the ls).

Then you can also try
Code:
bash-4.1$ which firefox
/usr/bin/firefox
bash-4.1$ ls -l /usr/bin/firefox
lrwxrwxrwx /usr/bin/firefox -> /usr/lib/firefox-14.0.1/firefox
You can also check if there are two different profiles created in your home directory:
Code:
ls -l ~/.mozilla/firefox/
If not, you can also try to:
Code:
find ~ -name *.default
this will check in your home dir if there are two default profiles (maybe stored at different locations).

To check in your whole drive if there are two default profiles, run
Code:
find / -name *.default
 
Old 08-21-2012, 05:03 PM   #9
jhdalben
LQ Newbie
 
Registered: Oct 2011
Posts: 18

Original Poster
Rep: Reputation: Disabled
@botzko

I tried your command but it still crashes after I run it from the Run Command window.
Btw, I'm using fluxbox.

@caravel

Apparently yes, but your command accuses I have two slackpkg's of firefox: 14.0.1 and 4.0. What do yout think?

Code:
bash-4.1# slackpkg info mozilla-firefox

PACKAGE NAME:  mozilla-firefox-14.0.1-x86_64-1_slack13.37.txz
PACKAGE LOCATION:  ./patches/packages
PACKAGE SIZE (compressed):  16236 K
PACKAGE SIZE (uncompressed):  43980 K
PACKAGE DESCRIPTION:
mozilla-firefox: mozilla-firefox (Mozilla Firefox Web browser)
mozilla-firefox:
mozilla-firefox: This project is a redesign of the Mozilla browser component written
mozilla-firefox: using the XUL user interface language.  Firefox empowers you to
mozilla-firefox: browse faster, more safely and more efficiently than with any other
mozilla-firefox: browser.
mozilla-firefox:
mozilla-firefox: Visit the Mozilla Firefox project online:
mozilla-firefox:   http://www.mozilla.org/projects/firefox/
mozilla-firefox:

PACKAGE NAME:  mozilla-firefox-4.0-x86_64-2.txz
PACKAGE LOCATION:  ./slackware64/xap
PACKAGE SIZE (compressed):  12700 K
PACKAGE SIZE (uncompressed):  43180 K
PACKAGE DESCRIPTION:
mozilla-firefox: mozilla-firefox (Mozilla Firefox Web browser)
mozilla-firefox:
mozilla-firefox: This project is a redesign of the Mozilla browser component written
mozilla-firefox: using the XUL user interface language.  Firefox empowers you to
mozilla-firefox: browse faster, more safely and more efficiently than with any other
mozilla-firefox: browser.
mozilla-firefox:
mozilla-firefox: Visit the Mozilla Firefox project online:
mozilla-firefox:   http://www.mozilla.org/projects/firefox/
mozilla-firefox:
@zithro

here are my outputs:
Code:
bash-4.1$ whereis firefox
firefox: /usr/bin/firefox /usr/X11R6/bin/firefox /usr/bin/X11/firefox /usr/X11/bin/firefox

bash-4.1$ ls -l /usr/bin/firefox /usr/X11R6/bin/firefox /usr/bin/X11/firefox /usr/X11/bin/firefox
lrwxrwxrwx 1 root root 33 Aug 21 01:25 /usr/X11/bin/firefox -> /usr/lib64/firefox-14.0.1/firefox
lrwxrwxrwx 1 root root 33 Aug 21 01:25 /usr/X11R6/bin/firefox -> /usr/lib64/firefox-14.0.1/firefox
lrwxrwxrwx 1 root root 33 Aug 21 01:25 /usr/bin/X11/firefox -> /usr/lib64/firefox-14.0.1/firefox
lrwxrwxrwx 1 root root 33 Aug 21 01:25 /usr/bin/firefox -> /usr/lib64/firefox-14.0.1/firefox
It looks like yours, and are pointing to the same binary so I think that's not the issue.

Now, the theory about two different profiles created:

Code:
bash-4.1$ ls -l ~/.mozilla/firefox
total 12
drwx------ 31 jh users 4096 Aug 21 18:32 6bkgx13v.default
drwx------  4 jh users 4096 Aug 20 23:47 Crash Reports
-rw-r--r--  1 jh users   94 Aug 20 14:27 profiles.ini
Looks like there is only one profile, am I correct?

Now:

Only 1 profile for firefox on my home directory, I believe.
Code:
bash-4.1$ find ~ -name *.default
/home/jh/.mozilla/seamonkey/lqek7twc.default
/home/jh/.mozilla/firefox/6bkgx13v.default
When I tried to search on my whole drive, it returned a long output. I installed Slackware two days ago and created one user called "john", but I did something with the X files (after I ran init 0 command or something like that), and had to create another user called "jh", which I'm using at the moment. I ran the userdel john command to see if the problem was solved, but it didn't work...


Anyway guys, any suggestions?
Thank you for your support up until the moment, I really appreciate it.

Last edited by jhdalben; 08-21-2012 at 05:04 PM.
 
Old 08-21-2012, 09:43 PM   #10
zhtengw
LQ Newbie
 
Registered: Jul 2012
Location: Meizhou, China
Distribution: Slackware
Posts: 9

Rep: Reputation: Disabled
Quote:
Originally Posted by jhdalben View Post

@caravel

Apparently yes, but your command accuses I have two slackpkg's of firefox: 14.0.1 and 4.0. What do yout think?

Code:
bash-4.1# slackpkg info mozilla-firefox

PACKAGE NAME:  mozilla-firefox-14.0.1-x86_64-1_slack13.37.txz
PACKAGE LOCATION:  ./patches/packages
PACKAGE SIZE (compressed):  16236 K
PACKAGE SIZE (uncompressed):  43980 K
PACKAGE DESCRIPTION:
mozilla-firefox: mozilla-firefox (Mozilla Firefox Web browser)
mozilla-firefox:
mozilla-firefox: This project is a redesign of the Mozilla browser component written
mozilla-firefox: using the XUL user interface language.  Firefox empowers you to
mozilla-firefox: browse faster, more safely and more efficiently than with any other
mozilla-firefox: browser.
mozilla-firefox:
mozilla-firefox: Visit the Mozilla Firefox project online:
mozilla-firefox:   http://www.mozilla.org/projects/firefox/
mozilla-firefox:

PACKAGE NAME:  mozilla-firefox-4.0-x86_64-2.txz
PACKAGE LOCATION:  ./slackware64/xap
PACKAGE SIZE (compressed):  12700 K
PACKAGE SIZE (uncompressed):  43180 K
PACKAGE DESCRIPTION:
mozilla-firefox: mozilla-firefox (Mozilla Firefox Web browser)
mozilla-firefox:
mozilla-firefox: This project is a redesign of the Mozilla browser component written
mozilla-firefox: using the XUL user interface language.  Firefox empowers you to
mozilla-firefox: browse faster, more safely and more efficiently than with any other
mozilla-firefox: browser.
mozilla-firefox:
mozilla-firefox: Visit the Mozilla Firefox project online:
mozilla-firefox:   http://www.mozilla.org/projects/firefox/
mozilla-firefox:
...


Anyway guys, any suggestions?
Thank you for your support up until the moment, I really appreciate it.
You can try this command to confirm if you really install two versions of firefox.
Code:
ls -l /var/log/packages/mozilla-firefox*
Then try removepkg [packages] command to remove the version 4.0.
 
Old 08-22-2012, 04:06 AM   #11
zithro
Member
 
Registered: Aug 2012
Distribution: Slackware 13.37
Posts: 46

Rep: Reputation: Disabled
When you say terminal, you mean an xterm (a terminal running on X) right, not a tty terminal ?

Have you tried running the various which/whereis commands from a terminal AND from the run command ?
By the way, from the run command, you may need to append some kind of output redirection as the command may not write anything anywhere (except from the tty where X has been started):
Code:
COMMAND >~/foo-logfilename 2>&1
or simply, for one-time-running commands (like whereis or which but NOT for firefox)
COMMAND >~/foo-logfilename
Code:
whereis firefox >~/whereis-log 2>&1
or simply
whereis firefox >~/whereis-log
and
ls -l /usr/bin/firefox /usr/X11R6/bin/firefox /usr/bin/X11/firefox /usr/X11/bin/firefox >~/ls-log 2>&1
or simply
ls -l /usr/bin/firefox /usr/X11R6/bin/firefox /usr/bin/X11/firefox /usr/X11/bin/firefox >~/ls-log
You can also try to redirect output of the crashy FF command like that:
Code:
firefox >~/fflogfile 2>&1
 
Old 08-22-2012, 05:18 AM   #12
cynwulf
Senior Member
 
Registered: Apr 2005
Distribution: OpenBSD, Slackware
Posts: 1,225

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
In your thread at linuxforums.org you mentioned that you'd downloaded firefox from mozilla?

http://www.linuxforums.org/forum/sla...tml#post901704

I would suggest that you remove both firefox versions with slackpkg, then hunt down and remove the firefox you downloaded from mozilla. Remove all traces of it, then reinstall firefox 14 with slackpkg. I'm not sure how you got 2 versions installed with slackpkg, most likely because you just installed 14 instead of running an upgrade which would have removed 4 and installed 14...?

Removing the one you installed from mozilla should be simple simple enough, i.e. I'd assume you installed it to somewhere like /usr/local or /opt ?
 
Old 08-23-2012, 02:04 PM   #13
ottavio
Member
 
Registered: Nov 2007
Posts: 312

Rep: Reputation: 46
Having two binaries of Firefox is unlikely to cause the crash. Most likely you are using the same profile for two very different binaries. It's quite possible that your profile is corrupted. Make sure you delete your local profile before reinstalling Firefox. By the way I use the Mozilla provided binary and it works like a charm.
 
Old 08-24-2012, 04:28 AM   #14
zithro
Member
 
Registered: Aug 2012
Distribution: Slackware 13.37
Posts: 46

Rep: Reputation: Disabled
Quote:
Originally Posted by ottavio View Post
Having two binaries of Firefox is unlikely to cause the crash. Most likely you are using the same profile for two very different binaries.
Contradicting sentence ^^ unlikely-->likely ?
But I think you're right, that's why I proposed running the whereis from the terminal (what he did) AND the run command. Maybe both are not using the same environments.
 
Old 08-29-2012, 07:07 PM   #15
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 174

Rep: Reputation: 20
FWIW, Firefox 15.0 just came out yesterday. I have already built and installed it on my 64-13.37 and 64-current partitions. I even went ahead and tried to see if it would even build on 64-13.1. Answer: YES! BUT, there is a catch. Since the latest versions of FF need Yasm to build, I built and installed the latest Yasm out of the -current source tree, and FF built just fine. I'm using it right now as I sit here typing this.

Of course, YMMV.

UPDATE: Just found yasm-1.2.0 in slackware64-13.1/patches/packages folder, so I didn't really need to build it from -current after all.

Last edited by Lenard Spencer; 08-29-2012 at 07:21 PM. Reason: updated info
 
  


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
LXer: Firefox 9 Is 30% Faster Than Firefox 8 | Install Firefox 9 On Ubuntu 11.10 and Earlier Release LXer Syndicated Linux News 0 12-30-2011 03:50 PM
LXer: Firefox 8 is 20% Faster than Firefox 5, Install Firefox 8 in Ubuntu via PPA LXer Syndicated Linux News 0 07-21-2011 09:31 PM
Problem on mozilla firefox, thunderbird and print selection problem staff Linux - Software 3 08-03-2006 03:38 AM
firefox 1.1.7 NL problem TranceDude Linux - Software 2 09-24-2005 12:43 PM
problem with firefox almir Linux - Newbie 6 08-06-2004 01:14 PM


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