From owner-freebsd-amd64@FreeBSD.ORG Tue Jun 8 03:33:11 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7783816A4CE; Tue, 8 Jun 2004 03:33:11 +0000 (GMT) Received: from mail.mcneil.com (rrcs-west-24-199-45-54.biz.rr.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B3FA43D53; Tue, 8 Jun 2004 03:33:11 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 0A710FD06C; Mon, 7 Jun 2004 20:33:11 -0700 (PDT) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00675-05; Mon, 7 Jun 2004 20:33:10 -0700 (PDT) Received: from [24.199.45.54] (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 90B6EFD01A; Mon, 7 Jun 2004 20:33:10 -0700 (PDT) From: Sean McNeil To: Tim Robbins In-Reply-To: <20040608032111.GA43718@cat.robbins.dropbear.id.au> References: <1086663455.1258.79.camel@server.mcneil.com> <20040608032111.GA43718@cat.robbins.dropbear.id.au> Content-Type: text/plain Message-Id: <1086665590.1817.3.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 07 Jun 2004 20:33:10 -0700 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com cc: freebsd-current@freebsd.org cc: freebsd-gnome@freebsd.org cc: freebsd-amd64@freebsd.org cc: freebsd-threads@freebsd.org Subject: Re: weak implementation of threads has problems - kse fix attached X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 03:33:11 -0000 On Mon, 2004-06-07 at 20:21, Tim Robbins wrote: > On Mon, Jun 07, 2004 at 07:57:35PM -0700, Sean McNeil wrote: > > > > > Up front, I'd like to make a few apologies: > > > > 1) I am sorry for the length of this email. > > 2) Although some very valid opinions have been expressed, I respectfully > > have to disagree. This email will hopefully strengthen my position. > > > > The problem: > > > > (If you just want kse threads to work for you properly, just apply the > > patch at the end of this email and try it out). > > > > kse threads on amd64 doesn't work with gnome. It crashes applications > > here and there. gnome-terminal is essentially unusable. > > > > I strongly believe this to be a binding issue. I've examined rtld and > > I'm satisfied that it is behaving appropriately, so I took a long hard > > look at how FreeBSD has implemented the pthread interface, how it is > > being used, and how people expect it to behave. > [...] > > Your patch looks useful in its own right, but GNOME, Firefox, Mozilla > and XMMS have not crashed once for me since I fixed context restoring in > libpthread on amd64. Strong references cannot possibly make the old > version of context.S work correctly. > > I would be interested in hearing whether you still have problems with > libpthread and GNOME after updating your system, both with and without > nss_ldap. Great, Tim! I did indeed get this fix when testing my changes. The patch I posted still has some redeeming value, but yours was the key to gnome stability for me as well. Sean