Bug#649641: Bug #649641: pulseaudio mutex issue on Alpha architecture

2012-11-04 Thread Sjoerd Simons
On Sun, Feb 12, 2012 at 01:46:27PM +1300, Michael Cree wrote:
 Other hints that this is a kernel problem introduced somewhere between
 2.6.38 and 2.6.39 is that the eglibc test suite passes on 2.6.38 and
 older kernels, but fails on 2.6.39 and newer kernels with failures in
 mutex related tests.
 
 Maybe this bug should be reassigned to the linux kernel?

Does this still occur with recent kernels and pulseaudio versions?

-- 
The truth is what is; what should be is a dirty lie.
-- Lenny Bruce


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#649641: Bug #649641: pulseaudio mutex issue on Alpha architecture

2012-11-04 Thread Sjoerd Simons
close 649641 
thanks,

On Mon, 2012-11-05 at 09:02 +1300, Michael Cree wrote:
 On 5/11/2012, at 5:59 AM, Sjoerd Simons wrote:
 It is now fixed in the kernel; commit 62aca403657fe upstream.  It was  
 a problem with futexes.

Great thanks, closing this bug :)
-- 
Sjoerd Simons sjo...@luon.net


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#649641: Bug #649641: pulseaudio mutex issue on Alpha architecture

2012-11-04 Thread Michael Cree

On 5/11/2012, at 5:59 AM, Sjoerd Simons wrote:

On Sun, Feb 12, 2012 at 01:46:27PM +1300, Michael Cree wrote:
Other hints that this is a kernel problem introduced somewhere  
between

2.6.38 and 2.6.39 is that the eglibc test suite passes on 2.6.38 and
older kernels, but fails on 2.6.39 and newer kernels with failures in
mutex related tests.

Maybe this bug should be reassigned to the linux kernel?


Does this still occur with recent kernels and pulseaudio versions?


It is now fixed in the kernel; commit 62aca403657fe upstream.  It was  
a problem with futexes.


Cheers
Michael.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#649641: Bug #649641: pulseaudio mutex issue on Alpha architecture

2012-02-11 Thread Michael Cree
The pulseaudio problem on Alpha is worse than just causing a crash in
iceweasel---pulseaudio cannot auto-detect audio cards via the udev
mechanism.

I have a number of audio cards (HDA-intel on a newer Radeon graphics
card, and M-Audio Revolution 5.1) in my Alpha XP1000 but these are not
detected despite the presence of module-udev-detect in the pulseaudio
system config.

Trying to play sound files (aplay -D pulse some_sound_file) plays no
sound and never returns.

Instrumenting and recompiling pulseaudio to print out the errno of the
failed call to pthread_mutex_unlock reveals an EPERM return.

Anyway, I think this is a fault in the kernel, not with pulseaudio.  If
I boot with a 2.6.38.x variant kernel pulseaudio works, the audio cards
are detected, I have the pleasant sounds of Pink Floyd playing again,
and iceweasel works without crashing.  Run with a newer kernel and
pulseaudio fails to work.

Other hints that this is a kernel problem introduced somewhere between
2.6.38 and 2.6.39 is that the eglibc test suite passes on 2.6.38 and
older kernels, but fails on 2.6.39 and newer kernels with failures in
mutex related tests.

Maybe this bug should be reassigned to the linux kernel?

Cheers
Michael.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#649641: pulseaudio mutex issue on Alpha architecture

2011-11-23 Thread Bob Tracy
Verified that the previously-mentioned workaround is applicable to
Alpha, and that it works: no more mutex failures.  The specific
implementation of the workaround for the 1.1-1 source package is to
patch m4/ax_pthread.m4 line 266ff to read as follows:

AC_CACHE_CHECK([for PTHREAD_PRIO_INHERIT],
ax_cv_PTHREAD_PRIO_INHERIT, [
AC_LINK_IFELSE(
AC_LANG_PROGRAM([[#include pthread.h]], [[int i = 
PTHREAD_PRIO_INHERIT;]]),
[ax_cv_PTHREAD_PRIO_INHERIT=no],
[ax_cv_PTHREAD_PRIO_INHERIT=no])
])

i.e., ax_cv_PTHREAD_PRIO_INHERIT gets set to no regardless of
whether the test program compiles successfully (which it does on Alpha).



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#649641: pulseaudio mutex issue on Alpha architecture

2011-11-22 Thread Bob Tracy
Package: pulseaudio
Version: 1.1-1
Severity: important

Iceweasel and firefox browsers crash with the following error:

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

Always reproducible by starting either firefox or iceweasel, then clicking
on the drop-down main menu in the upper-left corner of the browser window.
The application immediately aborts with the above error message.

See https://bugs.meego.com/show_bug.cgi?id=13567 for a similar bug report
on the ARM platform.  A workaround suggested there is to disable the PTHREAD
priority inheritance feature (in the source package) by adding

pulseaudio_cv_PTHREAD_PRIO_INHERIT=no

in configure.ac before

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

I have no idea whether this is applicable to Alpha.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: alpha

Kernel: Linux 3.2.0-rc2
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pulseaudio depends on:
ii  adduser 3.113 
ii  consolekit  0.4.5-1   
ii  libasound2  1.0.24.1-4
ii  libasound2-plugins  1.0.24-3  
ii  libc6.1 2.13-21   
ii  libcap2 1:2.22-1  
ii  libdbus-1-3 1.4.16-1  
ii  libfftw3-3  3.2.2-1   
ii  libice6 2:1.0.7-2 
ii  libltdl72.4.2-1   
ii  liborc-0.4-01:0.4.16-1
ii  libpulse0   1.1-1 
ii  libsamplerate0  0.1.8-1   
ii  libsm6  2:1.2.0-2 
ii  libsndfile1 1.0.25-3  
ii  libspeexdsp11.2~rc1-1 
ii  libtdb1 1.2.9-4   
ii  libudev0172-1 
ii  libx11-62:1.4.4-4 
ii  libx11-xcb1 2:1.4.4-4 
ii  libxcb1 1.7-4 
ii  libxtst62:1.2.0-4 
ii  lsb-base3.2-28
ii  udev172-1 

Versions of packages pulseaudio recommends:
ii  gstreamer0.10-pulseaudio  0.10.30-2
ii  pulseaudio-esound-compat  1.1-1
ii  pulseaudio-module-x11 1.1-1
ii  rtkit 0.10-2   

Versions of packages pulseaudio suggests:
ii  paman none
ii  paprefs   none
ii  pavucontrol   none
ii  pavumeter none
ii  pulseaudio-utils  1.1-1 

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org