From owner-freebsd-ports@FreeBSD.ORG Thu Nov 29 14:18:07 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACCC516A41A for ; Thu, 29 Nov 2007 14:18:07 +0000 (UTC) (envelope-from djp@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.123]) by mx1.freebsd.org (Postfix) with ESMTP id 7C64913C442 for ; Thu, 29 Nov 2007 14:18:07 +0000 (UTC) (envelope-from djp@polands.org) Received: from corinth.polands.org ([75.87.219.217]) by hrndva-omta04.mail.rr.com with ESMTP id <20071129141806.XRHJ9427.hrndva-omta04.mail.rr.com@corinth.polands.org>; Thu, 29 Nov 2007 14:18:06 +0000 Received: from ammon.polands.org (ammon.polands.org [172.16.1.7]) by corinth.polands.org (8.13.8/8.13.8) with ESMTP id lATEI5AB035371; Thu, 29 Nov 2007 08:18:05 -0600 (CST) (envelope-from djp@polands.org) Received: from ammon.polands.org (localhost [127.0.0.1]) by ammon.polands.org (8.13.8/8.13.8) with ESMTP id lATEI5dl071534; Thu, 29 Nov 2007 08:18:05 -0600 (CST) (envelope-from djp@ammon.polands.org) Received: (from djp@localhost) by ammon.polands.org (8.13.8/8.13.8/Submit) id lATEI4t9071533; Thu, 29 Nov 2007 08:18:04 -0600 (CST) (envelope-from djp) Date: Thu, 29 Nov 2007 08:18:04 -0600 From: Doug Poland To: Mike Bowie , freebsd-ports@freebsd.org, yuri.pankov@gmail.com Message-ID: <20071129141804.GA71334@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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071129042119.GA57479@polands.org> User-Agent: Mutt/1.5.11 X-Virus-Scanned: ClamAV 0.88.4/4952/Thu Nov 29 06:52:37 2007 on corinth.polands.org X-Virus-Status: Clean Cc: Subject: Re: Firefox 2.0.0.9 issues on 7.0-BETA3 (SOLVED) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2007 14:18:07 -0000 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