[asterisk-bugs] [Asterisk 0014688]: Crash in operation

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 23 10:46:21 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14688 
====================================================================== 
Reported By:                gaetan
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14688
Category:                   Resources/res_musiconhold
Reproducibility:            have not tried
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.23 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-17 15:42 CDT
Last Modified:              2009-03-23 10:46 CDT
====================================================================== 
Summary:                    Crash in operation
Description: 
A system running with queue crashed with the dump attached. Seems to be on
a login of an agent(1071). The f pointer is null when calling file_close.
====================================================================== 

---------------------------------------------------------------------- 
 (0102074) Matthew Roth (reporter) - 2009-03-23 10:46
 http://bugs.digium.com/view.php?id=14688#c102074 
---------------------------------------------------------------------- 
valgrind is a catch-22 for me, too.  I'm going to try to get around it by
sending a small percentage of the production calls to a server running
Asterisk under valgrind.

Is it possible that this issue is related to using reference counting to
ensure that an ast_filestream structure isn't freed until any embedded
ast_frame structures have been freed as well?  It's a shot in the dark, but
ast_trans_pvt and ast_dsp structures also have embedded frames and they use
a flag instead.

Links
* http://reviewboard.digium.com/r/46/
*
http://svn.digium.com/view/asterisk/branches/1.4/main/dsp.c?revision=114207&view=markup
*
http://svn.digium.com/view/asterisk/branches/1.4/main/file.c?revision=182807&view=markup
*
http://svn.digium.com/view/asterisk/branches/1.4/main/translate.c?revision=153337&view=markup


Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-23 10:46 Matthew Roth   Note Added: 0102074                          
======================================================================




More information about the asterisk-bugs mailing list