Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2006 13:08:46 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Micah <micahjon@ywave.com>
Cc:        gnome@freebsd.org, bug-followup@freebsd.org
Subject:   Re: ports/105589: Firefox 2.0 segfaults when saving more than one file per session
Message-ID:  <1165946926.96178.10.camel@shumai.marcuscom.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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--




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