[Speex-dev] Deallocation bug in speex
Dario Andrade
dario at sinistro.net
Wed Jun 22 17:19:14 PDT 2005
When updating the speex sources from svn tree, I found that the following
revision has corrupted the deallocation (segmentation fault):
------------------------------------------------------------------------
r9320 | jm | 2005-05-27 15:05:05 -0300 (Fri, 27 May 2005) | 2 lines
Proper de-allocation
When compiling with the 9316, everything works fine.
but when I update with later than or equal to 9320 (besides, it was working
really fine for quite some time now before I updated it),
a segmentation fault occurs in nb_celp.c:229:
#0 0x7c96df51 in $R000000 ()
#1 0x00c80000 in ?? ()
#2 0x7c94a5d0 in $R000000 ()
#3 0x7c9268ad in $R000000 ()
#4 0x77c2c2de in $R000000 ()
#5 0x657c380e in nb_encoder_destroy (state=0x41426b0) at nb_celp.c:229
#6 0x657bac1f in speex_encoder_destroy (state=0x41426b0) at speex.c:62
#7 0x657c0003 in sb_encoder_destroy (state=0x4156be8) at sb_celp.c:339
#8 0x657bac1f in speex_encoder_destroy (state=0x4156be8) at speex.c:62
#9 0x657c0003 in sb_encoder_destroy (state=0x4156b60) at sb_celp.c:339
#10 0x657bac1f in speex_encoder_destroy (state=0x4156b60) at speex.c:62
(gdb) l nb_celp.c:229
224
225 speex_free (st->inBuf);
226 speex_free (st->excBuf);
227 speex_free (st->innov);
228 speex_free (st->interp_qlpc);
229 speex_free (st->qlsp);
230 speex_free (st->old_qlsp);
231 speex_free (st->interp_qlsp);
232 speex_free (st->swBuf);
Thanks for any help,
Dario Andrade
IP.TV
Mobile +55.21.9453.5005
Office +55.21.2141.9525
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20050622/99fdf43a/attachment-0001.html
More information about the Speex-dev
mailing list