[Bug 932096] Re: [armel] Pulseaudio crashes other program using sound: Assertion 'pthread_mutex_unlock(&m->mutex) == 0'

2012-03-30 Thread Andrej Zieger
Sorry that I didn't wrote. I was in hospital for over a month with my son.
I can't confirm if it resolves the issue, because a recent update lets my 
system just flicker at the login screen...
So I have to figure out a much bigger problem first.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/932096

Title:
  [armel] Pulseaudio crashes other program using sound: Assertion
  'pthread_mutex_unlock(&m->mutex) == 0'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/932096/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 932096] Re: Pulseaudio crashes other program using sound: Assertion 'pthread_mutex_unlock(&m->mutex) == 0'

2012-02-14 Thread Andrej Zieger
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/932096

Title:
  Pulseaudio crashes other program using sound: Assertion
  'pthread_mutex_unlock(&m->mutex) == 0'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/932096/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 932096] [NEW] Pulseaudio crashes other program using sound: Assertion 'pthread_mutex_unlock(&m->mutex) == 0'

2012-02-14 Thread Andrej Zieger
Public bug reported:

Whenever a program tries to use sound in anyway (and in some wierd other
cases like using tab-completion in a terminal) the program just crashes
with

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

Because it lets metacity crash whenever I use tab in a terminal, it
renders my system useless.

I found solutions for meego her:
https://bugs.meego.com/show_bug.cgi?id=13567

Easiest workaround was to disable PTHREAD priority inheritance feature that was
the root cause at least on Your case.

For example to configure.ac, Add

pulseaudio_cv_PTHREAD_PRIO_INHERIT=no

Before

AS_IF([test "$pulseaudio_cv_PTHREAD_PRIO_INHERIT" = "yes"], [
AC_DEFINE([HAVE_PTHREAD_PRIO_INHERIT], 1, [Have PTHREAD_PRIO_INHERIT.])
  ])

I will to apply this fix and as soon as I get it working/compiled I'll
report back.

It might very well be a problem for armel with more than one core (as
suggested on the other site).

Expect:
Sound output (or at least a normal running program)

What happens instead:
Program crashes with 
Assertion 'pthread_mutex_unlock(&m->mutex) == 0' failed at 
pulsecore/mutex-posix.c:106, function pa_mutex_unlock(). Aborting.
Aborted

Steps to reproduce:
Open Settings/Sound/Output/Test and test one speaker

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: pulseaudio 1:1.1-0ubuntu7
Uname: Linux 2.6.36.4 armv7l
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
ApportVersion: 1.91-0ubuntu1
Architecture: armel
Date: Tue Feb 14 15:36:33 2012
SourcePackage: pulseaudio
UpgradeStatus: Upgraded to precise on 2012-02-09 (4 days ago)

** Affects: pulseaudio (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug armel precise

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/932096

Title:
  Pulseaudio crashes other program using sound: Assertion
  'pthread_mutex_unlock(&m->mutex) == 0'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/932096/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs