DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 8th October 2008
Mantazz Mantazz is offline
Shell Scout
 
Join Date: Oct 2008
Posts: 90
Default Firefox 2 & 3 won't start in FreeBSD 6.2

I am not sure how to start troubleshooting firefox problems on one of my freebsd boxes (my webserver at home). I have installed the latest ports of firefox from both www/firefox and www/firefox-devel. I just cvsup'ed my ports tree earlier this week. Both the 'foxes' compile and install fine with no errors reported.

However, nothing happens when I try to start either one. Trying to start from the command prompt will just cause a momentary pause and then eventually nothing - I just get a new command prompt as if all I did was hit enter. No error messages anywhere.

The system is running FreeBSD 6.2-RELEASE. System is a dell optiplex GX260, 2ghz P4 and 256mb ram.

I did try using the '--g-fatal-warnings' option when starting firefox, but that lead to the same result (nothing).

Any ideas on what to try next would be much appreciated.
Reply With Quote
  #2   (View Single Post)  
Old 8th October 2008
mdh's Avatar
mdh mdh is offline
Real Name: Matt D. Harris
FreeBSD 2.2.6 User
 
Join Date: Oct 2008
Location: West Virginia
Posts: 139
Default

Maybe run it in gdb and see how it exits and with what exit code. You may also want to try running the -bin (ie /usr/local/lib/firefox3/firefox-bin for Firefox3) directly and see what sort of output you get, in case the startup script (/usr/local/bin/firefox{3,} is losing some output either intentionally or otherwise.)
Reply With Quote
  #3   (View Single Post)  
Old 8th October 2008
Mantazz Mantazz is offline
Shell Scout
 
Join Date: Oct 2008
Posts: 90
Default

I've never run gdb before, I don't have the slightest idea what to do in there.

I can say that when I try to run the firefox binaries directly as you suggested, that neither version starts. Same lack of useful return as running simply as "firefox" or "firefox-devel".
Reply With Quote
  #4   (View Single Post)  
Old 8th October 2008
mdh's Avatar
mdh mdh is offline
Real Name: Matt D. Harris
FreeBSD 2.2.6 User
 
Join Date: Oct 2008
Location: West Virginia
Posts: 139
Default

At your (non-root) shell prompt, run:
Code:
gdb /usr/local/lib/firefox3-bin
If you don't have gdb installed, there's a port (devel/gdb, iirc)
Post the output from gdb here, it'll tell you clearly if it is exiting on a signal or with what exit code it is ceasing execution.
Reply With Quote
  #5   (View Single Post)  
Old 8th October 2008
Mantazz Mantazz is offline
Shell Scout
 
Join Date: Oct 2008
Posts: 90
Default

Code:
> gdb /usr/local/lib/firefox-devel/firefox-bin
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)...
(gdb)
Unless I'm missing something this isn't any better than the command prompt's lack of information. It looks like the same output that it gives if I run something that works properly:
Code:
> gdb xclock
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)...
(gdb) 
(gdb)
And if I try something that doesn't work the output isn't that great either - am I missing something?
Code:
> which foobar
foobar: Command not found.
> gdb foobar
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...foobar: No such file or directory.

(gdb)
Reply With Quote
  #6   (View Single Post)  
Old 8th October 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 445
Default

Quote:
Originally Posted by Mantazz
Trying to start from the command prompt will just cause a momentary pause and then eventually nothing
I don't want to distract from the approach you two are already working on, but try:
% mv ~/.mozilla ~/.mozilla.old

and try launching firefox again.
__________________
Kill your t.v.
Reply With Quote
  #7   (View Single Post)  
Old 8th October 2008
Mantazz Mantazz is offline
Shell Scout
 
Join Date: Oct 2008
Posts: 90
Default

Quote:
I don't want to distract from the approach you two are already working on, but try:
% mv ~/.mozilla ~/.mozilla.old

and try launching firefox again.
That did it! Does that mean that my firefox profile was corrupted and needed to go away? This brings back memories from earlier version of netscape that would complain about not being able to write to a profile if started after an unclean shutdown.

Thanks!
Reply With Quote
  #8   (View Single Post)  
Old 9th October 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 445
Default

Probably so. Since you saved ~/.mozilla.old you can continue to analyze the problem, if you're so inclined.
__________________
Kill your t.v.
Reply With Quote
  #9   (View Single Post)  
Old 9th October 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

Quote:
Originally Posted by Mantazz View Post
That did it! Does that mean that my firefox profile was corrupted and needed to go away? This brings back memories from earlier version of netscape that would complain about not being able to write to a profile if started after an unclean shutdown.
I always had problems with that, I just assume that FX breaks sometimes its configuration and I do rm -rf ~/.mozilla then.
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Start FireFox rtwingfield FreeBSD Ports and Packages 10 23rd June 2009 03:09 PM
firefox/thunderbird take very long time (~45s) to start caesius FreeBSD Ports and Packages 4 28th November 2008 12:04 AM
Can I start using FreeBSD as desktop machine paragkalra FreeBSD General 4 19th July 2008 05:20 PM
Can't start KDE desktop in FreeBSD bryancostanich FreeBSD Ports and Packages 9 11th June 2008 10:47 PM
Building Mozilla Firefox 3 Beta 5 on FreeBSD vi5in FreeBSD General 6 12th May 2008 11:25 PM


All times are GMT. The time now is 08:28 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick