All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm][PATCH] pulseaudio: Fix mutext issue when do pause in gstreamer
@ 2014-08-07  8:28 Jun Zhu
  2014-08-14  2:41 ` Otavio Salvador
  0 siblings, 1 reply; 2+ messages in thread
From: Jun Zhu @ 2014-08-07  8:28 UTC (permalink / raw)
  To: meta-freescale; +Cc: 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.

Signed-off-by: Jun Zhu <R01007@freescale.com>
---
 .../pulseaudio/pulseaudio_5.0.bbappend             |    2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend

diff --git a/recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend b/recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend
new file mode 100644
index 0000000..091ffc2
--- /dev/null
+++ b/recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend
@@ -0,0 +1,2 @@
+
+CACHED_CONFIGUREVARS_append_mx6 = " ax_cv_PTHREAD_PRIO_INHERIT=no"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-fsl-arm][PATCH] pulseaudio: Fix mutext issue when do pause in gstreamer
  2014-08-07  8:28 [meta-fsl-arm][PATCH] pulseaudio: Fix mutext issue when do pause in gstreamer Jun Zhu
@ 2014-08-14  2:41 ` Otavio Salvador
  0 siblings, 0 replies; 2+ messages in thread
From: Otavio Salvador @ 2014-08-14  2:41 UTC (permalink / raw)
  To: Jun Zhu; +Cc: meta-freescale@yoctoproject.org

On Thu, Aug 7, 2014 at 5:28 AM, Jun Zhu <R01007@freescale.com> wrote:
> 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 <R01007@freescale.com>

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

-- 
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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-14  2:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-07  8:28 [meta-fsl-arm][PATCH] pulseaudio: Fix mutext issue when do pause in gstreamer Jun Zhu
2014-08-14  2:41 ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.