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:19:20 PST 2006


On Sun, 2006-12-10 at 19:01 -0800, Micah wrote:
> I've installed a complete Gnome system for further testing. I have 
> confirmed that gedit, eog, and epiphany (and probably any gnome based 
> app) all show the bug when launched from KDE. GIMP, PAN2, and OOo do not 
> show the bug. This was all tested from a freshly created user account 
> with an initially empty home directory. The bug does not show up while 
> in a Gnome session (not sure how Indigo managed a crash - maybe he was 
> running some KDE software in his Gnome session?) It appears to be a 
> general Gnome/KDE incompatibility and has nothing to do with the Gecko 
> 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:/usr/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

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20061212/81ff00a3/attachment.pgp


More information about the freebsd-gnome mailing list