[asterisk-bugs] [Asterisk 0012648]: [patch] Asterisk leaves zombie agi processes when running under linux 2.6

noreply at bugs.digium.com noreply at bugs.digium.com
Wed May 14 16:33:58 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12648 
====================================================================== 
Reported By:                gkloepfer
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   12648
Category:                   Resources/res_agi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.19 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 115937 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             05-14-2008 12:06 CDT
Last Modified:              05-14-2008 16:33 CDT
====================================================================== 
Summary:                    [patch] Asterisk leaves zombie agi processes when
running under linux 2.6
Description: 
[Note: re-open, duplicate of Problem ID 0005238]

I have actually found a way to duplicate this bug.  If a long-running AGI
script is executing by one user and another user hangs-up on an AGI script,
a zombie will be left running.  This can be duplicated by using the
following dialplan code:

exten =>_X.,1,Answer
exten =>_X.,n,AGI(time-request.agi)
exten =>_X.,n,Hangup

(time-request.agi is an AGI script that says the time every 10 seconds
until the user hangs-up or presses a button on the keypad ... any
long-running AGI script like this should work).
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 05-14-08 16:33  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 116468

_U  branches/1.6.0/
U   branches/1.6.0/res/res_agi.c

------------------------------------------------------------------------
r116468 | tilghman | 2008-05-14 16:33:57 -0500 (Wed, 14 May 2008) | 23
lines

Merged revisions 116467 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r116467 | tilghman | 2008-05-14 16:39:06 -0500 (Wed, 14 May 2008) | 15
lines

Merged revisions 116466 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r116466 | tilghman | 2008-05-14 16:38:09 -0500 (Wed, 14 May 2008) | 7
lines

Avoid zombies when the channel exits before the AGI.
(closes issue http://bugs.digium.com/view.php?id=12648)
 Reported by: gkloepfer
 Patches: 
       20080514__bug12648.diff.txt uploaded by Corydon76 (license 14)
 Tested by: gkloepfer

........

................

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-14-08 16:33  svnbot         Note Added: 0086882                          
======================================================================




More information about the asterisk-bugs mailing list