Displaying 2 results from an estimated 2 matches for "calc_timestamp".
2005 Jan 28
3
chan_iax2.c problem?
Hi,
I was messing around with FireFly last night and got asterisk to crash
hard. It looks like the bug is a division by zero in chan_iax2.c.
I reproduced it and here are some infos I got from gdb:
[Switching to Thread 245775 (LWP 23251)]
0x41154918 in calc_timestamp (p=0x816b710, ts=0, f=0x424eef24) at
chan_iax2.c:2896
2896 int diff = ms % (f->samples /
8);
(gdb) display f->samples
1: f->samples = 0
(gdb) backtrace
#0 0x41154918 in calc_timestamp (p=0x816b710, ts=0, f=0x424eef24) at
chan_iax2.c:2896
#1 0x41153119...
2005 Feb 01
0
Crash: Call from IAX-client to a distribution where the IAX-Client is in
...the
bug while it was fixed in HEAD already. No need to mention it again.)
Run asterisk in gdb and see if it is actually the same bug. If it is,
get cvs HEAD and you should be fine.
You should see something like this in gdb if it is:
> [Switching to Thread 245775 (LWP 23251)]
> 0x41154918 in calc_timestamp (p=0x816b710, ts=0, f=0x424eef24) at
chan_iax2.c:2896
Guills
> -----Original Message-----
> From: Stefan Gofferje [mailto:stefan@gofferje.homelinux.org]
> Sent: Tuesday, February 01, 2005 3:15 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion;
> asterisk-dev@lists....