<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Aug 22, 2013, at 11:14 PM, Erik Botö <<a href="mailto:erik.boto@pelagicore.com">erik.boto@pelagicore.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi, <div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">I'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 = "2.17"</div><div>PREFERRED_VERSION_eglibc-mtrace = "2.17"</div>
<div>PREFERRED_VERSION_eglibc-scripts = "2.17"</div><div>PREFERRED_VERSION_eglibc-initial = "2.17"</div><div>PREFERRED_VERSION_eglibc = "2.17"</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'm seeing is this: </div><div style="font-family:arial,sans-serif;font-size:13px">Assertion 'pthread_mutex_unlock(&m->mutex) == 0' failed at pulsecore/mutex-posix.c:108, function pa_mutex_unlock(). Aborting.</div></div></div></blockquote><div><br></div><div>can you try</div><div><br></div><div><div>$ export CANBERRA_DRIVER="null"</div><div><br></div><div>and run the faulty program in this shell.</div><div><br></div><div>Does this fix the problem ?</div><br class="Apple-interchange-newline"><br></div><br><blockquote type="cite"><div dir="ltr"><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'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'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'm using meta-fsl-arm*), I'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>
_______________________________________________<br>Openembedded-core mailing list<br><a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><br>http://lists.openembedded.org/mailman/listinfo/openembedded-core<br></blockquote></div><br></body></html>