[MPlayer-users] pthread mutex problems

D Richard Felker III dalias at aerifal.cx
Tue Jan 27 20:40:22 CET 2004

On Sun, Jan 25, 2004 at 10:34:48AM +0200, Martti Kuparinen wrote:
> Hi!
> I'm using gmplayer 1.0rc3 on NetBSD/i386 and I got this error:
> ===========================================================================
> gmplayer: 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.
> MPlayer interrupted by signal 6 in module: init_video_codec
> - MPlayer crashed. This shouldn't happen.
>   It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
>   gcc version. If you think it's MPlayer's fault, please read
>   DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
>   won't help unless you provide this information when reporting a possible bug.
> ===========================================================================
> According to NetBSD's pthread(3) I could disable this by setting
> PTHREAD_DIAGASSERT=A to ignore all errors but this does not seem like
> "the right thing to do". According to this NetBSD bug report there's
> something wrong in mplayer as it tries to unlock the mutex.
> http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=24125
> I haven't looked at the sources yet so I know nothing about mplayer's
> internals. Is this a known problem?

It should be fixed now in cvs.


More information about the MPlayer-users mailing list