Subject: sox: segmentation fault when using 'pitch' effect Package: sox Version: 12.17.9-1 Severity: normal
sox is sometimes crashed when using 'pitch' effect to change some wave files. For example: freya:/tmp> sox crash.wav crash2.wav pitch 350 Segmentation fault freya:/tmp> gdb sox GNU gdb 6.4.90-debian Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) set args crash.wav crash2.wav pitch 350 (gdb) run Starting program: /tmp/sox-12.17.9/sox-12.17.9/src/sox crash.wav crash2.wav pitch 350 Program received signal SIGSEGV, Segmentation fault. 0x08067552 in st_pitch_drain (effp=0x8098274, obuf=0x80b38a0, osamp=0x8098294) at pitch.c:592 592 obuf[i++] = clip(pitch, pitch->acc[pitch->iacc++]); (gdb) backtrace #0 0x08067552 in st_pitch_drain (effp=0x8098274, obuf=0x80b38a0, osamp=0x8098294) at pitch.c:592 #1 0x08049e05 in drain_effect (e=1) at sox.c:1341 #2 0x0804a7d8 in flow_effect_out () at sox.c:1177 #3 0x0804ba4b in main (argc=Cannot access memory at address 0x2000 ) at sox.c:1330 regards, Ying-Chun Liu -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-2-k7 Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8) Versions of packages sox depends on: ii libasound2 1.0.11-7 ALSA library ii libc6 2.3.6.ds1-4 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-1 The Vorbis General Audio Compressi ii libvorbisenc2 1.1.2-1 The Vorbis General Audio Compressi ii libvorbisfile3 1.1.2-1 The Vorbis General Audio Compressi sox recommends no packages. -- no debconf information -- PaulLiu(劉穎駿) E-mail address: [EMAIL PROTECTED]
crash.wav.bz2
Description: application/bzip
signature.asc
Description: OpenPGP digital signature