[asterisk-bugs] [Asterisk 0016506]: Segmentation fault using manager http MXML

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Apr 3 07:32:42 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16506 
====================================================================== 
Reported By:                nik600
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16506
Category:                   Core/ManagerInterface/NewFeature
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           Older 1.4 - please test a newer version 
JIRA:                       SWP-1191 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-12-23 04:00 CST
Last Modified:              2010-04-03 07:32 CDT
====================================================================== 
Summary:                    Segmentation fault using manager http MXML
Description: 
Dear all, i'm experiencing a problem with the manager http MXML interface.

I'm using Asterisk 1.4.26.2 on a slackware 13.0

On a system that recieves about 1000-1200 calls per day this happens with
a frequency of 1 time per day.

These are the HTTP MXML requests used:

action=login
action=queuestatus
action=QueueAdd
action=QueueRemove
action=SipPeers

I'm trying to reproduce the problem, but at the moment i haven't yet
figured it out.

====================================================================== 

---------------------------------------------------------------------- 
 (0120118) ecarruda (reporter) - 2010-04-03 07:32
 https://issues.asterisk.org/view.php?id=16506#c120118 
---------------------------------------------------------------------- 
Reading backtrace3, we can see the last executed code on the manager.c:

Stoped on this if: 

if ((retval = malloc((wlen = strlen(workspace)) + (tlen = strlen(tmpbuf))
+ 128))) {
	strcpy(retval, workspace);
	strcpy(retval + wlen, tmpbuf);
	c = retval + wlen + tlen;
	/* Leftover space for footer, if any */
	len = 120;
} 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-03 07:32 ecarruda       Note Added: 0120118                          
======================================================================




More information about the asterisk-bugs mailing list