[asterisk-bugs] [Asterisk 0016430]: Asterisk crashes on dtmf detection on channel with 2 bluetooth cellphone

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jul 1 07:54:45 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16430 
====================================================================== 
Reported By:                azbest
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   16430
Category:                   Addons/chan_mobile
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.2 
SVN Revision (number only!): 1074 
Request Review:              
====================================================================== 
Date Submitted:             2009-12-11 08:04 CST
Last Modified:              2010-07-01 07:54 CDT
====================================================================== 
Summary:                    Asterisk crashes on dtmf detection on channel with 2
bluetooth cellphone
Description: 
When 2 cellular phones connected to a channel dtmf signals will make
asterisk to crash: double free.

sip->gsm and gsm->sip connection works fine, but gsm->gsm connection is
problematic.

Removing these lines from chan_mobile.c will prevent crashing, but dtmf
detection is tured off:
4014 	ast_dsp_set_features(pvt->dsp, DSP_FEATURE_DIGIT_DETECT);
4015 	ast_dsp_set_digitmode(pvt->dsp, DSP_DIGITMODE_DTMF |
DSP_DIGITMODE_RELAXDTMF); 

_My guess_ is that asterisk dsp detects the same dtmf signal on input and
output side too and uses the same memory area to store informations about
that. Finally it tries to free this memory area twice. 
====================================================================== 

---------------------------------------------------------------------- 
 (0124144) mnicholson (administrator) - 2010-07-01 07:54
 https://issues.asterisk.org/view.php?id=16430#c124144 
---------------------------------------------------------------------- 
I think you are correct. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-01 07:54 mnicholson     Note Added: 0124144                          
======================================================================




More information about the asterisk-bugs mailing list