<div dir="ltr">Hi, <div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">I&#39;m hitting a bug now when using Qt to play e.g mp3:s to a pulseaudio sink. Using gst-launch with playbin2 and pulsesink works well on the same system. I have tried a few different versions of Qt (5.0.1, 5.0.2 and Qt 5.1) and both pulseaudio 3 and 4 with the same problem. When I </span><span style="font-family:arial,sans-serif;font-size:13px">added this to local.conf: </span></div>
<div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><div>PREFERRED_VERSION_eglibc-locale = &quot;2.17&quot;</div><div>PREFERRED_VERSION_eglibc-mtrace = &quot;2.17&quot;</div>
<div>PREFERRED_VERSION_eglibc-scripts = &quot;2.17&quot;</div><div>PREFERRED_VERSION_eglibc-initial = &quot;2.17&quot;</div><div>PREFERRED_VERSION_eglibc = &quot;2.17&quot;</div></div></div><div><font face="arial, sans-serif"><br>
</font></div><div><font face="arial, sans-serif">It works ok again, so it was introduced when moving to eglib 2.18 (not saying that the actual error is in eglibc though).</font></div><div><font face="arial, sans-serif"><br>
</font></div><div><div style="font-family:arial,sans-serif;font-size:13px">The error I&#39;m seeing is this: </div><div style="font-family:arial,sans-serif;font-size:13px">Assertion &#39;pthread_mutex_unlock(&amp;m-&gt;mutex) == 0&#39; failed at pulsecore/mutex-posix.c:108, function pa_mutex_unlock(). Aborting.</div>
<div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">Google tells me that this has been an issue for OMAP4 when certain kernel configuration where enabled [1], which makes me believe this might be a hard one to track down. I&#39;ll see if I can find the time to debug it a bit more, but I would really appreciate any input. </span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">It&#39;s quite easy to reproduce, just use the QtMultimedia (</span><span style="font-family:arial,sans-serif;font-size:13px">built to use gstreamer and pulseaudio</span><span style="font-family:arial,sans-serif;font-size:13px">) mediaplayer example and select an mp3 file. It works like one time out of 20 or so, so some kind of race condition is probably the case. </span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">My hardware setup is a nitrogen6x board with a Freescale iMX6 processor (so I&#39;m using meta-fsl-arm*), I&#39;ve tried with both Qt built with meta-qt5 and an external Qt build against the Yocto sysroot. If anyone can reproduce this on some other hardware that would be nice to know.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">This started on the meta-freescale list [2], but is probably belonging here. </span></div>
<div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">[1]. </span><a href="http://lists.linaro.org/pipermail/linaro-dev/2013-April/015794.html" target="_blank" style="font-family:arial,sans-serif;font-size:13px">http://lists.linaro.org/pipermail/linaro-dev/2013-April/015794.html</a><br>
</div><div>[2]. <a href="https://lists.yoctoproject.org/pipermail/meta-freescale/2013-August/004152.html">https://lists.yoctoproject.org/pipermail/meta-freescale/2013-August/004152.html</a></div><div><br></div>Cheers, </div>
<div>Erik Botö</div></div>