• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 145 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 7 Jan 2023, 19:43 1 Jul 2023, 19:27

      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
      1 out of 1
      • First post
        1/1
        Last post