From owner-freebsd-gnome@FreeBSD.ORG Thu Jan 6 06:45:24 2005 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA51A16A4CE for ; Thu, 6 Jan 2005 06:45:24 +0000 (GMT) Received: from straycat.dhs.org (h0050da134090.ne.client2.attbi.com [24.60.174.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8AF643D39 for ; Thu, 6 Jan 2005 06:45:21 +0000 (GMT) (envelope-from tmclaugh@sdf.lonestar.org) Received: from compass.straycat.dhs.org (compass.straycat.dhs.org [192.168.1.32]) by straycat.dhs.org (8.13.0/8.13.0) with ESMTP id j066jVFO000056; Thu, 6 Jan 2005 01:45:31 -0500 (EST) From: Tom McLaughlin To: Joe Marcus Clarke In-Reply-To: <1104980858.30055.11.camel@shumai.marcuscom.com> References: <1104819436.812.21.camel@compass.straycat.dhs.org> <1104911414.765.0.camel@compass.straycat.dhs.org> <1104980858.30055.11.camel@shumai.marcuscom.com> Content-Type: multipart/mixed; boundary="=-h1La7GEs6W4te56+l/Lv" Date: Thu, 06 Jan 2005 01:45:20 -0500 Message-Id: <1104993920.1104.2.camel@compass.straycat.dhs.org> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port cc: FreeBSD GNOME Users Subject: Re: Firefox 1.0_7,1 crashes on start X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jan 2005 06:45:25 -0000 --=-h1La7GEs6W4te56+l/Lv Content-Type: text/plain Content-Transfer-Encoding: 7bit On Wed, 2005-01-05 at 22:07 -0500, Joe Marcus Clarke wrote: > On Wed, 2005-01-05 at 02:50 -0500, Tom McLaughlin wrote: > > On Tue, 2005-01-04 at 01:17 -0500, Tom McLaughlin wrote: > > > Hi all, I'm getting the following crash when I try and start firefox > > > after updating to the latest version in ports: > > > > > > (gdb) run > > > ###!!! ASSERTION: nsTDependentString must wrap only null-terminated > > > strings: 'mData[mLength] == 0', > > > file ../../dist/include/string/nsTDependentString.h, line 67 > > > Break: at file ../../dist/include/string/nsTDependentString.h, line 67 > > > ^GType Manifest File: /usr/X11R6/lib/firefox/components/xpti.dat > > > nsNativeComponentLoader: autoregistering begins. > > > nsNativeComponentLoader: autoregistering succeeded > > > nNCL: registering deferred (0) > > > > > > Program received signal SIGTRAP, Trace/breakpoint trap. > > > [Switching to LWP 100228] > > > 0x28072950 in .rtld_start () from /libexec/ld-elf.so.1 > > > > > > > > > I tried to get a further backtrace but all it gave me was the last line > > > above. Not sure what the problem is. It worked fine up until my last > > > portupgrade. Thanks. > > > > > > Tom > > > > > > > Okay, here's a little more. I notice some oddly named directories under > > ~/.mozilla so I moved the directory out of the way. Here is the > > resulting contents of the newly created ~/.mozilla directory: > > > > [tom@compass tom]$ ls -al .mozilla > > total 12 > > drwxr-xr-x 6 tom tom 512 Jan 4 21:48 ./ > > drwxr-xr-x 67 tom tom 2048 Jan 4 21:48 ../ > > drwxr-xr-x 2 tom tom 512 Jan 4 21:48 h?$(/ > > drwxr-xr-x 2 tom tom 512 Jan 4 21:48 h?$(???/ > > drwxr-xr-x 2 tom tom 512 Jan 4 21:48 h?$(???/ > > drwxr-xr-x 2 tom tom 512 Jan 4 21:48 h?$(???/ > > > > Below is also the console output when not running firefox through gdb. > > Hope this helps. Thanks. > > > > Tom > > > > > > > > This really looks like you've built Firefox with debugging symbols or > with -DWITH_DEBUG defined. In general, don't do that. The last error > about the X IO error could be caused by the linuxpluginwrapper. After > building Firefox without debugging support, try unloading the lpw, and > see if the problem goes away. > > Joe > Yup, built it with the debugging and logging options after it started crashing. Removing linuxplinwrapper, flash, and java got firefox to start again. That still leaves the funky directories that get created when firefox starts. I moved ~/.mozilla out of the way to let firefox create everything on it's own. First it forced me to create a new user profile saying that the default user was in use. No other instances were running at the time though. Attached is what's created after I startup firefox for the first time. (I couldn't even cut and paste the output.) It looks like something is going wrong while trying to create ~/.mozilla/firefox. This garbage is created if ~/.mozilla/firefox does exist and occasionally subsequent starts create new garbage directories. Thanks. Tom -- BSD# Project - Porting Mono to FreeBSD http://forge.novell.com/modules/xfmod/project/?bsd-sharp --=-h1La7GEs6W4te56+l/Lv Content-Disposition: attachment; filename=mozilla_directories.out Content-Type: application/octet-stream; name=mozilla_directories.out Content-Transfer-Encoding: 8bit ./.mozilla/h$( ./.mozilla/h$(pΛΏ ./.mozilla/h$(pΛΏ/pluginreg.dat ./.mozilla/h$(€ƒΏ ./.mozilla/h$(€ƒΏ/um0zifvm.Default User ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/bookmarks.html ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/localstore.rdf ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/search.rdf ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/mimeTypes.rdf ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/chrome ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/chrome/userChrome-example.css ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/chrome/userContent-example.css ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/extensions ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd} ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/extensions/Extensions.rdf ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/extensions/installed-extensions.txt ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/prefs.js ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/Invalid.mfasl ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/xpti.dat ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/XUL.mfasl ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/components.ini ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/compatibility.ini ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/defaults.ini ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/compreg.dat ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/Cache ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/Cache/_CACHE_MAP_ ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/Cache/_CACHE_001_ ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/Cache/_CACHE_002_ ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/Cache/_CACHE_003_ ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/history.dat ./.mozilla/h$(€ƒΏ/um0zifvm.Default User/bookmarks.bak ./.mozilla/h$(ΡΏ ./.mozilla/h$(ΡΏ/profiles.ini ./.mozilla/h$(°ΡΏ ./.mozilla/h$(°ΡΏ/profiles.ini ./.mozilla/h$(ΠΓΏ ./.mozilla/h$(ΠΓΏ/pluginreg.dat --=-h1La7GEs6W4te56+l/Lv--