[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
Fri Dec 21 03:36:47 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-21-2007 03:36 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-21-07 03:36  
---------------------------------------------------------------------- 
I'm very sorry, but I can't reproduce the crashes when running under
valgrind.

I'm experiencing crashes when asterisk is started as:
/bin/su asterisk -c "/usr/sbin/asterisk -vvvfg"
/bin/su - asterisk ; /usr/sbin/asterisk -vvvfg
/usr/sbin/asterisk -vvvfg
or when started from safe_asterisk as root or as user asterisk.

I'm seeing no crashes when started as:
valgrind /usr/sbin/asterisk -vvvfg
/bin/su - asterisk ; valgrind /usr/sbin/asterisk -vvvfg
/bin/su asterisk -c "valgrind --log-file=/var/lib/asterisk/valgrind.log
/usr/sbin/asterisk -vvvfg 2>/var/lib/asterisk/malloc_debug.log"

I'm not an experienced valgrind user. Is there another way I could run
valgrind that might nog prevent the crashes from happening? Is it useful to
have a memory leak summary or valgrind log file output after running
valgrind for some time but without the crash?

Sorry for the trouble and thanks for all the help so far. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-21-07 03:36  rolek          Note Added: 0075786                          
======================================================================




More information about the asterisk-bugs mailing list