Chandra Kanth Chereddi
2004-Aug-06 15:01 UTC
[speex-dev] segmentation fault on lost packets
On Sat, 2002-12-28 at 13:48, Matthias Granberry wrote:> 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. IfPlease do put it up, if possible both the original as well as enocded file. May be we can find something. CCK./ --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
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@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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
> 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.OK, I've been able to reproduce and identify the bug. I'll fix it soon... Jean-Marc -- Jean-Marc Valin, M.Sc.A. LABORIUS (http://www.gel.usherb.ca/laborius) Université de Sherbrooke, Québec, Canada <p> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 242 bytes Desc: signature.asc Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20021230/883987a3/signature-0001.pgp
Reasonably Related Threads
- Fixed Point on wideband-mode: Single Frame loss on 2000 Hz sine causes "freak off"
- Fwd: Fixed Point on wideband-mode: Single Frame loss on 2000 Hz sine causes "freak off"
- Fixed Point on wideband-mode: Single Frame loss on 2000 Hz sine causes "freak off"
- Fwd: Re: Fixed Point on wideband-mode: Single Frame loss on 2000 Hz sine causes "freak off"
- Fwd: Re: Fixed Point on wideband-mode: Single Frame loss on 2000 Hz sine causes "freak off"