[speex-dev] Coredumps when --enable-sse is selected

Malcolm Baldridge speex at paypc.com
Wed May 5 18:32:35 PDT 2004



System: Linux 2.4.25, glibc-2.3.2, gcc-3.2.3 (weird palindrome there), on a
Williamette core Pentium 4 (1.6Ghz) system.

I've tried both speex 1.1.5 release, and the current CVS (which self-IDs as
1.1.4), and the result is the same.

I suspect some funk in the use of the SSE intrinsics macros.

Backtrace:

#0  0x40024594 in filter_mem2_10 (x=0x805f31c, _num=0x8061fb8,
_den=0x8061fe4, y=0x806071c, N=160, ord=10, 
    _mem=0x8062150) at xmmintrin.h:790
#1  0x400248b4 in filter_mem2 (x=0x805f31c, _num=0x8061fb8, _den=0x8061fe4,
y=0x806071c, N=1, ord=0, 
    _mem=0x8061fe4) at filters_sse.h:135
#2  0x40019d1e in nb_encode (state=0x805ebd0, vin=0x80582b4,
bits=0xbfffe840) at nb_celp.c:314
#3  0x40025e33 in speex_encode_native (state=0x8061fe4, in=0x0, bits=0x0) at
modes.c:717
#4  0x4001dd30 in sb_encode (state=0x8054e90, vin=0xbfffd1c0,
bits=0xbfffe840) at sb_celp.c:309
#5  0x40025eea in speex_encode_int (state=0x8054e90, in=0xbfffe840,
bits=0x0) at modes.c:784
#6  0x0804a150 in main (argc=134565152, argv=0xbffff884) at

My build line is as follows:

CFLAGS='-O -g -march=pentium4 -mcpu=pentium4' CXXFLAGS='-O -g
-march=pentium4 -mcpu=pentium4' ./configure --enable-sse --enable-epic-48k
--prefix=/usr/local

Command line which triggers the coredump:

$ speexenc --dtx --vbr -w test.wav test.spx   
Encoding 16000 Hz audio using wideband (sub-band CELP) mode (mono)

=MB=
--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'speex-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Speex-dev mailing list