<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[App crash with pthread_mutex_unlock assertion]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">My application "Ear Trainer" (<a href="https://gitlab.com/andrisk/eartrainer" target="_blank" rel="noopener noreferrer nofollow ugc">https://gitlab.com/andrisk/eartrainer</a>) is crashing from time to time on Volla phone 22 with <s>ubports</s> Ubuntu Touch 16.04. The app uses QSoundEffect to play sounds. The error is as follows:</p>
<pre><code>Assertion 'pthread_mutex_unlock(&amp;m-&gt;mutex)==0' failed at 
pulsecore/mutex-posix.c:108, function pa_mutex_unlock(). 
Aborting.
</code></pre>
<p dir="auto">I found similar bug reports related to ubuntu 16.04 (although running under WSL):<br />
<a href="https://github.com/Microsoft/WSL/issues/2953" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/Microsoft/WSL/issues/2953</a><br />
<a href="https://github.com/Microsoft/WSL/issues/2943" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/Microsoft/WSL/issues/2943</a><br />
<a href="https://github.com/electron/electron/issues/13561" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/electron/electron/issues/13561</a><br />
And it seems that the fix was to use a newer version of ubuntu. So I kind of expect that update to 20.04 should fix this issue (I plan to update after OTA2 or OTA3). But I would still like to ask if somebody knows more about this issue and if there is some workaround to prevent my app crashing in case it happens also on devices that might not get 20.04 update.</p>
<p dir="auto">Thanks a lot<br />
Andrej</p>
]]></description><link>https://forums.ubports.com/topic/9087/app-crash-with-pthread_mutex_unlock-assertion</link><generator>RSS for Node</generator><lastBuildDate>Sat, 09 May 2026 16:19:46 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/9087.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 01 Jul 2023 19:27:27 GMT</pubDate><ttl>60</ttl></channel></rss>