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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 19 04:20:42 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:                     assigned
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:              
====================================================================== 
Date Submitted:             2011-05-17 14:33 CDT
Last Modified:              2011-05-19 04:20 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 ...
====================================================================== 

---------------------------------------------------------------------- 
 (0135142) alecdavis (manager) - 2011-05-19 04:20
 https://issues.asterisk.org/view.php?id=19310#c135142 
---------------------------------------------------------------------- 
remiq: what is the sequence you use to crash?
Is it 2 users pickup the same ringing extension?

Using the method of 2 users pickup same call, with Asterisk
SVN-branch-1.8-r319654M without reviewboard 1221 download I was able to get
a Playback on a ZOMBIE channel!!!!!

After applying review board patch, always seemed good.

Console output before patching.<pre>    -- Executing [74 at phones:1]
NoOp("SIP/gxp-824-00000012", "PICKUP Channel") in new stack
    -- Executing [74 at phones:2] Macro("SIP/gxp-824-00000012",
"directed-sip-call-pickup") in new stack
    -- Executing [s at macro-directed-sip-call-pickup:1]
NoOp("SIP/gxp-824-00000012", "PICKUP Channel") in new stack
    -- Executing [s at macro-directed-sip-call-pickup:2]
PickupChan("SIP/gxp-824-00000012", "SIP/gxp-823") in new stack
  == Using SIP RTP CoS mark 5
  == Extension Changed 822[phones] new state InUse for Notify User
gxp-824
  == Extension Changed 822[phones] new state InUse for Notify User
gxp-823
  == Extension Changed 822[phones] new state InUse for Notify User
gxp-822
    -- Executing [74 at phones:1] NoOp("SIP/gxp-822-00000013", "PICKUP
Channel") in new stack
    -- Executing [74 at phones:2] Macro("SIP/gxp-822-00000013",
"directed-sip-call-pickup") in new stack
    -- Executing [s at macro-directed-sip-call-pickup:1]
NoOp("SIP/gxp-822-00000013", "PICKUP Channel") in new stack
    -- Executing [s at macro-directed-sip-call-pickup:2]
PickupChan("SIP/gxp-822-00000013", "SIP/gxp-823") in new stack
[2011-05-19 20:56:22.615438] NOTICE[14569]: app_directed_pickup.c:389
pickupchan_exec: No target channel found for SIP/gxp-823.
    -- Executing [s at macro-directed-sip-call-pickup:3]
<b><u>Playback("SIP/gxp-822-00000013"</u></b>, "you-sound-cute") in new
stack
  == Extension Changed 823[phones] new state Idle for Notify User gxp-824
  == Extension Changed 823[phones] new state Idle for Notify User gxp-823
  == Extension Changed 823[phones] new state Idle for Notify User gxp-822
    -- Executing [s at macro-directed-sip-call-pickup:3]
<b><u>Playback("SIP/gxp-823-00000011<ZOMBIE>"</u></b>, "you-sound-cute") in
new stack
  == Spawn extension (macro-directed-sip-call-pickup, s, 3) exited
non-zero on 'SIP/gxp-823-00000011<ZOMBIE>' in macro
'directed-sip-call-pickup'
  == Spawn extension (phones, 74, 2) exited non-zero on
'SIP/gxp-823-00000011<ZOMBIE>'
    -- SIP/gxp-824-00000012 answered SIP/snom8929-00000010
    -- <SIP/gxp-822-00000013> Playing 'you-sound-cute.gsm' (language
'en')
    -- Auto fallthrough, channel 'SIP/gxp-822-00000013' status is
'UNKNOWN'</pre> 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-19 04:20 alecdavis      Note Added: 0135142                          
======================================================================




More information about the asterisk-bugs mailing list