Package: sox
Version: 14.4.0-3
Severity: normal

Dear Maintainer,

Lately, I've noticed that any file I try to play with "play" (mostly
WAV files, but it probably applies to all files that SoX can handle),
causes an instant segmentation fault, like so:

$ play sound.wav
play WARN alsa: can't encode 0-bit Unknown or not applicable
Segmentation fault

So far, I've found two workarounds. Either install the "pulseaudio"
package (which I'm a bit hesitant about because I've never had any
real need for it in the past) or manually set the AUDIODRIVER
environment variable to "alsa" or "oss".

In other words, playback through ALSA or OSS still works, but it
seems to fail to detect that they would, and at some point during
that process it crashes. Here are the last few messages when running
the same command with the -V4 option:

play WARN alsa: can't encode 0-bit Unknown or not applicable
play DBUG alsa: selecting format 0: S8 (Signed 8 bit)
play INFO oss: OSS driver only supports bytes and words
play INFO oss: Forcing to signed linear word
Segmentation fault

I hope this is enough to determine more exactly what's wrong, be it a
program bug or a user error.

(All this seems familiar somehow... probably because I commented on
bug #664301 earlier this year. But I don't remember if this problem
appeared immediately after 14.4.0-3 was uploaded, or if it's more
recent. I would like to think that I'd have noticed, but I don't
actually use SoX very often.)

Regards,

Torbjörn Andersson

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

Kernel: Linux 3.2.0-3-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sox depends on:
ii  libc6             2.13-35
ii  libgomp1          4.7.1-7
ii  libgsm1           1.0.13-4
ii  libltdl7          2.4.2-1.1
ii  libmagic1         5.11-2
ii  libpng12-0        1.2.49-3
ii  libsox-fmt-alsa   14.4.0-3
ii  libsox-fmt-ao     14.4.0-3
ii  libsox-fmt-base   14.4.0-3
ii  libsox-fmt-oss    14.4.0-3
ii  libsox-fmt-pulse  14.4.0-3
ii  libsox2           14.4.0-3
ii  zlib1g            1:1.2.7.dfsg-13

sox recommends no packages.

Versions of packages sox suggests:
ii  libsox-fmt-all  14.4.0-3

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

Reply via email to