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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jun 22 13:19:27 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-22 13:19 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0106820) aragon (reporter) - 2009-06-22 13:19
 https://issues.asterisk.org/view.php?id=15109#c106820 
---------------------------------------------------------------------- 
Russel

I started asterisk in valgrind this morning and I had a crash twice
today.
I opened another bug report since at first the segfaults looked unrelated
to 15109 but I now think there is a relation since the crash occurs during
reload and when moh is used or audio files are being converted.

Here are the last few lines of CLI

   -- Added extension 's' priority 2 to default-app-calltrace-perform
[Jun 22 12:16:48] WARNING[7463]: mp3/interface.c:215 decodeMP3: Junk at
the beginning of frame 54414757
    -- Added extension 's' priority 3 to default-app-calltrace-perform
    -- Added extension 's' priority 4 to default-app-calltrace-perform
[Jun 22 12:16:50] ERROR[7463]: utils.c:966 ast_carefulwrite: write()
returned error: Broken pipe
    -- Added extension 's' priority 5 to default-app-calltrace-perform
    -- Remote UNIX connection disconnected
    -- Added extension 's' priority 6 to default-app-calltrace-perform 

I uploaded this valgrind.txt log to my new bug report.
https://issues.asterisk.org/view.php?id=15377 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-22 13:19 aragon         Note Added: 0106820                          
======================================================================




More information about the asterisk-bugs mailing list