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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jun 5 12:53:56 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:                   crash
Priority:                   normal
Status:                     acknowledged
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-05 12:53 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0106059) aragon (reporter) - 2009-06-05 12:53
 https://issues.asterisk.org/view.php?id=15109#c106059 
---------------------------------------------------------------------- 
I just had this happen on a newer install.
Sorry no Valgrind but I am uploading a full bt... btfull 06052009.txt

I noticed that since the crash I am getting this warning but I checked
/var/lib/asterisk/moh/ and the file is definitely there.

After seeing the warnings I did a reload and the warnings went away and
moh is working normally.

WARNING[26161]: file.c:655 ast_openstream_full: File
/var/lib/asterisk/moh/fpm-calm-river.wav does not exist in any format
[Jun  5 11:32:47] WARNING[26161]: res_musiconhold.c:250
ast_moh_files_next: Unable to open file
'/var/lib/asterisk/moh/fpm-calm-river.wav': No such file or directory

 dir
fpm-calm-river.alaw     fpm-sunshine.alaw     fpm-world-mix.alaw
fpm-calm-river.gsm      fpm-sunshine.gsm      fpm-world-mix.gsm
fpm-calm-river.sln      fpm-sunshine.sln      fpm-world-mix.sln
fpm-calm-river.ulaw     fpm-sunshine.ulaw     fpm-world-mix.ulaw
fpm-calm-river.wav      fpm-sunshine.wav      fpm-world-mix.wav
fpm-calm-river.wav.md5  fpm-sunshine.wav.md5  fpm-world-mix.wav.md5 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-05 12:53 aragon         Note Added: 0106059                          
======================================================================




More information about the asterisk-bugs mailing list