From owner-freebsd-questions@FreeBSD.ORG Sat Apr 28 05:14:59 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 48C1216A404 for ; Sat, 28 Apr 2007 05:14:59 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by mx1.freebsd.org (Postfix) with ESMTP id 285E013C45E for ; Sat, 28 Apr 2007 05:14:59 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l3S5EwdW017262 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 27 Apr 2007 22:14:58 -0700 X-Auth-Received: from [192.168.11.6] (c-67-187-164-17.hsd1.ca.comcast.net [67.187.164.17]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l3S5EvCa018944 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 27 Apr 2007 22:14:58 -0700 Message-ID: <4632D84F.1070409@u.washington.edu> Date: Fri, 27 Apr 2007 22:14:55 -0700 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: 462F5D1C.8030302@wilderness.homeip.net <4631059B.2030303@janh.de> <46310F51.6080903@queue.to> <463114B2.3090704@lipn.univ-paris13.fr> <463119AF.9010001@janh.de> <463296ED.50906@queue.to> In-Reply-To: <463296ED.50906@queue.to> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.4.27.215434 X-Uwash-Spam: Gauge=X, Probability=10%, Report='LINES_OF_YELLING_3 0.671, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __LINES_OF_YELLING 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: Thunderbird 2.0 dumps core on second file open op (workaround) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Apr 2007 05:14:59 -0000 Howard Goldstein wrote: > Jan Henrik Sylvester wrote: >> Michel Le Cocq wrote: >>> I think it's a global thunderbird 2 bug, because i have exactly the >>> same trouble ona mac os 10.4 with a binary update. >> >> I do not think it is exactly the same -- see below. >> >>> Howard Goldstein a écrit : >>>> Jan Henrik Sylvester wrote: >>>>> Drew Sanford wrote: >>>>> > No, but I am seeing it core dump rather strangely. Each time it >>>>> starts >>>>> > up, I can open a file dialog box to save an attachment or attach a >>>>> > file one time just fine. The second time I try to attach or save a >>>>> > file on any start up, it crashes. >>>>> >>>>> BTW: Firefox 2.0.X does the same. Use "Save Link As..." a few times >>>>> in a row (2 is usually sufficient) and have a core dump. >>>>> >>>>> I had this happen with Firefox 2.0.X and Thunderbird 2.0.0 that I >>>>> compiled myself as well as with this one (on 6.2-RELEASE): >>>>> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/www/firefox-2.0.0.3,1.tbz >>>>> >>>>> >>>>> I guess someone should file a bug report... >>>> >>>> Looks like the same problem at ports/105589, perhaps it needs to be >>>> reopened, seems to be the same problem. Haven't tried the >>>> workaround. Not sure how to do that on someone else's gnats. (cc to >>>> the gnats person who closed it) >> >> After reading the discussion in the PR, I renamed libgnome-2.so.0 and >> tried again: no crashes with Firefox 2.0.3 or Thunderbird 2.0.0. I do >> run KDE -- I probably should compile Firefox and Thunderbird without >> the gnome dependencies to solve it for me. > > I wish I'd googled for KDE along with this as the problem was apparently > fixed once for KDE, although for some reason came back again now for > some of us. Here's a link to the very same bug along with a fix that > was targeted only for KDE > > http://lists.freebsd.org/pipermail/freebsd-gnome/2006-December/016299.html > > Based on your find Jan it's fairly simple to workaround this in the > 2.0.0.0 Makefile by disabling gnomeui and gnomevfs linkages. Here's my > diff which also includes tiny cruft disabling ldap during the build > since I can't build an LDAPable thunderbird2 on my system. > > (before the diff, following up, reverting CFLAGS to -O -pipe and the > default CPUTYPE didn't help, neither did installing gnome2) > > > ------------------------------------------------------------------------ > > *** mail/thunderbird/Makefile.orig Fri Apr 27 18:00:27 2007 > --- mail/thunderbird/Makefile Fri Apr 27 19:15:58 2007 > *************** > *** 17,23 **** > COMMENT= Mozilla Thunderbird is standalone mail and news that stands above > > CONFLICTS= lightning-0.[0-9]* > ! WANT_GNOME= yes > ALL_TARGET= default > CONFIGURE_ENV= LOCALBASE=${LOCALBASE} > HAS_CONFIGURE= yes > --- 17,25 ---- > COMMENT= Mozilla Thunderbird is standalone mail and news that stands above > > CONFLICTS= lightning-0.[0-9]* > ! #hgWANT_GNOME= yes > ! WANT_GNOME= no > ! #hg > ALL_TARGET= default > CONFIGURE_ENV= LOCALBASE=${LOCALBASE} > HAS_CONFIGURE= yes > *************** > *** 31,36 **** > --- 33,41 ---- > MOZ_GRAPHICS= default,-xbm > MOZ_OPTIONS= --enable-single-profile --disable-profilesharing \ > --enable-application=mail --enable-official-branding > + #hg > + MOZ_OPTIONS+= --disable-ldap --disable-gnomeui --disable-gnomevfs > + #hg > MOZ_MK_OPTIONS= MOZ_MOZ_THUNDERBIRD=1 > MOZ_EXPORT= MOZ_THUNDERBIRD=1 Based on someone's comments about OSX though, there might be an issue with the underlying base system or kernel in FreeBSD <6.2 that Thunderbird 2 unearths, dealing with filesystem handling, threading, linking, or something along those lines (I know, that really doesn't narrow down the list). It should be a core component though because Thunderbird under OSX doesn't have any GTK or X11 support compiled in and is natively run under Aqua. I'll look for the core dump sent previously, but if more people can contribute their core dumps this would help isolate the issue. The bigger (and compressed) the better, as long as you don't have sensitive data hanging around in the background. This might just help capture the problem at hand. Hardware specs and CPUTYPE, as well as whether or not you're running a custom or generic kernel with what options would help as well. Please link off site if you can. After that maybe we should all band together and submit a bug report. Now let me see if I can reproduce it on my iBook :). Thanks, -Garrett