[Asterisk-Users] Asterisk freezing HELP

mattf mattf at vicimarketing.com
Mon Dec 8 12:51:03 MST 2003


Hello,

I've continued to have lockups since last week and this is really beginning
to drive me crazy. Could this be a problem with specific hardware or a
specific setting in the configuration files that causes these lockups for
some and not others? If everyone that is experiencing Asterisk lockups would
email me their setup:

- system hardware/software i.e.(ASUS w/P4 2.6 GHz 2GB DDR RAM - Redhat 9.0
SMP)
- hardphones/softphones they are using and how many
- Zap hardware they are using and what is hooked up to them
- send me extensions.conf and sip.conf files

I will attempt to figure out what is common amongst the unlucky and submit
my findings to the list

If anyone that has had no lockups for at least a month would like to send me
the above information that also may help me as well.

Thanks for your help,

MATT---



-----Original Message-----
From: TeleSIP [mailto:ricvil at telesip.net]
Sent: Monday, December 08, 2003 2:30 PM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] Asterisk freezing HELP


Hi TC,

I followed your instructions.  Today I managed to lock up one of our
Asterisk boxes with an incoming SIP call.

It locks up right after seeing I this line:
Dec  8 13:48:34 WARNING[4101]: File chan_sip.c, Line 456 (retrans_pkt):
Maximum retries exceeded on call fc19b3c44627f4d6 at 192.168.0.160 for seqno
1058 (Response)

I was able to follow down to STEP #7 of your Deadlock debug Instructions,
but the file in step #8 is not present.

In any case here is the relevant thread that is locked:
Thread 6 (Thread 4101 (LWP 8372)):
#0  0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
#1  0x40039679 in __pthread_wait_for_restart_signal () from
/lib/i686/libpthread.so.0
#2  0x4003b4b9 in __pthread_alt_lock () from /lib/i686/libpthread.so.0
#3  0x4003816e in pthread_mutex_lock () from /lib/i686/libpthread.so.0
#4  0x41be8235 in retrans_pkt (data=0x8138e50) at
../include/asterisk/lock.h:89
#5  0x08051e05 in ast_sched_runq (con=0x80eeac8) at sched.c:355
#6  0x41bfba86 in do_monitor (data=0x0) at chan_sip.c:5409
#7  0x40036fef in pthread_start_thread () from /lib/i686/libpthread.so.0

(gdb) thread 6
[Switching to thread 6 (Thread 4101 (LWP 8372))]#0  0x420292e5 in sigsuspend
() from /lib/i686/libc.so.6
(gdb) frame 2
#2  0x4003b4b9 in __pthread_alt_lock () from /lib/i686/libpthread.so.0
(gdb)

Is this enough to open a ticket in the BUG tracker?

Is there anything else I should look for?  I have not restared Asterisk yet.

Thanks,
Andres.


----- Original Message ----- 
From: "TC" <trclark at shaw.ca>
To: <asterisk-users at lists.digium.com>
Sent: Friday, December 05, 2003 4:47 PM
Subject: Re: [Asterisk-Users] Asterisk freezing HELP


> >
> > The only suspicious thing is that they always seem to freeze when the
SIP
> > channel is right around this line:
> >                 if (pkt->owner->owner) {
> >                         /* XXX Potential deadlocK?? XXX */
> >                         ast_queue_hangup(pkt->owner->owner, 0);
> >                         ast_mutex_unlock(&pkt->owner->owner->lock);
> Would you be able to follow the How to Deug a dead lock next time
> & post the info to bugs.digium.com ??
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>


_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list