Subject: Re: mplayer/pthread problem
To: None <wojtek@tensor.3miasto.net>
From: Min Sik Kim <minskim@bawi.org>
List: current-users
Date: 01/25/2004 14:33:40
--Signature=_Sun__25_Jan_2004_14_33_40_-0600_/XABmZ+Fj5U9q9Wp
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
* Min Sik Kim:
> * Wojciech Puchar:
> > trying to play ANY movie (any format, with sound on or off - doesn't
> > matter) with mplayer from pkgsrc:
> >
> > .
> > .
> > .
> > Starting playback...
> > mplayer: Error detected by libpthread: Unlocking unlocked mutex.
> > Detected by file "/usr/src/lib/libpthread/pthread_mutex.c", line 340,
> > function "pthread_mutex_unlock".
> > See pthread(3) for information.
>
> It happens in Windows emulation codes when a codec leaves a critical
> section without even entering it. Codes emulating Windows should not
> call pthread_mutex_unlock() in such a case. The following patch will
> fix this.
>
> [patch omitted]
The patch was applied to the mplayer cvs. It's also available in
pkgsrc (thanks to tron@).
--
Min Sik Kim
--Signature=_Sun__25_Jan_2004_14_33_40_-0600_/XABmZ+Fj5U9q9Wp
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFAFCglDE3c1cDPIHARAimuAKCyOx3uL0sNfx6/wJ2bfGNQc27e2QCgtIVN
HCLJ98rT+wjyqYMpAtZz5m4=
=U559
-----END PGP SIGNATURE-----
--Signature=_Sun__25_Jan_2004_14_33_40_-0600_/XABmZ+Fj5U9q9Wp--