From owner-freebsd-threads@FreeBSD.ORG Sat Jun 5 09:40:03 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C226916A4CE; Sat, 5 Jun 2004 09:40:03 -0700 (PDT) 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 AB63643D41; Sat, 5 Jun 2004 09:40:01 -0700 (PDT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 744C3FD1D6; Sat, 5 Jun 2004 09:40:01 -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 06005-07; Sat, 5 Jun 2004 09:40:01 -0700 (PDT) Received: from [24.199.45.54] (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id F301DFD084; Sat, 5 Jun 2004 09:40:00 -0700 (PDT) From: Sean McNeil To: Tim Robbins In-Reply-To: <20040605163123.GA29935@cat.robbins.dropbear.id.au> References: <20040605151500.GA29569@cat.robbins.dropbear.id.au> <20040605163123.GA29935@cat.robbins.dropbear.id.au> Content-Type: text/plain Message-Id: <1086453600.96822.16.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sat, 05 Jun 2004 09:40:00 -0700 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com cc: freebsd-threads@freebsd.org cc: freebsd-amd64@freebsd.org Subject: Re: All my amd64 problems appear to be KSE X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2004 16:40:03 -0000 On Sat, 2004-06-05 at 09:31, Tim Robbins wrote: > Everything seems to work fine if I build libpthread with SYSTEM_SCOPE_ONLY > (at least it hasn't crashed so far.) My current guess is that there's a > bug in context manipulation or signals. I initially thought we weren't > saving enough FPU context in _amd64_save_context, but adding an fxsave > in there didn't help. I see a problem with bash and signals too when libpthread is involved. It would core dump when I resize a window. I use nss_ldap and it was pulling in pthread through db41. I solved my issue by rebuilding db41 to eliminate pthread from the libdb41.so.1. Perhaps tracing this down would be useful? Sean