[asterisk-bugs] [Asterisk 0014561]: When using SMDI Asterisk crashes after message is left

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 4 09:27:13 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14561 
====================================================================== 
Reported By:                cmoss28
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14561
Category:                   Resources/res_smdi
Reproducibility:            sometimes
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!): 178511 
Request Review:              
====================================================================== 
Date Submitted:             2009-02-26 12:00 CST
Last Modified:              2009-03-04 09:27 CST
====================================================================== 
Summary:                    When using SMDI Asterisk crashes after message is
left
Description: 
When a call comes in Asterisk will take a message and then crashes when the
call is hung up by the user. It seems to work otherwise. Error messages
seem to be coming from the SMDI. 
====================================================================== 

---------------------------------------------------------------------- 
 (0101190) cmoss28 (reporter) - 2009-03-04 09:27
 http://bugs.digium.com/view.php?id=14561#c101190 
---------------------------------------------------------------------- 
Getting error about unreferenced object on line 309 in res_smdi.c. Edited
that line to remove part of the switch statement like below. I'm not a c
programmer but is it trying to destroy the md_msg? I thought these were
purged or destroyed immediately. Seems to be working ok with out that part
of the switch statement. 

 //case SMDI_MD:
        //      ASTOBJ_UNREF(md_msg, ast_smdi_md_message_destroy); 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-04 09:27 cmoss28        Note Added: 0101190                          
======================================================================




More information about the asterisk-bugs mailing list