[speex-dev] segmentation fault on lost packets

Matthias Granberry matthias at utdallas.edu
Sat Dec 28 00:18:42 PST 2002



Somewhere in the new packet-loss concealment code, there is a bug.  I
tried encoding a 44100-hz stereo file and it decodes just fine, but if I
try it with packet loss, I get a segmentation fault.  If you want to
see the file, I can put it up somewhere publicly accessible.  If
someone here can't work on it, I'll be back on my home computer in a
few days, so I'll work on it then.

Thanks,
Matthias
----------------
matthias at route:~/vp32/speex/src/.libs$ gdb ./speexdec
GNU gdb 5.2.90_2002-11-20-cvs-debian
Copyright 2002 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 "i386-linux"...
(gdb) run ~/public_html/01* --packet-loss 10 - > /dev/null
Starting program: /home/matthias/vp32/speex/src/.libs/speexdec
~/public_html/01
 --packet-loss 10 - > /dev/null
Decoding 44100 Hz audio using ultra-wideband (sub-band CELP) mode (VBR)
Encoded with Speex 1.0beta4
author=Star Wars
title=01 - A Wind to Shake the Stars

Program received signal SIGSEGV, Segmentation fault.
0x4001a475 in sb_decode_lost (st=0x8055280, out=0x805e678, dtx=0,
    stack=0x8058c18) at sb_celp.c:828
828           k1=SUBMODE(lpc_enh_k1);
(gdb) bt
#0  0x4001a475 in sb_decode_lost (st=0x8055280, out=0x805e678, dtx=0,
    stack=0x8058c18) at sb_celp.c:828
#1  0x4001a6f2 in sb_decode (state=0x8055280, bits=0x0, out=0x805e678)
    at sb_celp.c:936
#2  0x4001ee4b in speex_decode (state=0x8055280, bits=0x0, out=0x805e678)
    at modes.c:545
#3  0x4001a637 in sb_decode (state=0x8055208, bits=0x0, out=0xbfffcdf8)
    at sb_celp.c:901
#4  0x4001ee4b in speex_decode (state=0x8055208, bits=0x0, out=0xbfffcdf8)
    at modes.c:545
#5  0x08049edb in main (argc=5, argv=0xbffffd34) at speexdec.c:533
(gdb)

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