[asterisk-bugs] [Asterisk 0019310]: [patch] Crash when using PickupChan
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri May 20 10:52:22 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-20 10:52 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 ...
======================================================================
----------------------------------------------------------------------
(0135193) svnbot (reporter) - 2011-05-20 10:52
https://issues.asterisk.org/view.php?id=19310#c135193
----------------------------------------------------------------------
Repository: asterisk
Revision: 319998
_U trunk/
U trunk/apps/app_directed_pickup.c
U trunk/main/features.c
------------------------------------------------------------------------
r319998 | rmudgett | 2011-05-20 10:52:21 -0500 (Fri, 20 May 2011) | 32
lines
Merged revisions 319997 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r319997 | rmudgett | 2011-05-20 10:48:25 -0500 (Fri, 20 May 2011) | 25
lines
Crash when using directed pickup applications.
The directed pickup applications can cause a crash if the pickup was
successful because the dialplan keeps executing.
This patch does the following:
* Completes the channel masquerade on a successful pickup before the
application returns. The channel is now guaranteed a zombie and must
not
continue executing the dialplan.
* Changes the return value of the directed pickup applications to return
zero if the pickup failed and nonzero(-1) if the pickup succeeded.
* Made some code optimizations that no longer require re-checking the
pickup channel to see if it is still available to pickup.
(closes issue https://issues.asterisk.org/view.php?id=19310)
Reported by: remiq
Patches:
issue19310_v1.8_v2.patch uploaded by rmudgett (license 664)
Tested by: alecdavis, remiq, rmudgett
Review: https://reviewboard.asterisk.org/r/1221/
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=319998
Issue History
Date Modified Username Field Change
======================================================================
2011-05-20 10:52 svnbot Checkin
2011-05-20 10:52 svnbot Note Added: 0135193
======================================================================
More information about the asterisk-bugs
mailing list