UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    App crash with pthread_mutex_unlock assertion

    Scheduled Pinned Locked Moved App Development
    1 Posts 1 Posters 280 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      Andrisk
      last edited by arubislander

      Hi,

      My application "Ear Trainer" (https://gitlab.com/andrisk/eartrainer) is crashing from time to time on Volla phone 22 with ubports Ubuntu Touch 16.04. The app uses QSoundEffect to play sounds. The error is as follows:

      Assertion 'pthread_mutex_unlock(&m->mutex)==0' failed at 
      pulsecore/mutex-posix.c:108, function pa_mutex_unlock(). 
      Aborting.
      

      I found similar bug reports related to ubuntu 16.04 (although running under WSL):
      https://github.com/Microsoft/WSL/issues/2953
      https://github.com/Microsoft/WSL/issues/2943
      https://github.com/electron/electron/issues/13561
      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.

      Thanks a lot
      Andrej

      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post