From owner-freebsd-threads@FreeBSD.ORG Sun May 9 23:55:56 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 EC0C316A4CE for ; Sun, 9 May 2004 23:55:56 -0700 (PDT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 594EA43D46 for ; Sun, 9 May 2004 23:55:56 -0700 (PDT) (envelope-from burpmaster@truffula.net) Received: from truffula.net (c-67-169-200-31.client.comcast.net[67.169.200.31]) by comcast.net (rwcrmhc12) with ESMTP id <2004051006555201400ju2sge>; Mon, 10 May 2004 06:55:56 +0000 Message-ID: <409F2770.9000604@truffula.net> Date: Sun, 09 May 2004 23:55:44 -0700 From: Brian Rogers User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7b) Gecko/20040503 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-threads@freebsd.org References: <20040507102350.B32793@fw.reifenberger.com> In-Reply-To: <20040507102350.B32793@fw.reifenberger.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: wine & -current & notes & networkaccess 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: Mon, 10 May 2004 06:55:57 -0000 Michael Reifenberger wrote: >Hi, >running the notes-client with wine under -current (after some changes to our >pthreads some months ago) gives me when accessing a database over the network: > >... >Fatal error 'Uninitialized mutex in pthread_mutex_trylock_basic' at line 474 in >file /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 0) >wine: Unhandled exception (thread 000c), starting debugger... >fixme:ntdll:NtQueryVolumeInformationFile device info not properly supported on >this platform >WineDbg starting on pid 8 >... > >Is wine missing something or is libpthread doing something wrong? > >my /etc/libmap.conf BTW: > ># default >libc_r.so.5 libpthread.so.1 >libc_r.so libpthread.so >libkse.so.1 libpthread.so.1 >libkse.so libpthread.so >... > > I see this also. There are two wine binaries, wine-kthread and wine-pthread. On FreeBSD, just wine-kthread is built and it is installed as /usr/local/bin/wine. wine-kthread doesn't seem to like being linked with libpthread, but that will happen through the arts sound driver or any .dll.so file that links to the OpenGL library. If you build wine from CVS, you can configure it with --without-opengl. Then if you're not using the arts sound driver, wine-kthread will work just fine. I also found that you can cd into wine/loader and do "gmake wine-pthread" to build the pthread version of wine. It can handle libpthread just fine, but it has its own problems. (I don't think the wine people even realize that wine-pthread works on FreeBSD)