From owner-freebsd-threads@FreeBSD.ORG Sat Aug 21 22:30:28 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 E0E8D16A4D0 for ; Sat, 21 Aug 2004 22:30:28 +0000 (GMT) Received: from crumpet.united-ware.com (ddsl-66-42-172-210.fuse.net [66.42.172.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00F3743D45 for ; Sat, 21 Aug 2004 22:30:19 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.102] (ddsl-66-42-172-210.fuse.net [66.42.172.210]) (authenticated bits=0)i7LMHbjr081761 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sat, 21 Aug 2004 18:17:37 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: freebsd-threads@freebsd.org Date: Sat, 21 Aug 2004 18:31:31 -0400 User-Agent: KMail/1.6.2 References: <200408200300.43060.mistry.7@osu.edu> <4126B8F4.4050809@truffula.net> In-Reply-To: <4126B8F4.4050809@truffula.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200408211831.39430.mistry.7@osu.edu> X-Spam-Status: No, hits=-4.3 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,J_CHICKENPOX_52,PGP_SIGNATURE, QUOTED_EMAIL_TEXT,RCVD_IN_ORBS,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_KMAIL version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: Brian Rogers Subject: Re: Wine and CURRENT 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, 21 Aug 2004 22:30:29 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 20 August 2004 10:52 pm, Brian Rogers wrote: > Anish Mistry wrote: > >I've managed to get the post May versions on wine to be able to mmap the= ir > > memory properly by patching our mmap implementation (see current mailli= ng > > list) > > Great! > > >but I'm having the following problem that I can't figure out: > > > >Fatal error 'Uninitialized mutex in pthread_mutex_trylock_basic' at line > > 474 in file /usr/src/lib/libpthread/thread/thr_mutex.c (errno =3D 0) > > Wine doesn't like being linked to libpthread, and that happens through > winearts.drv.so and the libraries that use OpenGL. To deal with OpenGL, > I mapped libpthread to libc (not libc_r, wine doesn't like that either) > for libGL.so, effectively canceling it out. You can avoid > winearts.drv.so by disabling sound in the wine config or switching to a > different audio driver. > Ok, using libmap seemed to work here on CURRENT. > Alternatively, you can just use wine-pthread. It actually works, and it > doesn't have a problem with libpthread. You just have to "cd loader && > gmake wine-pthread" to build it. Wasn't able to make this work CURRENT, but works on 4-STABLE. I kept getti= ng: =46atal error 'can not create signal daemon thread! ' at line 238 in file /usr/src/lib/libpthread/thread/thr_sig.c (errno =3D 1= 2) I'm now getting this only on some apps (others work fine), which looks to b= e=20 more mmap issues or something in wine. err:virtual:map_image Image was mapped at 0x4c0000: standard load address f= or=20 a Win32 program (0x00400000) not available err:virtual:map_image Do you have exec-shield or prelink active? Thanks, I think I'll be able to make some changes to get this stuff working. =2D --=20 Anish Mistry =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBJ81KxqA5ziudZT0RAlJSAJ0akGg1417qwnV+1zC3tb0U8iq8YQCdF9cy EAGFCwjApuWDf7FCBNlcUl0=3D =3DlxAR =2D----END PGP SIGNATURE-----