[Home]

Summary:ASTERISK-13658: When using SMDI Asterisk crashes after message is left
Reporter:Chris Moss (cmoss28)Labels:
Date Opened:2009-02-26 12:00:31.000-0600Date Closed:2009-05-30 20:21:35
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Resources/res_smdi
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) valgrind.txt
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.
Comments:By: Chris Moss (cmoss28) 2009-03-04 09:27:13.000-0600

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);

By: Digium Subversion (svnbot) 2009-05-29 22:42:47

Repository: asterisk
Revision: 198311

U   branches/1.4/res/res_smdi.c

------------------------------------------------------------------------
r198311 | russell | 2009-05-29 22:42:46 -0500 (Fri, 29 May 2009) | 5 lines

Fix a crash that occurred when MWI SMDI messages expired.

(closes issue ASTERISK-13658)
Reported by: cmoss28

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

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

By: Digium Subversion (svnbot) 2009-05-29 22:43:24

Repository: asterisk
Revision: 198312

_U  trunk/
U   trunk/res/res_smdi.c

------------------------------------------------------------------------
r198312 | russell | 2009-05-29 22:43:24 -0500 (Fri, 29 May 2009) | 12 lines

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

........
 r198311 | russell | 2009-05-29 22:42:46 -0500 (Fri, 29 May 2009) | 5 lines
 
 Fix a crash that occurred when MWI SMDI messages expired.
 
 (closes issue ASTERISK-13658)
 Reported by: cmoss28
........

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

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

By: Digium Subversion (svnbot) 2009-05-29 22:48:38

Repository: asterisk
Revision: 198313

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

------------------------------------------------------------------------
r198313 | russell | 2009-05-29 22:48:38 -0500 (Fri, 29 May 2009) | 19 lines

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

................
 r198312 | russell | 2009-05-29 22:43:23 -0500 (Fri, 29 May 2009) | 12 lines
 
 Merged revisions 198311 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r198311 | russell | 2009-05-29 22:42:46 -0500 (Fri, 29 May 2009) | 5 lines
   
   Fix a crash that occurred when MWI SMDI messages expired.
   
   (closes issue ASTERISK-13658)
   Reported by: cmoss28
 ........
................

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

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

By: Digium Subversion (svnbot) 2009-05-29 22:49:58

Repository: asterisk
Revision: 198314

_U  branches/1.6.1/
U   branches/1.6.1/res/res_smdi.c

------------------------------------------------------------------------
r198314 | russell | 2009-05-29 22:49:57 -0500 (Fri, 29 May 2009) | 19 lines

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

................
 r198312 | russell | 2009-05-29 22:43:23 -0500 (Fri, 29 May 2009) | 12 lines
 
 Merged revisions 198311 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r198311 | russell | 2009-05-29 22:42:46 -0500 (Fri, 29 May 2009) | 5 lines
   
   Fix a crash that occurred when MWI SMDI messages expired.
   
   (closes issue ASTERISK-13658)
   Reported by: cmoss28
 ........
................

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

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

By: Digium Subversion (svnbot) 2009-05-30 20:21:34

Repository: asterisk
Revision: 198436

_U  branches/1.6.2/
U   branches/1.6.2/res/res_smdi.c

------------------------------------------------------------------------
r198436 | russell | 2009-05-30 20:21:34 -0500 (Sat, 30 May 2009) | 19 lines

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

................
 r198312 | russell | 2009-05-29 22:43:23 -0500 (Fri, 29 May 2009) | 12 lines
 
 Merged revisions 198311 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r198311 | russell | 2009-05-29 22:42:46 -0500 (Fri, 29 May 2009) | 5 lines
   
   Fix a crash that occurred when MWI SMDI messages expired.
   
   (closes issue ASTERISK-13658)
   Reported by: cmoss28
 ........
................

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

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