Package: sox
Version: 14.4.0-3
Severity: normal

Dear Maintainer,

Rather than always pass '-t oss' to sox, or set AUDIODRIVER=oss, I
thought I'd just uninstall libsox-fmt-alsa and leave libsox-fmt-oss as
the only installed audio driver.  But this causes sox to SEGV:

$ play foo.wav
Segmentation fault

Curiously, using '-t oss' still works fine:

$ play foo.wav -t oss

foo.wav is little-endian 16-bit stereo 44100 Hz, created by cdparanoia.

Here are the results with -V9:

$ play -V9 foo.wav
play DBUG formats: opening format plugin `lsx_amr_nb_format_fn': library 
0x9df9490, entry point 0xb78352d0

play DBUG formats: opening format plugin `lsx_amr_wb_format_fn': library 
0x9dfa578, entry point 0xb756fe60

play DBUG formats: opening format plugin `lsx_flac_format_fn': library 
0x9dfaa80, entry point 0xb7831150

play DBUG formats: opening format plugin `lsx_gsm_format_fn': library 
0x9dfc988, entry point 0xb7423d00

play DBUG formats: opening format plugin `lsx_lpc10_format_fn': library 
0x9dfcda0, entry point 0xb782bd10

play DBUG formats: opening format plugin `lsx_oss_format_fn': library 
0x9dfd1b8, entry point 0xb741fdb0

play DBUG formats: opening format plugin `lsx_sndfile_format_fn': library 
0x9dfd5d0, entry point 0xb741c160

play DBUG formats: opening format plugin `lsx_vorbis_format_fn': library 
0x9dfde28, entry point 0xb7209c50

play DBUG formats: opening format plugin `lsx_wavpack_format_fn': library 
0x9dfe2e8, entry point 0xb72057d0

play INFO oss: OSS driver only supports bytes and words
play INFO oss: Forcing to signed linear word
Segmentation fault

$ play -V9 foo.wav -t oss
play:      SoX v14.4.0
time:     May  7 2012 03:43:24
issue:    Debian
uname:    Linux luthien 3.0.0-1-686-pae #1 SMP Sat Aug 27 16:41:03 UTC 2011 i686
compiler: gcc 4.6.3
arch:     1248 48 44 L OMP
play DBUG formats: opening format plugin `lsx_amr_nb_format_fn': library 
0x9fc75d8, entry point 0xb77a92d0

play DBUG formats: opening format plugin `lsx_amr_wb_format_fn': library 
0x9fc86c0, entry point 0xb74e3e60

play DBUG formats: opening format plugin `lsx_flac_format_fn': library 
0x9fc8bc8, entry point 0xb77a5150

play DBUG formats: opening format plugin `lsx_gsm_format_fn': library 
0x9fcaad0, entry point 0xb7397d00

play DBUG formats: opening format plugin `lsx_lpc10_format_fn': library 
0x9fcaee8, entry point 0xb779fd10

play DBUG formats: opening format plugin `lsx_oss_format_fn': library 
0x9fcb300, entry point 0xb7393db0

play DBUG formats: opening format plugin `lsx_sndfile_format_fn': library 
0x9fcb718, entry point 0xb7390160

play DBUG formats: opening format plugin `lsx_vorbis_format_fn': library 
0x9fcbf70, entry point 0xb717dc50

play DBUG formats: opening format plugin `lsx_wavpack_format_fn': library 
0x9fcc430, entry point 0xb71797d0

play INFO formats: detected file format type `wav'
play DBUG wav: WAV Chunk fmt 
play DBUG wav: WAV Chunk data
play DBUG wav: Reading Wave file: Microsoft PCM format, 2 channels, 44100 
samp/sec
play DBUG wav:         176400 byte/sec, 4 block align, 16 bits/samp, 18987696 
data bytes
play DBUG wav:         4746924 Samps/chans

Input File     : 'foo.wav'
Channels       : 2
Sample Rate    : 44100
Precision      : 16-bit
Duration       : 00:01:47.64 = 4746924 samples = 8073 CDDA sectors
File Size      : 19.0M
Bit Rate       : 1.41M
Sample Encoding: 16-bit Signed Integer PCM
Endian Type    : little
Reverse Nibbles: no
Reverse Bits   : no


Output File    : '/dev/dsp' (ossdsp)
Channels       : 2
Sample Rate    : 44100
Precision      : 16-bit
Duration       : 00:01:47.64 = 4746924 samples = 8073 CDDA sectors
Sample Encoding: 16-bit Signed Integer PCM
Endian Type    : little
Reverse Nibbles: no
Reverse Bits   : no

play DBUG effects: sox_add_effect: extending effects table, new size = 8
play INFO sox: effects chain: input        44100Hz  2 channels (multi) 16 bits 
00:01:47.64
play INFO sox: effects chain: output       44100Hz  2 channels (multi) 16 bits 
00:01:47.64
play DBUG sox: automatically entering interactive mode

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'stable'), (600, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages sox depends on:
ii  libc6            2.13-21         
ii  libgomp1         4.6.1-4         
ii  libgsm1          1.0.13-3        
ii  libltdl7         2.4.2-1         
ii  libmagic1        5.08-1          
ii  libpng12-0       1.2.46-3        
ii  libsox-fmt-base  14.4.0-3        
ii  libsox-fmt-oss   14.4.0-3        
ii  libsox2          14.4.0-3        
ii  zlib1g           1:1.2.3.4.dfsg-3

sox recommends no packages.

Versions of packages sox suggests:
pn  libsox-fmt-all  <none>

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