From nobody@FreeBSD.org  Tue Dec 12 08:06:36 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 7AD5816A416
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 12 Dec 2006 08:06:36 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.FreeBSD.org (Postfix) with ESMTP id EE88F43C9F
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 12 Dec 2006 08:05:14 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kBC86amm060135
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 12 Dec 2006 08:06:36 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id kBC86aXG060134;
	Tue, 12 Dec 2006 08:06:36 GMT
	(envelope-from nobody)
Message-Id: <200612120806.kBC86aXG060134@www.freebsd.org>
Date: Tue, 12 Dec 2006 08:06:36 GMT
From: Dominic Fandrey<lon_kamikaze@gmx.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [emulators/wine][print/cups-base] wine-kthread binary broken by cups-base
X-Send-Pr-Version: www-3.0

>Number:         106633
>Category:       ports
>Synopsis:       emulators/wine: print/cups-base: wine-kthread binary broken by cups-base
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gerald
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 12 08:10:08 GMT 2006
>Closed-Date:    Sun Jul 01 00:14:28 GMT 2007
>Last-Modified:  Sun Jul 01 00:14:28 GMT 2007
>Originator:     Dominic Fandrey
>Release:        6.2-PRERELEASE
>Organization:
private
>Environment:
FreeBSD mobileKamikaze.norad 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Sat Nov 25 12:55:14 CET 2006     root@homeKamikaze.norad:/usr/obj/TPR40-6/i386/usr/src/sys/TPR40-6  i386
>Description:
The wine-kthread binary that is still required for many applications to work with wine (pthreading is a long way from being there) simply outputs the following error:
Fatal error 'Uninitialized mutex in pthread_mutex_trylock_basic' at line 496 in file /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 2)

And hangs with a full CPU load (apparently in some kind of infinite loop.
>How-To-Repeat:
Try to run any win32 Application with wine-kthread.
>Fix:
Add the following lines to your libmap.conf. Not a good solution, but it works.

[/usr/local/lib/libcups.so.2]
libpthread.so.2                        libc.so

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gerald 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Dec 12 08:10:45 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106633 
State-Changed-From-To: open->feedback 
State-Changed-By: gerald 
State-Changed-When: Sun May 27 14:32:58 UTC 2007 
State-Changed-Why:  
There have been some changes both in Wine and FreeBSD as far as I know. 
Do you still experience this?  If so, I propose adding your workaround 
(if still applicable) to the documentation of this port. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106633 
State-Changed-From-To: feedback->closed 
State-Changed-By: gerald 
State-Changed-When: Sun Jul 1 00:13:14 UTC 2007 
State-Changed-Why:  
Closing based on direct feedback from LoN_Kamikaze@gmx.de: 
"The PR can be closed, wine-kthread can be used without this 
workaround. It runs Starcraft just fine." 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106633 
>Unformatted:
