ports/105589: Firefox 2.0 segfaults when saving more than one
file per session
Joe Marcus Clarke
marcus at marcuscom.com
Tue Dec 12 10:22:29 PST 2006
The following reply was made to PR ports/105589; it has been noted by GNATS.
From: Joe Marcus Clarke <marcus at marcuscom.com>
To: Micah <micahjon at ywave.com>
Cc: gnome at freebsd.org, bug-followup at freebsd.org
Subject: Re: ports/105589: Firefox 2.0 segfaults when saving more than one
file per session
Date: Tue, 12 Dec 2006 13:08:46 -0500
--=-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--
More information about the freebsd-gnome
mailing list