[asterisk-bugs] [Asterisk 0018497]: Asterisk Crashing/Hangs

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Dec 18 23:33:40 UTC 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18497 
====================================================================== 
Reported By:                vois
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18497
Category:                   General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.8.1.1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-12-17 13:16 CST
Last Modified:              2010-12-18 17:33 CST
====================================================================== 
Summary:                    Asterisk Crashing/Hangs
Description: 
Asterisk 1.8 is crashing/hangs, running on Ubuntu. I was using Asterisk
1.4.36 and it was running fine. 600 peers(400 TLS and 200 UDP). Full debug
is enabled, but not able to find cause of crash. Wat else i can do to
figure out why crash is happening? 

When asterisk crashes, i am unable to stop asterisk with core stop now, i
have to stop it from system using /etc/init.d/asterisk stop and it takes
few min to stop. 
====================================================================== 

---------------------------------------------------------------------- 
 (0129767) vois (reporter) - 2010-12-18 17:33
 https://issues.asterisk.org/view.php?id=18497#c129767 
---------------------------------------------------------------------- 
Asterisk is not producing core file. Asterisk is not exactly
crashing(shutting down), it just freezes we cannot make any sip calls. But
if i run any CLI Command for example core show channels, sip show peers it
work fine. I even tried to register new sip account at that time and
asterisk is accepting registration also at the time of freeze. If i make
any call i see following in cli:

VERBOSE[29826] pbx.c:     -- Executing [6040000000 at internal:1]
Dial("SIP/username-00000685", "SIP/6040000000 at SIPSERVER2") in new stack
VERBOSE[29826] netsock.c:   == Using UDPTL CoS mark 5
VERBOSE[29826] netsock2.c:   == Using SIP RTP CoS mark 5

If i stop asterisk, i does not stop instantaneously. I see following
messages in cli and then after 30-50 seconds asterisk shutdown.

[Dec 17 11:30:37] WARNING[18274] channel.c: Channel allocation failed:
Refusing due to active shutdown
[Dec 17 11:30:37] WARNING[18274] chan_sip.c: Unable to allocate AST
channel structure for SIP channel
[Dec 17 11:30:37] NOTICE[18274] chan_sip.c: Unable to create/find SIP
channel for this INVITE

I have full log saved for this crash if that can help. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-18 17:33 vois           Note Added: 0129767                          
======================================================================




More information about the asterisk-bugs mailing list