pulseaudio: Fix mutext issue when do pause in gstreamer
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.
Signed-off-by Jun Zhu <[email protected]>
--- .../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
@@ -0,0 +1,2 @@ + +CACHED_CONFIGUREVARS_append_mx6 = " ax_cv_PTHREAD_PRIO_INHERIT=no"
Signature · 1 line
1.7.9.5
Quoted 8 lines · Jun Zhu
Pulseaudio crashes when other program using sound:
Assertion 'pthread_mutex_unlock(&m->mutex)== 0' failed atpulsecore/mutex-posix.c:106, functionpa_mutex_unlock().Disable the feature PTHREAD priority inheritance is the easiest workaround for this issue.
Signed-off-by Jun Zhu <[email protected]>
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