Bug#1028329: padsp: LD_PRELOAD not set correctly
Detlev Zundel
dzu at member.fsf.org
Mon Jan 9 16:13:31 GMT 2023
Package: pulseaudio-utils
Version: 16.1+dfsg1-2+b1
Severity: important
Hi, the /usr/bin/padsp script does not correctly set LD_PRELOAD because the
script looks broken. Lines 76-80:
if [ x"$LD_PRELOAD" = x ] ; then
LD_PRELOAD="/usr/\\$$LIB/pulseaudio/libpulsedsp.so"
else
LD_PRELOAD="$LD_PRELOAD /usr/\\$$LIB/pulseaudio/libpulsedsp.so"
fi
The "\\$$LIB" evaluates in sh to a backslash followed by the pid of the shell.
This of course does not work:
dzu at krikkit:~$ padsp scratch
ERROR: ld.so: object '/usr/\80625LIB/pulseaudio/libpulsedsp.so' from LD_PRELOAD
cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/\80625LIB/pulseaudio/libpulsedsp.so' from LD_PRELOAD
cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/\80625LIB/pulseaudio/libpulsedsp.so' from LD_PRELOAD
cannot be preloaded (cannot open shared object file): ignored.
Executing: /usr/lib/squeak/4.10.2.2614+20120917~dfsg/squeakvm -encoding UTF-8
-vm-display-x11 -plugins
/usr/lib/scratch/plugins/:/usr/lib/squeak/4.10.2.2614+20120917~dfsg/
/usr/share/scratch/Scratch.image
ERROR: ld.so: object '/usr/\80625LIB/pulseaudio/libpulsedsp.so' from LD_PRELOAD
cannot be preloaded (cannot open shared object file): ignored.
dzu at krikkit:~$
-- System Information:
Debian Release: bookworm/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.0.0-6-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages pulseaudio-utils depends on:
ii libc6 2.36-7
ii libpulse0 16.1+dfsg1-2+b1
ii libpulsedsp 16.1+dfsg1-2+b1
ii libsndfile1 1.2.0-1
ii libx11-6 2:1.8.3-3
ii libx11-xcb1 2:1.8.3-3
ii libxcb1 1.15-1
pulseaudio-utils recommends no packages.
Versions of packages pulseaudio-utils suggests:
ii avahi-daemon 0.8-6+b1
ii pulseaudio 16.1+dfsg1-2+b1
-- no debconf information
More information about the pkg-pulseaudio-devel
mailing list