[asterisk-bugs] [Asterisk 0018944]: Lock on Asterisk 1.6.2.17-rc2

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 14 09:33:41 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18944 
====================================================================== 
Reported By:                coliva
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18944
Category:                   PBX/General
Reproducibility:            random
Severity:                   block
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.17 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-03-09 07:56 CST
Last Modified:              2011-03-14 09:33 CDT
====================================================================== 
Summary:                    Lock on Asterisk 1.6.2.17-rc2
Description: 
At random times, asterisk Stops to process sip packets, all udp packets are
queued as we can see in:

netstat -anp |grep 5060
udp   124904     0 0.0.0.0:5060     0.0.0.0:*     15732/asterisk

It seems to be a lock. We had compiled asterisk with thread debugging, I
will put the info of "core show locks" in additional information, and will
attach a gdb backtracing of all threads.

After this lock, asterisk must be killed to recover the sip channel, we
tried to reload sip and all modules using asteriskcli, but nothing works.
The S.O. is Debian Squeeze, but it seems to be the same in debian Lenny. I
think the same problem is in Asterisk 1.6.2.14, but I can not confirm this
because the machine with this version has no debuging enabled
====================================================================== 

---------------------------------------------------------------------- 
 (0132899) coliva (reporter) - 2011-03-14 09:33
 https://issues.asterisk.org/view.php?id=18944#c132899 
---------------------------------------------------------------------- 
Another Lock today. Asking the users, they reported me that Asterisk locks
when they are trying to capture a call on the same group, dialing *8.
Looking in the logs, the last info I saw before the lock is:
[Mar 14 13:40:34] VERBOSE[22525] netsock.c:   == Using SIP RTP TOS bits
184
[Mar 14 13:40:34] VERBOSE[22525] netsock.c:   == Using SIP RTP CoS mark 5

In the proxy server logs (OpenSips) I can see an INVITE packet exactly at
the same time:
Mar 14 13:40:34 Routing [INVITE] ruri: [sip:*8 at 172.16.78.37] May be
related the issue to call capturing? I attach another "core show locks" 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-14 09:33 coliva         Note Added: 0132899                          
======================================================================




More information about the asterisk-bugs mailing list