[asterisk-bugs] [Asterisk 0019310]: [patch] Crash when using PickupChan

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 25 11:23:14 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19310 
====================================================================== 
Reported By:                remiq
Assigned To:                rmudgett
====================================================================== 
Project:                    Asterisk
Issue ID:                   19310
Category:                   Applications/app_directed_pickup
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                       SWP-3477 
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/1221/ 
SVN Branch (only for SVN checkouts, not tarball releases): 1.8 
SVN Revision (number only!): 315894 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2011-05-17 14:33 CDT
Last Modified:              2011-05-25 11:23 CDT
====================================================================== 
Summary:                    [patch] Crash when using PickupChan
Description: 
Asterisk is crashing sometimes when using PickupChan application.  I
attached the backtrace and console messages before the crash.   
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0018654 [patch] [regression] Call Pickup Hangs ...
====================================================================== 

---------------------------------------------------------------------- 
 (0135390) svnbot (reporter) - 2011-05-25 11:23
 https://issues.asterisk.org/view.php?id=19310#c135390 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 320796

U   branches/1.8/include/asterisk/channel.h
U   branches/1.8/main/channel.c
U   branches/1.8/main/features.c

------------------------------------------------------------------------
r320796 | rmudgett | 2011-05-25 11:23:12 -0500 (Wed, 25 May 2011) | 17
lines

Give zombies a safe channel driver to use.

Recent crashes from zombie channels suggests that they need a safe home to
goto.  When a masquerade happens, the physical part of the zombie channel
is hungup.  The hangup normally sets the channel private pointer to NULL.
If someone then blindly does a callback to the channel driver, a crash is
likely because the private pointer is NULL.

The masquerade now sets the channel technology of zombie channels to the
kill channel driver.

Related to the following issues:
(issue https://issues.asterisk.org/view.php?id=19116)
(issue https://issues.asterisk.org/view.php?id=19310)

Review: https://reviewboard.asterisk.org/r/1224/

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-25 11:23 svnbot         Checkin                                      
2011-05-25 11:23 svnbot         Note Added: 0135390                          
======================================================================




More information about the asterisk-bugs mailing list