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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jul 10 14:48: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-07-10 14:48 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0107592) zerohalo (reporter) - 2009-07-10 14:48
 https://issues.asterisk.org/view.php?id=15109#c107592 
---------------------------------------------------------------------- 
Here's a snip of console right up to the latest crash, if it helps... Crash
happened as moh (files based) was stopped:

    -- Started music on hold, class 'xxxx', on
SIP/XXXX-3334-4293-098231d0
  == Spawn extension (macro-checkmessage, s, 3) exited non-zero on
'SIP/XXXX-7662-09391090' in macro 'checkmessage'
  == Spawn extension (xxxx, *123, 5) exited non-zero on
'SIP/XXXX-7662-09391090'
    -- SIP/XXXX-1745-4300-097ab520 is ringing
  == Spawn extension (macro-vm, s, 5) exited non-zero on
'SIP/gateway2-093f6aa0' in macro 'vm'
  == Spawn extension (somecontext-main, s, 6) exited non-zero on
'SIP/gateway2-093f6aa0'
    -- Executing AppendCDRUserField("SIP/cam-g2-b57c4e50",
"DST=XXXXXXXXXX|")
    -- Executing Set("SIP/gateway2-b57c4e50", "CDR(accountcode)=pppp")
    -- Executing SetMusicOnHold("SIP/gateway2-b57c4e50", "default")
    -- Executing Dial("SIP/gateway2-b57c4e50",
"SIP/XXXX at XXXXXXXXXX|70|r")
    -- Called 2000 at XXXXXXXXXX
    -- SIP/XXXXXXXXXX-09d72c38 is ringing
    -- Stopped music on hold on SIP/XXXX-3334-4293-098231d0
sfo-c1*CLI> *** glibc detected *** double free or corruption (out):
0xb5740fe8 *** 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-10 14:48 zerohalo       Note Added: 0107592                          
======================================================================




More information about the asterisk-bugs mailing list