Version: (using KDE KDE 3.1.2) Installed from: NetBSD pkgsrc OS: NetBSD NetBSD's libpthread is quite pedantic about unlocking unlocked mutexes and will abort() when this happens. I was seeing artsd core when using noatun to play mp3s. Basically when runCheck return's false it should have the shutdown mutex locked. The problem is fixed with the following patch: Nick --- mpeglib/lib/decoder/decoderPlugin.cpp.orig +++ mpeglib/lib/decoder/decoderPlugin.cpp @@ -337,6 +337,7 @@ int DecoderPlugin::runCheck() { case _RUN_CHECK_CONTINUE: break; case _RUN_CHECK_FALSE: + shutdownLock(); return false; case _RUN_CHECK_TRUE: return true;
This is a one line patch and I don't think it breaks BC, either apply or close as wontfix.
Subject: KDE_3_2_BRANCH: kdemultimedia/mpeglib/lib/decoder CVS commit by waba: When runCheck() returns false it should have the shutdown mutex locked. (BR61271) Fixes crash on netbsd CCMAIL: 61271-done@bugs.kde.org M +1 -0 decoderPlugin.cpp 1.11.4.1 --- kdemultimedia/mpeglib/lib/decoder/decoderPlugin.cpp #1.11:1.11.4.1 @@ -338,4 +338,5 @@ int DecoderPlugin::runCheck() { break; case _RUN_CHECK_FALSE: + shutdownLock(); return false; case _RUN_CHECK_TRUE: