[Asterisk-Users] AstManProxy Segmentation Faults

Matt Roth mroth at imminc.com
Wed Dec 7 14:55:53 MST 2005


List users,

I am experiencing segmentation faults in AstManProxy. If anyone could 
help me identify their source, it would be appreciated.

The pertinent information is below. Please let me know if you need any more.

Asterisk Version
================

Asterisk ABE-A.2-beta

AstManProxy Version
===================

1.11

Operation System
================

Fedora Core 3

Kernel Revision
===============

2.6.12-1.1376_FC3smp

Hardware Platform
=================

x86_64

Kernel Message
==============

Dec  7 15:15:43 immlx14 kernel: astmanproxy[27851]: segfault at 
0000000000000018 rip 0000000000402e9b rsp 00000000409fb170 error 4

AstManProxy Messages
====================

Dec  7 15:15:01: config: parsing configuration file: 
/etc/asterisk/astmanproxy.conf
Dec  7 15:15:01: config: host, XXX.XXX.XXX.79,5038,admin,XXXXXXXX,on
Dec  7 15:15:01: config: retryinterval, 2
Dec  7 15:15:01: config: maxretries, 0
Dec  7 15:15:01: config: listenaddress, XXX.XXX.XXX.75
Dec  7 15:15:01: config: listenport, 12345
Dec  7 15:15:01: config: proc_user, nobody
Dec  7 15:15:01: config: proc_group, nobody
Dec  7 15:15:01: config: inputformat, standard
Dec  7 15:15:01: config: outputformat, standard
Dec  7 15:15:01: config: autofilter, on
Dec  7 15:15:01: config: logfile, /var/log/asterisk/astmanproxy.log
Dec  7 15:15:01: loading: module csv
Dec  7 15:15:01: loading: note, csv_read does not exist; ignoring
Dec  7 15:15:01: loading: note, csv_onconnect does not exist; ignoring
Dec  7 15:15:01: loading: module xml
Dec  7 15:15:01: loading: note, xml_onconnect does not exist; ignoring
Dec  7 15:15:01: loading: module standard
Dec  7 15:15:01: loading: module http
Dec  7 15:15:01: loading: note, http_write does not exist; ignoring
Dec  7 15:15:01: loading: note, http_onconnect does not exist; ignoring
Dec  7 15:15:01: asterisk at XXX.XXX.XXX.79: Allocated server session
Dec  7 15:15:01: Set XXX.XXX.XXX.79 input format to standard
Dec  7 15:15:01: Set XXX.XXX.XXX.79 output format to standard
Dec  7 15:15:01: launched ast XXX.XXX.XXX.79 thread!
Dec  7 15:15:01: Listening for connections
Dec  7 15:15:01: asterisk at XXX.XXX.XXX.79: attempting read...
Dec  7 15:15:01: asterisk at XXX.XXX.XXX.79: Not connected
Dec  7 15:15:01: asterisk at XXX.XXX.XXX.79: Connecting (u=admin, p=XXXXXXXX)
Dec  7 15:15:01: asterisk at XXX.XXX.XXX.79: attempting read...
Dec  7 15:15:01: asterisk at XXX.XXX.XXX.79 got: Asterisk Call Manager/1.0
Dec  7 15:15:01: asterisk at XXX.XXX.XXX.79 got: Response: Success
Dec  7 15:15:01: asterisk at XXX.XXX.XXX.79 got: Message: Authentication 
accepted
Dec  7 15:15:01: asterisk at XXX.XXX.XXX.79 got: Server: XXX.XXX.XXX.79
Dec  7 15:15:01: asterisk at XXX.XXX.XXX.79: attempting read...
Dec  7 15:15:43: Connection received from XXX.XXX.XXX.75
Dec  7 15:15:43: Set XXX.XXX.XXX.75 input format to standard
Dec  7 15:15:43: Set XXX.XXX.XXX.75 output format to standard
Dec  7 15:15:43: set destination:
Dec  7 15:15:43: writing block to XXX.XXX.XXX.79
Dec  7 15:15:43: asterisk at XXX.XXX.XXX.79 got: Response: Success
Dec  7 15:15:43: asterisk at XXX.XXX.XXX.79 got: ActionID: 658-2
Dec  7 15:15:43: asterisk at XXX.XXX.XXX.79 got: Message: Originate 
successfully queued
Dec  7 15:15:43: asterisk at XXX.XXX.XXX.79 got: Server: XXX.XXX.XXX.79
Dec  7 15:15:43: Connection closed: XXX.XXX.XXX.75
Dec  7 15:15:43: Exiting session_do thread
Segmentation fault

Notes
=====

In order to get AstManProxy to compile for the 64 bit architecture, I 
had to change the following line in the Makefile from:

CFLAGS := $(DEFINES) -Wall -O2 -rdynamic -D_REENTRANT

To:

CFLAGS := $(DEFINES) -Wall -fPIC -O2 -rdynamic -D_REENTRANT


Thank you,

Matthew Roth
InterMedia Marketing Solutions
Software Engineer and Systems Developer



More information about the asterisk-users mailing list