[asterisk-bugs] [Asterisk 0012058]: AJAM error when sending commands

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Mar 3 16:47:14 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12058 
====================================================================== 
Reported By:                liorm
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12058
Category:                   PBX/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0-beta1 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             02-24-2008 16:55 CST
Last Modified:              03-03-2008 16:47 CST
====================================================================== 
Summary:                    AJAM error when sending commands
Description: 
when sending AJAM commands to asterisk manager interface I am getting the
following error on CLI:

fd == -1 in astman_append, should not happen
fd == -1 in astman_append, should not happen


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

---------------------------------------------------------------------- 
 liorm - 03-03-08 16:47  
---------------------------------------------------------------------- 
version: SVN-trunk-r105574M

AJAM command:
http://localhost:93/asterisk/rawman?action=queuepause&interface=sip/343&paused=1&_=

Trace:
 command 'status'
[Mar  4 00:47:51] DEBUG[30022]: manager.c:2661 process_message: Manager
received command 'queuestatus'
[Mar  4 00:48:00] DEBUG[30022]: manager.c:2661 process_message: Manager
received command 'queuepause'
[Mar  4 00:48:00] DEBUG[30022]: manager.c:1515 action_waitevent: Finished
waiting for an event!
localhost*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
Asterisk cleanly ending (0).
Asterisk ending (0).
[root at localhost asterisk]# /usr/sbin/safe_asterisk: line 117: 29973
Segmentation fault      (core dumped) nice -n $PRIORITY
${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} >&/dev/${TTY} </dev/${TTY}
Asterisk ended with exit status 139
Asterisk exited on signal 11.
Automatically restarting Asterisk.

The segmentation fault is occuring sending the AJAM command.

The error is reproduceable 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-03-08 16:47  liorm          Note Added: 0083306                          
======================================================================




More information about the asterisk-bugs mailing list