[asterisk-bugs] [Asterisk 0018085]: Segmentation fault caused by "core restart when convenient" while SRTP call is active

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Oct 18 10:15:51 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18085 
====================================================================== 
Reported By:                st
Assigned To:                twilson
====================================================================== 
Project:                    Asterisk
Issue ID:                   18085
Category:                   Resources/res_srtp
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     acknowledged
Target Version:             1.8.0
Asterisk Version:           1.8.0-rc2 
JIRA:                       SWP-2334 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-10-03 09:50 CDT
Last Modified:              2010-10-18 10:15 CDT
====================================================================== 
Summary:                    Segmentation fault caused by "core restart when
convenient" while SRTP call is active
Description: 
Phone call (SIP TCP / SRTP) from some phone (here Snom 360, 7.3.7) to
Asterisk 1.8.0-rc2. Asterisk answers and plays some sound file.

CLI command "core restart when convenient" will cause segmentation fault
if issued during call and SRTP is used.
====================================================================== 

---------------------------------------------------------------------- 
 (0128158) svnbot (reporter) - 2010-10-18 10:15
 https://issues.asterisk.org/view.php?id=18085#c128158 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 292016

U   branches/1.8/res/res_srtp.c

------------------------------------------------------------------------
r292016 | twilson | 2010-10-15 16:40:56 -0500 (Fri, 15 Oct 2010) | 8 lines

Ref/unref res_srtp when we create/destroy a session

This avoids unhappy crashing when we try to 'core stop gracefully' and
res_srtp
tries to unload before chan_sip does. Thanks, Russell!

(closes issue https://issues.asterisk.org/view.php?id=18085)
Reported by: st

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-18 10:15 svnbot         Note Added: 0128158                          
======================================================================




More information about the asterisk-bugs mailing list