[asterisk-bugs] [Asterisk 0018408]: [patch] When a call going out an NT-PTMP port gets rejected, Asterisk crashes

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Apr 1 18:17:07 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18408 
====================================================================== 
Reported By:                wimpy
Assigned To:                rmudgett
====================================================================== 
Project:                    Asterisk
Issue ID:                   18408
Category:                   Channels/chan_misdn
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                       SWP-2679 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-12-01 08:54 CST
Last Modified:              2011-04-01 18:17 CDT
====================================================================== 
Summary:                    [patch] When a call going out an NT-PTMP port gets
rejected, Asterisk crashes
Description: 
When a call going out an NT-PTMP port gets rejected, Asterisk crashes.

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0015952 Sometimes asterisk Crashes in the hangu...
====================================================================== 

---------------------------------------------------------------------- 
 (0133298) svnbot (reporter) - 2011-04-01 18:17
 https://issues.asterisk.org/view.php?id=18408#c133298 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 312510

_U  trunk/
U   trunk/channels/chan_misdn.c

------------------------------------------------------------------------
r312510 | rmudgett | 2011-04-01 18:17:06 -0500 (Fri, 01 Apr 2011) | 29
lines

Merged revisions 312509 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r312509 | rmudgett | 2011-04-01 18:15:42 -0500 (Fri, 01 Apr 2011) | 22
lines
  
  When a call going out an NT-PTMP port gets rejected, Asterisk crashes.
  
  If a call is sent to an ISDN phone that rejects the call with
  RELEASE_COMPLETE(cause: call reject(21), or busy(17)) Asterisk crashes.
  
  I could not get my setup to crash.  However, I could see the possibility
  from a race condition between queuing an AST_CONTROL_BUSY to the core
and
  then queueing an AST_CONTROL_HANGUP.  If the AST_CONTROL_BUSY is
processed
  before the AST_CONTROL_HANGUP is queued, the ast_channel could be
  destroyed out from under chan_misdn.
  
  Avoid this particular crash scenario by not queueing the
  AST_CONTROL_HANGUP if the AST_CONTROL_BUSY was queued.
  
  (closes issue https://issues.asterisk.org/view.php?id=18408)
  Reported by: wimpy
  Patches:
        issue18408_v1.8.patch uploaded by rmudgett (license 664)
  Tested by: rmudgett, wimpy
  
  JIRA SWP-2679
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=312510 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-01 18:17 svnbot         Checkin                                      
2011-04-01 18:17 svnbot         Note Added: 0133298                          
======================================================================




More information about the asterisk-bugs mailing list