From owner-freebsd-gnome@FreeBSD.ORG Tue Dec 12 18:19:20 2006 Return-Path: X-Original-To: gnome@freebsd.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1AC2B16A4D4; Tue, 12 Dec 2006 18:19:19 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1D7A43E30; Tue, 12 Dec 2006 18:07:26 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.13.8/8.13.8) with ESMTP id kBCIA0kR072269; Tue, 12 Dec 2006 13:10:00 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Micah In-Reply-To: <457CC9FA.8090802@ywave.com> References: <200612061930.kB6JUJVA038980@freefall.freebsd.org> <1165476509.74826.14.camel@shumai.marcuscom.com> <4578AB25.2020504@ywave.com> <1165565003.15396.7.camel@shumai.marcuscom.com> <4579C00E.2040905@ywave.com> <4579C125.3040106@marcuscom.com> <4579C1E0.6000703@ywave.com> <4579CF70.3070703@marcuscom.com> <4579D39E.1020904@ywave.com> <4579D75A.1010009@marcuscom.com> <457CC9FA.8090802@ywave.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-I4eeN826F7DjImapxpoR" Organization: MarcusCom, Inc. Date: Tue, 12 Dec 2006 13:08:46 -0500 Message-Id: <1165946926.96178.10.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2.1 FreeBSD GNOME Team Port Cc: gnome@freebsd.org, bug-followup@freebsd.org Subject: Re: ports/105589: Firefox 2.0 segfaults when saving more than one file per session X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Dec 2006 18:19:20 -0000 --=-I4eeN826F7DjImapxpoR Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2006-12-10 at 19:01 -0800, Micah wrote: > I've installed a complete Gnome system for further testing. I have=20 > confirmed that gedit, eog, and epiphany (and probably any gnome based=20 > app) all show the bug when launched from KDE. GIMP, PAN2, and OOo do not=20 > show the bug. This was all tested from a freshly created user account=20 > with an initially empty home directory. The bug does not show up while=20 > in a Gnome session (not sure how Indigo managed a crash - maybe he was=20 > running some KDE software in his Gnome session?) It appears to be a=20 > general Gnome/KDE incompatibility and has nothing to do with the Gecko=20 > applications directly. I have isolated the cause of the crash. The problem stems from KDE setting XDG_DATA_DIRS in the environment. It sets a value with two instances of /usr/local/share. This seems to cause memory corruption, and leads to a crash. If you reset XDG_DATA_DIRS to :/usr/share:/usr/local/share:/usr/X11R6/share:/usr/X11R6/share/gnome:/us= r/local/share/gnome Firefox will no longer crash. This is a two-part bug. KDE is clearly setting a bad value. It should be adding /usr/local/share/gnome to the XDG_DATA_DIRS, but instead it duplicates an element. Even so, XDG should not add a duplicate element. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-I4eeN826F7DjImapxpoR Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQBFfvAub2iPiv4Uz4cRAvKaAJ42pJ9WsIbQrf8jxxHy1+VpuXYfKACfX0yz 6G53augAqo7NqYf7NTOoOFM= =q1Cx -----END PGP SIGNATURE----- --=-I4eeN826F7DjImapxpoR--