[MPlayer-users] pthread mutex problems

Martti Kuparinen martti.kuparinen at iki.fi
Sun Jan 25 09:34:48 CET 2004


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.


I haven't looked at the sources yet so I know nothing about mplayer's
internals. Is this a known problem?


More information about the MPlayer-users mailing list