speexenc crash using --vbr
speexenc 1.1.12 (with vorbis-psy) will crash while compressing a 44100kHz wav file when launched with this command line:
$ speexenc --quality 10 --vbr cdda.wav pro.spx
or
$ speexenc --quality 9 --vbr cdda.wav pro.spx
Here is the backtrace:
Warning: Speex is only optimized for 8, 16 and 32 kHz. It will
still work at 44100 Hz but your mileage may vary
Encoding 44100 Hz audio using ultra-wideband (sub-band CELP) mode (stereo)
Program received signal SIGSEGV, Segmentation fault.
0x0ffca104 in split_cb_search_shape_sign () from /usr/lib/libspeex.so.1 (gdb) bt
#0 0x0ffca104 in split_cb_search_shape_sign () from /usr/lib/libspeex.so.1
#1 0x0ffc27c4 in sb_encode () from /usr/lib/libspeex.so.1
#2 0x0ffcc2c0 in speex_encode_native () from /usr/lib/libspeex.so.1
#3 0x0ffc1eb8 in sb_encode () from /usr/lib/libspeex.so.1
#4 0x0ffcc434 in speex_encode_int () from /usr/lib/libspeex.so.1
#5 0x10002e48 in ?? ()
#6 0x0fd8a6f0 in ?? () from /lib/libc.so.6
#7 0x0fd8a914 in __libc_start_main () from /lib/libc.so.6
#8 0x00000000 in ?? ()
It will not crash when launched with
$ speexenc --quality 8 --vbr cdda.wav pro.spx
In addition, 'speexenc --vbr cdda.wav pro.spx' will produce an orrible-sounding file, while 'speexenc cdda.wav pro.spx' will produce a normal .spx file.
I compiled speex on a PPC box with Gentoo 2006.1