Skip to contentSkip to conversation

pulseaudio: Fix mutext issue when do pause in gstreamer

PATCH Superseded Jun Zhu 2 participants 2 messages Aug 7, 2014 – Aug 14, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Jun Zhu

author
#0 lore raw

PATCH 1/1 pulseaudio: Fix mutext issue when do pause in gstreamer

Pulseaudio crashes when other program using sound:
Assertion 'pthread_mutex_unlock(&m->mutex) == 0' failed at pulsecore/mutex-posix.c:106, function pa_mutex_unlock().

Disable the feature PTHREAD priority inheritance is the easiest workaround for this issue.

---
 .../pulseaudio/pulseaudio_5.0.bbappend             |    2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend
recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend new file +2 -0
new file mode 100644
index 0000000..091ffc2
@@ -0,0 +1,2 @@
+
+CACHED_CONFIGUREVARS_append_mx6 = " ax_cv_PTHREAD_PRIO_INHERIT=no"
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 8 lines · Jun Zhu

Pulseaudio crashes when other program using sound:
Assertion 'pthread_mutex_unlock(&m->mutex) == 0' failed at pulsecore/mutex-posix.c:106, function pa_mutex_unlock().

Disable the feature PTHREAD priority inheritance is the easiest workaround for this issue.

You need to set the PACKAGE_ARCH conditionally here, as well.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750