Posted: Fri Apr 11, 2003 11:47 am Post subject: [Asterisk-Dev] mp3player related segfaults
While doing some tests of the latest CVS checkout, I noticed that if I
pass a url to mp3player that isn't valid anymore that asterisk
segfaults.
Here is the backtrace...
#0 0x40131efa in mallopt () from /lib/libc.so.6
#1 0x40131145 in malloc () from /lib/libc.so.6
#2 0x08052a21 in ast_frdup (f=0xbf1fe95c) at frame.c:250
#3 0x4032f7b5 in socket_read (id=0x80da0b0, fd=9, events=1, cbdata=0x0)
at chan_iax.c:706
#4 0x08050b20 in ast_io_wait (ioc=0x80db290, howlong=1075666204) at
io.c:268
#5 0x4032d41f in network_thread (ignore=0x0) at chan_iax.c:4274
#6 0x4001ed53 in pthread_start_thread () from /lib/libpthread.so.0
* is trying to malloc 156 bytes in each of the core files I've been
looking at.
--
Steven Critchfield <critch@basesys.com>
Posted: Sat Apr 12, 2003 3:55 pm Post subject: [Asterisk-Dev] mp3player related segfaults
Run under valgrind so we can find the *real* problem.
mark
On Fri, 11 Apr 2003, Steven Critchfield wrote:
Quote:
While doing some tests of the latest CVS checkout, I noticed that if I
pass a url to mp3player that isn't valid anymore that asterisk
segfaults.
Here is the backtrace...
#0 0x40131efa in mallopt () from /lib/libc.so.6
#1 0x40131145 in malloc () from /lib/libc.so.6
#2 0x08052a21 in ast_frdup (f=0xbf1fe95c) at frame.c:250
#3 0x4032f7b5 in socket_read (id=0x80da0b0, fd=9, events=1, cbdata=0x0)
at chan_iax.c:706
#4 0x08050b20 in ast_io_wait (ioc=0x80db290, howlong=1075666204) at
io.c:268
#5 0x4032d41f in network_thread (ignore=0x0) at chan_iax.c:4274
#6 0x4001ed53 in pthread_start_thread () from /lib/libpthread.so.0
* is trying to malloc 156 bytes in each of the core files I've been
looking at.
--
Steven Critchfield <critch@basesys.com>
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum