From owner-freebsd-gnome@FreeBSD.ORG Tue Dec 12 21:11:48 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 E403016A501 for ; Tue, 12 Dec 2006 21:11:48 +0000 (UTC) (envelope-from micahjon@ywave.com) Received: from relay2.av-mx.com (relay2.av-mx.com [137.118.16.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A26243DCA for ; Tue, 12 Dec 2006 21:09:19 +0000 (GMT) (envelope-from micahjon@ywave.com) X-Virus-Scan-Time: 0 Received: from [137.118.16.61] (HELO mx0.av-mx.com) by relay2.av-mx.com (CommuniGate Pro SMTP 4.2.10) with SMTP id 516466185 for gnome@freebsd.org; Tue, 12 Dec 2006 16:10:25 -0500 Received: (qmail 24244 invoked from network); 12 Dec 2006 21:10:24 -0000 Received: from dsl10070.ywave.com (HELO ?192.168.1.66?) (micahjon@ywave.com@12.178.97.70) by 0 with SMTP; 12 Dec 2006 21:10:24 -0000 X-CLIENT-IP: 12.178.97.70 X-CLIENT-HOST: dsl10070.ywave.com Message-ID: <457F1AC0.50504@ywave.com> Date: Tue, 12 Dec 2006 13:10:24 -0800 From: Micah User-Agent: Thunderbird 1.5.0.8 (X11/20061205) MIME-Version: 1.0 To: Joe Marcus Clarke 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> In-Reply-To: <1165946926.96178.10.camel@shumai.marcuscom.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: gnome@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 21:11:49 -0000 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) Thanks! Micah