Hi Marko, thanks for your bugreport. Which section or version are you running? (stable distribution Etch?) I've tested with a mp3 and this doesn't seem to apply to latest version in unstable 13.0.0.
Is there a reason for piping instead of specifying the filename? Or does that more generally mean that "you can't use open() in an application"? If so, it's bad and deserves more attention. Regards, -Pascal On 3/31/07, Marko Randjelovic <[EMAIL PROTECTED]> wrote:
Package: sox Version: 12.17.9-1 Severity: normal Here is what happens when I try to play some wav file through pipe. [EMAIL PROTECTED]:~/tmp$ cat test.wav | sox - -t ossdsp /dev/dsp Segmentation fault When called directly (sox test.wav -t ossdsp /dev/dsp), the same file plays perfectly. Version from unstable does not segfault, but anyway does not play the file. [EMAIL PROTECTED]:~/tmp$ cat test.wav | sox - -t ossdsp /dev/dsp sox stio: Failed reading `-': Could not determine file type. -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-4-amd64 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages sox depends on: ii libasound2 1.0.13-2 ALSA library ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries ii libmad0 0.15.1b-2.1 MPEG audio decoder library ii libogg0 1.1.3-2 Ogg Bitstream Library ii libvorbis0a 1.1.2.dfsg-1.2 The Vorbis General Audio Compressi ii libvorbisenc2 1.1.2.dfsg-1.2 The Vorbis General Audio Compressi ii libvorbisfile3 1.1.2.dfsg-1.2 The Vorbis General Audio Compressi sox recommends no packages. -- no debconf information
-- Homepage (http://organact.mine.nu) Debian GNU/Linux (http://www.debian.org) LACIME: École de technologie supérieure (http://lacime.etsmtl.ca)