Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2007 08:18:04 -0600
From:      Doug Poland <doug@polands.org>
To:        Mike Bowie <mbowie@buzmo.com>, freebsd-ports@freebsd.org, yuri.pankov@gmail.com
Subject:   Re: Firefox 2.0.0.9 issues on 7.0-BETA3 (SOLVED)
Message-ID:  <20071129141804.GA71334@polands.org>
In-Reply-To: <20071129042119.GA57479@polands.org>
References:  <61375.208.49.58.254.1196281778.squirrel@email.polands.org> <20071129024519.GA57003@polands.org> <474E2DF0.9070506@buzmo.com> <20071129033317.GA57175@polands.org> <20071129042119.GA57479@polands.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 28, 2007 at 10:21:19PM -0600, Doug Poland wrote:
> On Wed, Nov 28, 2007 at 09:33:17PM -0600, Doug Poland wrote:
> > On Wed, Nov 28, 2007 at 07:11:44PM -0800, Mike Bowie wrote:
> > > Doug Poland wrote:
> > > >On Wed, Nov 28, 2007 at 02:29:38PM -0600, Doug Poland wrote:
> > > >  
> > > >>Hello,
> > > >>
> > > >>I have a freshly installed 7.0-BETA3 i386 system and am having
> > > >>issues with firefox 2.0.0.9.
> > > >>
> > > >>Upon launching /usr/local/bin/firefox from a command line I am
> > > >>immediately returned a cursor with an error code of 1.
> > > >>
> > > >>% /usr/local/bin/firefox
> > > >>% echo $?
> > > >>1
> > > >>
> > > >>I debugged both /usr/local/bin/firefox and
> > > >>/usr/local/lib/firefox/run-mozilla.sh until I found the debugger
> > > >>option, which I tried:
> > > >>
> > > >>/usr/local/lib/firefox/run-mozilla.sh -g
> > > >>/usr/local/lib/firefox/firefox-bin -d gdb
> > > >>
> > > >># /usr/local/lib/firefox/run-mozilla.sh -g \
> > > >>  /usr/local/lib/firefox/firefox-bin -d gdb
> > > >>
> > > >>MOZILLA_FIVE_HOME=/usr/local/lib/firefox
> > > >>  LD_LIBRARY_PATH=/usr/local/lib/firefox:/usr/local/lib/firefox/plugins:/usr/local/lib/browser_plugins:/usr/local/lib/browser_linux_plugins:/usr/local/lib/firefox
> > > >>DISPLAY=:0.0
> > > >>DYLD_LIBRARY_PATH=/usr/local/lib/firefox:/usr/local/lib/firefox
> > > >>     LIBRARY_PATH=/usr/local/lib/firefox:/usr/local/lib/firefox/components:/usr/local/lib/firefox
> > > >>       SHLIB_PATH=/usr/local/lib/firefox:/usr/local/lib/firefox
> > > >>          LIBPATH=/usr/local/lib/firefox:/usr/local/lib/firefox
> > > >>       ADDON_PATH=/usr/local/lib/firefox
> > > >>      MOZ_PROGRAM=/usr/local/lib/firefox/firefox-bin
> > > >>      MOZ_TOOLKIT=
> > > >>        moz_debug=1
> > > >>     moz_debugger=
> > > >>/usr/bin/gdb /usr/local/lib/firefox/firefox-bin -x /tmp/mozargs.VoVJBX
> > > >>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) run
> > > >>Starting program: /usr/local/lib/firefox/firefox-bin -d gdb
> > > >>(no debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...(no debugging symbols found)...[New LWP
> > > >>100191]
> > > >>(no debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...(no debugging symbols found)...[New Thread
> > > >>0x29a01100 (LWP 100191)]
> > > >>(no debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...(no debugging symbols found)...(no
> > > >>debugging symbols found)...[New LWP 100191]
> > > >>
> > > >>Program received signal SIGTRAP, Trace/breakpoint trap.
> > > >>[Switching to LWP 100191]
> > > >>Cannot remove breakpoints because program is no longer writable.
> > > >>It might be running in another process.
> > > >>Further execution is probably impossible.
> > > >>0x2805c3e0 in ?? () from /libexec/ld-elf.so.1
> > > >>
> > > >>I did some googling but nothing interesting turned up.  I find it
> > > >>curious that the latest build of Thunderbird works, but linux-firefox
> > > >>fails like it's native sibling.
> > > >>
> > > >>All help is appreciated...
> > > >>
> > > >>    
> > > >Thought I'd try installing firefox 2.0.0.10,1 on the whim that it may
> > > >fix my problem.  No joy.
> > > >
> > > >BTW, how do I get debugging symbols for firefox so that I may further
> > > >debug this?
> > > >
> > > >
> > > >  
> > > Doug,
> > > 
> > > I had a 7.0-BETA2 system on a laptop for a few days and recall having
> > > a similar sounding problem with both firefox and firefox-devel.  IIRC,
> > > it turned out to be a dependency which was somehow missed in my rather
> > > minimal installation.  It was a few weeks back and my brain is a bit
> > > full, but you might see if something is lacking in the results of a
> > > "ldd /usr/local/lib/firefox/firefox-bin".
> > > 
> > Hi Mike,
> > 
> > Thanks for the tip.  Unfortunately, I don't see anything missing on that
> > ldd output.  I'll check it against another freebsd host that runs
> > firefox, maybe that'll shed some light on the subject.
> > 
> I compared it against a 6.2-STABLE box running Xorg 6.9.  and nothing
> looks ununusal.  Although, admittedly, I may not know what to look for.
> 
> In addition, I just finished rebuilding all of firefox's dependancies:
> 
>  	# portupgrade -fR firefox
> > 
> and that still has not fixed the problem.  
> 
Well, those that pointed out permission and ownership fixes with
~/.mozilla were on the right track.  I did not point out initially was
that my ~/.mozilla directory was a restore from a backup.  And that back
up was made *after* a disk malfunction and failed fsck attempts.

My solution was to move my ~/.mozzila directory to a different name, and
launch firefox, voila!

I did find a good resource on-line for troubleshooting Firefox startup
issues (http://kb.mozillazine.org/Standard_diagnostic_-_Firefox).  I
went through every step, but no joy.  An important file must have be
corrupted during the crash and firefox refuses to start.

Thanks for your assistance.


-- 
Regards,
Doug



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071129141804.GA71334>