[Speex-dev] speex and thread question.
Julien Janier
julien
Wed Jun 30 09:06:03 PDT 2004
Hy,
I'm writing a application using speex.
This app have two threads one is encoding the other one decoding using
speex.
I dont know why but I got segfault on some systems.
If I juste take off one of the thread like encoding and lauchin the
decoding part in a thread and the application is still segfaulting.
But if I just launch the decoding process with out a thread every thing
is going fine.
So I would like to know if there are some special things I have to worry
about when I'm using speex and threads.
Thanks In advance.
Here a backtrace of gdb :
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 32771 (LWP 4367)]
0x40035bdb in filter_mem2_10 () from /usr/lib/libspeex.so.1
(gdb) bt
#0 0x40035bdb in filter_mem2_10 () from /usr/lib/libspeex.so.1
#1 0x411c3264 in ?? ()
#2 0x400139c0 in ?? ()
#3 0x00000001 in ?? ()
#4 0x00000000 in ?? ()
#5 0x00000001 in ?? ()
#6 0x00000000 in ?? ()
#7 0x00000001 in ?? ()
#8 0x411c32d8 in ?? ()
#9 0x411c3264 in ?? ()
#10 0x400296ff in ?? () from /usr/lib/libspeex.so.1
#11 0x00000000 in ?? ()
#12 0x400289b8 in ?? () from /usr/lib/libspeex.so.1
#13 0x411c3294 in ?? ()
#14 0x039ac0d0 in ?? ()
#15 0x411c32d4 in ?? ()
#16 0x40027000 in ?? ()
#17 0x40029bdc in ?? () from /usr/lib/libspeex.so.1
#18 0x00000000 in ?? ()
#19 0x00000001 in ?? ()
#20 0x40029028 in ?? () from /usr/lib/libspeex.so.1
#21 0x40027000 in ?? ()
#22 0x4000a1c6 in fixup () from /lib/ld-linux.so.2
Previous frame inner to this frame (corrupt stack?)
--
Julien Janier <julien at janier.org>
http://www.janier.org/ geek by nature, Linux by choice
GnuPG FingerPrint: AEFC 92AA 0FD0 1B1D 56A1 5193 47C0 6B43 5F69 DD4E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20040630/800827a5/attachment.pgp
More information about the Speex-dev
mailing list