[Asterisk-Dev] mp3player related segfaults

Mark Spencer markster at digium.com
Sat Apr 12 08:55:09 MST 2003


Run under valgrind so we can find the *real* problem.

mark

On Fri, 11 Apr 2003, Steven Critchfield wrote:

> 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 at basesys.com>
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>




More information about the asterisk-dev mailing list