Summary:ASTERISK-13486: Segmentation Fault on "core stop gracefully" or "core restart gracefully"
Reporter:Ryan Bullock (rrb3942)Labels:
Date Opened:2009-01-30 08:02:18.000-0600Date Closed:2009-01-30 18:50:37.000-0600
Versions:Frequency of
Environment:Attachments:( 0) gdb.txt
Description:When issuing either the "core stop gracefully" or "core restart gracefully" a segmentation fault is encountered.


I have only encountered this problem when running asterisk inside of a Virtuozzo container. The host operating system is Centos 5.2 x86_64 running the Virtuozzo kernel version 2.6.18-028stab059.6. The container is based off their Centos x86_64 EZ template.

Console output when issuing the command:

Connected to Asterisk currently running on EZTEMPTES2 (pid = 10031)
test*CLI> core stop gracefully
Disconnected from Asterisk server
/usr/sbin/safe_asterisk: line 138: 10031 Segmentation fault      nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS}
Asterisk ended with exit status 139
Asterisk exited on signal 11.

The following entry is made in /var/log/asterisk/full when the problem occurs:

[Jan 30 08:49:35] ERROR[11604] pbx.c: Did not remove this priority label (56/vmxopts) from the peer_label_table of context macro-vm, extension vmx!
Comments:By: Tilghman Lesher (tilghman) 2009-01-30 18:50:37.000-0600

Please see the note printed into your log at startup, which says:

---  ******* IMPORTANT NOTE ***********
---  This module is currently unsupported.  Use it at your own risk.