From owner-freebsd-current@FreeBSD.ORG Wed Dec 10 06:57:18 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B156E16A4CE for ; Wed, 10 Dec 2003 06:57:18 -0800 (PST) Received: from ion.gank.org (ion.gank.org [69.55.238.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A91D43D32 for ; Wed, 10 Dec 2003 06:57:16 -0800 (PST) (envelope-from craig@xfoil.gank.org) Received: from localhost (ion.gank.org [69.55.238.164]) by ion.gank.org (mail) with ESMTP id DC95B2B2FD; Wed, 10 Dec 2003 08:57:14 -0600 (CST) Received: from ion.gank.org ([69.55.238.164]) by localhost (ion.gank.org [69.55.238.164]) (amavisd-new, port 10024) with LMTP id 06515-03-2; Wed, 10 Dec 2003 08:57:13 -0600 (CST) Received: from owen1492.uf.corelab.com (pix.corelab.com [12.45.169.2]) by ion.gank.org (mail) with ESMTP id 84CE22B2FC; Wed, 10 Dec 2003 08:57:10 -0600 (CST) From: Craig Boston To: Daniel Eischen Date: Wed, 10 Dec 2003 08:57:07 -0600 User-Agent: KMail/1.5.4 References: <200312100822.19428.craig@xfoil.gank.org> In-Reply-To: <200312100822.19428.craig@xfoil.gank.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312100857.07807.craig@xfoil.gank.org> X-Virus-Scanned: by amavisd-new at gank.org cc: current@freebsd.org Subject: Re: nss and pthreads and wine, oh my! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2003 14:57:18 -0000 On Wednesday 10 December 2003 08:22 am, Craig Boston wrote: > I'm using plain old libc_r. I'll try libthr and kse and see if there is > any difference. Ok, it gets even weirder... If I use libthr (via libmap), it works without a problem. libkse gets a Bus Error in the same place as libc_r. *BUT* Wine with libc_r doesn't crash if it's using XFree86 as its X server. If I replicate the conditions from last night and run it pointing at an Xvnc server, it crashes. For reference, on the 5.1-RELEASE box, the X server doesn't seem to make one bit of difference (it crashes 100% of the time). For all I know using libthr doesn't actually fix the problem but just changes the conditions enough that it doesn't get triggered... I still don't understand how the thread library is even getting loaded in the first place. I think wine is doing its own internal threading. The error message references thread 9, but ps -aH only shows a single thread in the wine process (with libthr). Craig