Displaying 9 results from an estimated 9 matches for "ast_sched_runq".
2006 Apr 13
1
ast_sched_runq ran 281 scheduled tasks all at once
Just noticed that I occasionally get these messages:-
Apr 12 09:27:03 WARNING[11390] chan_iax2.c: chan_iax2: ast_sched_runq
ran 281 scheduled tasks all at once
Apr 13 09:13:18 WARNING[11390] chan_iax2.c: chan_iax2: ast_sched_runq
ran 1987 scheduled tasks all at once
Apr 13 12:47:56 WARNING[11390] chan_iax2.c: chan_iax2: ast_sched_runq
ran 1804 scheduled tasks all at once
Are they anything to be concerned about?
2005 Dec 28
5
Regular crashes
...metype = 4, subclass = 1, datalen = 0, samples = 0,
mallocd = 0, offset = 0, src = 0x0, data = 0x0, delivery = {tv_sec =
0,
tv_usec = 0}, prev = 0x0, next = 0x0}
#3 0x408fc2d9 in __sip_autodestruct (data=0x81be208) at chan_sip.c:1315
p = (struct sip_pvt *) 0x81be208
#4 0x08056c3e in ast_sched_runq (con=0x8172f28) at sched.c:373
current = (struct sched *) 0x8174868
tv = {tv_sec = 1135275568, tv_usec = 989877}
x = 0
res = 1083432672
#5 0x40927e28 in do_monitor (data=0x0) at chan_sip.c:11253
res = 0
sip = (struct sip_pvt *) 0x0
peer = (st...
2009 Mar 02
1
Weird segfault
...ee () from /lib/libc.so.6
#1 0x4017e7f5 in free () from /lib/libc.so.6
#2 0x403be83e in __sip_destroy (p=0x8248c88, lockowner=1) at
chan_sip.c:2278
#3 0x403b1728 in sip_destroy (p=0x49) at chan_sip.c:2366
#4 0x403bd18a in __sip_autodestruct (data=0x8248c88) at chan_sip.c:1370
#5 0x08056cda in ast_sched_runq (con=0x81940d8) at sched.c:373
#6 0x403c8a27 in do_monitor (data=0x0) at chan_sip.c:12201
#7 0x40021a62 in pthread_start_thread () from /lib/libpthread.so.0
#8 0x401e85ca in clone () from /lib/libc.so.6
In frame #4, sip_destroy() was called with the pointer address
0x8248c88. But in frame #3,...
2009 Mar 29
1
DUNDi broken in asterisk 1.4-svn?
...1d00c in dundi_encrypt (trans=0x985e6e0, pack=0x985b5e0) at pbx_dundi.c:1298
#2 0x0881d607 in dundi_send (trans=0x985e6e0, cmdresp=10, flags=<value optimized out>, final=0, ied=0x1924210) at pbx_dundi.c:3081
#3 0x08824834 in do_register (data=0x985bf60) at pbx_dundi.c:4093
#4 0x080f0e31 in ast_sched_runq (con=0x9855780) at sched.c:363
#5 0x0881c89a in network_thread (ignore=0x0) at pbx_dundi.c:2164
#6 0x080fd7ab in dummy_start (data=0x9840ce0) at utils.c:856
#7 0x0013b50b in start_thread () from /lib/libpthread.so.0
#8 0x00263b2e in clone () from /lib/libc.so.6
Regards
Andreas
_____________...
2006 Jan 05
0
Regular Crashes - Partially Solved
...; mallocd = 0, offset = 0, src = 0x0, data = 0x0, delivery = {tv_sec
=
> > 0,
> > tv_usec = 0}, prev = 0x0, next = 0x0}
> > #3 0x408fc2d9 in __sip_autodestruct (data=0x81be208) at
chan_sip.c:1315
> > p = (struct sip_pvt *) 0x81be208
> > #4 0x08056c3e in ast_sched_runq (con=0x8172f28) at sched.c:373
> > current = (struct sched *) 0x8174868
> > tv = {tv_sec = 1135275568, tv_usec = 989877}
> > x = 0
> > res = 1083432672
> > #5 0x40927e28 in do_monitor (data=0x0) at chan_sip.c:11253
> > res...
2004 Jul 30
1
Compiling * on OpenBSD 3.5
...btime.a -lncurses -lm -lssl
with lots of errors like:-
sched.o: In function `ast_sched_add':
/usr/src/asterisk/asterisk/sched.c:244: undefined reference to `pthread_mutex_lock'
/usr/src/asterisk/asterisk/sched.c:259: undefined reference to `pthread_mutex_unlock'
sched.o: In function `ast_sched_runq':
/usr/src/asterisk/asterisk/sched.c:351: undefined reference to `pthread_mutex_lock'
/usr/src/asterisk/asterisk/sched.c:378: undefined reference to `pthread_mutex_unlock'
/usr/src/asterisk/asterisk/sched.c:380: undefined reference to `pthread_mutex_lock'
/usr/src/asterisk/asterisk/...
2003 Oct 27
1
Fwd: Re: Asterisk on FreeBSD
...or io */
res = ast_sched_wait(sched);
if ((res < 0) || (res > 1000))
res = 1000;
res = ast_io_wait(io, res);
ast_pthread_mutex_lock(&monlock);
if (res >= 0)
ast_sched_runq(sched);
ast_pthread_mutex_unlock(&monlock);
OK so it looks like ast_sched_wait(sched) is returning
zeroes Take a look....
{
/*
* Return the number of milliseconds
* until the next scheduled event
*/
struct timeval tv;
int...
2003 Dec 04
16
Asterisk freezing HELP
Hello,
I have had several instances over the last month of Asterisk freezing,
sometimes after 12 hours, sometimes after 8 days. The common elements are
that:
- all Zap channels lock[hangups don't register and no new calls in or out]
- no new in/outbound calls can be made on Zap or SIP channels
- people who are still connected to calls can continue to talk
- in the CLI interface, you can
2009 Jun 29
0
Asterisk ended with exit status 134... Asterisk exited on signal 6.
...08eedb18 ***
======= Backtrace: =========
/lib/libc.so.6[0x17fda9]
/lib/libc.so.6[0x18192d]
/lib/libc.so.6(__libc_calloc+0xef)[0x18348f]
/usr/lib/asterisk/modules/chan_sip.so[0x86d1b1]
/usr/lib/asterisk/modules/chan_sip.so[0x87fcaf]
/usr/lib/asterisk/modules/chan_sip.so[0x89416c]
/usr/sbin/asterisk(ast_sched_runq+0xd3)[0x80f3a23]
/usr/lib/asterisk/modules/chan_sip.so[0x89382e]
/usr/sbin/asterisk[0x81014fb]
/lib/libpthread.so.0[0xa3e51f]
/lib/libc.so.6(clone+0x5e)[0x1f404e]
======= Memory map: ========
00110000-0027e000 r-xp 00000000 fd:00 309034 /lib/libc-2.9.so
0027e000-00280000 r--p 0016e000 fd:00 309...