[asterisk-bugs] [Asterisk 0011601]: crashes with "*** glibc detected *** corrupted double-linked list" with connections to asterisk manager

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Dec 19 10:50:54 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11601 
====================================================================== 
Reported By:                rolek
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11601
Category:                   Core-General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.15  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-19-2007 10:34 CST
Last Modified:              12-19-2007 10:50 CST
====================================================================== 
Summary:                    crashes with "*** glibc detected *** corrupted
double-linked list" with connections to asterisk manager
Description: 
I'm running asterisk 1.4.x with a IAX uplink and some SIP phones.
Essentially, this works fine. However, when making connections to the
asterisk manager interface [from a php application, in a certain timed
fashion], asterisk crashes while showing a notice like:
*** glibc detected *** corrupted double-linked list: 0x081cb7e0 ***
This happens reproducibly on three different boxes, all with different
hardware.
====================================================================== 

---------------------------------------------------------------------- 
 rolek - 12-19-07 10:50  
---------------------------------------------------------------------- 
I haven't seen any crashes before we started using the manager interface,
in over four weeks of development on three machines. The thing that is
really bothering me is that actually stressing the server prevents creahes
as well. In other words, when I run this script in a 'while [ 1 ]' loop
from bash, then there are no crashes:

#!/bin/bash

function text2() {
cat <<- EOF
Action: Login
UserName: webtool
Secret: demo

EOF
}
function text3() {
cat <<- EOF
Action: Command
Command: show channels

EOF
}
function text4() {
cat <<- EOF
Action: Logoff

EOF
}
(text2 ; text3 ; text4 ; sleep 0.1) | telnet 127.0.0.1 5038 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-19-07 10:50  rolek          Note Added: 0075710                          
======================================================================




More information about the asterisk-bugs mailing list