[asterisk-bugs] [Asterisk 0015109]: Abort by memory allocator, possibly in moh_files_generator

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jun 24 14:26:19 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15109 
====================================================================== 
Reported By:                jvandal
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15109
Category:                   Resources/res_musiconhold
Reproducibility:            random
Severity:                   block
Priority:                   normal
Status:                     acknowledged
Target Version:             1.4.27
Asterisk Version:           1.4.24 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-05-14 10:49 CDT
Last Modified:              2009-06-24 14:26 CDT
====================================================================== 
Summary:                    Abort by memory allocator, possibly in
moh_files_generator
Description: 
I have a server running with Asterisk 1.4.24.1 where it randomly segfault
for "unknown" reason.

I'm not sure if this is related to moh_files_generator function or with
filestream_descructor.

Let me know what needed in order to fix this crash, if GDB traces aren't
enough. 

Asterisk is compiled with DONT_OPTIMIZE and others flag needed for "gdb".

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0014958 Segfault Asterisk 1.4.24.1
related to          0015123 out of bounds crash and core dump
has duplicate       0015195 double free or corruption (!prev) in mo...
====================================================================== 

---------------------------------------------------------------------- 
 (0106931) aragon (reporter) - 2009-06-24 14:26
 https://issues.asterisk.org/view.php?id=15109#c106931 
---------------------------------------------------------------------- 
More CLI errors while in files mode and playing back a mix of mp3 and
default wav files
The carefulwrite errors only appear during a reload as best I can tell.
Also the mp3 file playback sound like garbage and I always see the
"decodeMP3: Junk at the beginning of frame" whenever files mode is used to
play back any mp3 files.
wav files sound fine.

Jun 24 15:15:34] ERROR[1064]: utils.c:966 ast_carefulwrite:write()
returned error: Broken pipe
[Jun 24 15:15:34] WARNING[986]: mp3/interface.c:215 decodeMP3: Junk at the
beginning of frame 54414753
[Jun 24 15:15:39] ERROR[986]: utils.c:966 ast_carefulwrite: write()
returned error: Broken pipe

Still trying to duplicate crash under valgrind while in moh files mode and
issuing reload commands.  I have pretty much given up any hope for a crash
under valgrind so I hope all the previous uploaded debugs will help debug
this once and for all.
Since I cannot reproduce any crash using non files mode moh I am very
tempted to do away with files mode once and for all to avoid any related
crashes...

I'll wait for a few more hours with valgrind and upload final valgrind.txt
file before restoring lab to normal operation.  I will then wait for a
patch if one comes along to test. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-24 14:26 aragon         Note Added: 0106931                          
======================================================================




More information about the asterisk-bugs mailing list