Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2006 15:33:55 -0600
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        Micah <micahjon@ywave.com>
Cc:        gnome@freebsd.org
Subject:   Re: ports/105589: Firefox 2.0 segfaults when saving more than one file per session
Message-ID:  <op.tkgt6tmn9aq2h7@mezz.mezzweb.com>
In-Reply-To: <457F1AC0.50504@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> <1165946926.96178.10.camel@shumai.marcuscom.com> <457F1AC0.50504@ywave.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 12 Dec 2006 15:10:24 -0600, Micah <micahjon@ywave.com> wrote:

> Joe Marcus Clarke wrote:
>> 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
>
> Wow! Thanks for keeping at this!
>
> Running from an environment with XDG_DATA_DIRS set properly does seem to  
> fix both firefox and gedit.
>
> So my question now is what next? Do I (or someone) need to file a PR  
> against kde-xdg-env? And I'm not clear on "XDG should not add a  
> duplicate element," who has responsibility for fixing that? (I'm having  
> trouble tracking down XDG as anything other than the former name of  
> freedesktop.org)

No need to file another PR. See here:

http://lists.freebsd.org/pipermail/freebsd-gnome/2006-December/016302.html

marcus has added kde@ (maintainer) in the CC.

Cheers,
Mezz

> Thanks!
> Micah
> _______________________________________________
> freebsd-gnome@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"



-- 
mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia@FreeBSD.org



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