[Pkg-pulseaudio-devel] Bug#550400: pulseaudio-utils: Iceweasel segfault if padsp wrapper is used
Dominique Brazziel
dbrazziel at snet.net
Fri Oct 9 20:07:30 UTC 2009
Package: pulseaudio-utils
Version: 0.9.15-4.1
Severity: normal
Tags: patch
If '/etc/iceweasel/iceweaselrc' is set to use padsp as the DSP
wrapper, a segfault occurs because the padsp script conditionally
sets environment variable 'PADSP_DEBUG' based on the presence of
the '-d' switch, but the code (padsp.c) unconditionally attempts
to read the value using 'getenv'. The attached patch fixes the
script to set PADSP_DEBUG=0 if no -d switch was used.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages pulseaudio-utils depends on:
ii libasyncns0 0.3-1 Asyncronous name service query lib
ii libavahi-client3 0.6.25-1 Avahi client library
ii libavahi-common3 0.6.25-1 Avahi common library
ii libc6 2.9-25 GNU C Library: Shared libraries
ii libcap2 1:2.16-5 support for getting/setting POSIX.
ii libdbus-1-3 1.2.16-2 simple interprocess messaging syst
ii libflac8 1.2.1-2+b1 Free Lossless Audio Codec - runtim
ii libgdbm3 1.8.3-6+b1 GNU dbm database routines (runtime
ii libice6 2:1.0.5-1 X11 Inter-Client Exchange library
ii libogg0 1.1.4~dfsg-1 Ogg bitstream library
ii libpulse-browse0 0.9.15-4.1 PulseAudio client libraries (zeroc
ii libpulse0 0.9.15-4.1 PulseAudio client libraries
ii libsm6 2:1.1.1-1 X11 Session Management library
ii libsndfile1 1.0.18-2+squeeze1 Library for reading/writing audio
ii libvorbis0a 1.2.0.dfsg-6 The Vorbis General Audio Compressi
ii libvorbisenc2 1.2.0.dfsg-6 The Vorbis General Audio Compressi
ii libwrap0 7.6.q-18 Wietse Venema's TCP wrappers libra
ii libx11-6 2:1.2.2-1 X11 client-side library
ii libxtst6 2:1.0.3-1 X11 Testing -- Resource extension
pulseaudio-utils recommends no packages.
Versions of packages pulseaudio-utils suggests:
ii avahi-daemon 0.6.25-1 Avahi mDNS/DNS-SD daemon
-- no debconf information
-------------- next part --------------
--- padsp 2009-10-09 14:13:18.000000000 -0400
+++ padsp.new 2009-10-09 10:28:19.000000000 -0400
@@ -53,6 +53,7 @@
PADSP_DEBUG=$(( $PADSP_DEBUG + 1 ))
fi
export PADSP_DEBUG
+
;;
*)
echo "$0 - redirect OSS audio devices to PulseAudio"
@@ -73,6 +74,9 @@
esac
done
+# Set default debug level to prevent segfault in 'getenv'
+test $PADSP_DEBUG || export PADSP_DEBUG=0
+
shift $(( $OPTIND - 1 ))
if [ x"$LD_PRELOAD" = x ] ; then
More information about the Pkg-pulseaudio-devel
mailing list