[asterisk-bugs] [Asterisk 0014099]: kill() does not kill all processes

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 18 12:52:13 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14099 
====================================================================== 
Reported By:                caspy
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   14099
Category:                   Resources/res_musiconhold
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     needs license
Asterisk Version:           1.6.0.3-rc1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-17 06:26 CST
Last Modified:              2008-12-18 12:52 CST
====================================================================== 
Summary:                    kill() does not kill all processes
Description: 
if MoH application forks it own childs, then res_musiconhold.c kill's only
first of them, leaving forked subprocesses alone.
====================================================================== 

---------------------------------------------------------------------- 
 (0096641) svnbot (reporter) - 2008-12-18 12:52
 http://bugs.digium.com/view.php?id=14099#c96641 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 165661

U   branches/1.4/res/res_musiconhold.c

------------------------------------------------------------------------
r165661 | russell | 2008-12-18 12:52:13 -0600 (Thu, 18 Dec 2008) | 7 lines

Set the process group ID on the MOH process so that all children will get
killed

(closes issue http://bugs.digium.com/view.php?id=14099)
Reported by: caspy
Patches:
      res_musiconhold.c.patch.killpg.try2 uploaded by caspy (license 645)

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-18 12:52 svnbot         Checkin                                      
2008-12-18 12:52 svnbot         Note Added: 0096641                          
======================================================================




More information about the asterisk-bugs mailing list