[Home]

Summary:ASTERISK-27934: Program terminated with signal 11, Segmentation fault.
Reporter:Chinthaka Gomes (chinthaka)Labels:
Date Opened:2018-06-22 01:56:02Date Closed:2020-01-14 11:13:47.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Applications/app_queue
Versions:13.19.0 Frequency of
Occurrence
Occasional
Related
Issues:
Environment:CentOS 6.9 - 2.6.32-696.18.7.el6.x86_64 FreePBX 12.0.76.4 / MySQL 5.1 / PHP 5.6 PowerEdge R230 E3-1220 v6 / 16GBAttachments:( 0) gdb_full.txt
Description:Asterisk service keep restarting with Segmentation fault.

GDB debugging of core dump as follows,

Core was generated by `/usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f38baed124f in find_member_by_queuename_and_interface (s=0x0, m=0x0) at app_queue.c:11073
11073           if ((q = find_load_queue_rt_friendly(queuename))) {
(gdb)

bt

(gdb) bt
#0  0x00007f38baed124f in find_member_by_queuename_and_interface (s=0x0, m=0x0) at app_queue.c:11073
#1  manager_remove_queue_member (s=0x0, m=0x0) at app_queue.c:9796
#2  0x00007f38baed1030 in handle_hangup (userdata=0x7f38ec021190, sub=<value optimized out>, msg=<value optimized out>) at app_queue.c:6232
#3  0x00007f3930013450 in ?? ()
#4  0x00007f3930001cc0 in ?? ()
#5  0x00000000005a4040 in ?? ()
#6  0x00007f38ec005e60 in ?? ()
#7  0x00000000005ba0c6 in ?? ()
#8  0x00007f38ec019670 in ?? ()
#9  0x00007f3930013450 in ?? ()
#10 0x00007f38ec005e60 in ?? ()
#11 0x00007f3930001da0 in ?? ()
#12 0x0000000000000001 in ?? ()
#13 0x0000000002361b80 in ?? ()
#14 0x00000000005ba026 in ?? ()
#15 0x00007f39380238a0 in ?? ()
#16 0x00007f38b536ac90 in ?? ()
#17 0x00007f39380238a0 in ?? ()
#18 0x0000000002362920 in ?? ()
#19 0x00007f39380238d8 in ?? ()
#20 0x00000000005c36d2 in ?? ()
#21 0x00007f39380238d8 in ?? ()
#22 0x00007f38b536aca0 in ?? ()
#23 0x00007f38b536ad10 in ?? ()
#24 0x00007f38ec004a90 in ?? ()
#25 0x000000005b28bc16 in ?? ()
#26 0x000000000000d3e3 in ?? ()
#27 0x000000005b28bc2a in ?? ()
#28 0x00000000033baeb8 in ?? ()
#29 0x0000000000000003 in ?? ()
#30 0x0000000000000000 in ?? ()


Comments:By: Asterisk Team (asteriskteam) 2018-06-22 01:56:03.294-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Chinthaka Gomes (chinthaka) 2018-06-22 01:58:57.408-0500

gdb full result


By: Chinthaka Gomes (chinthaka) 2018-06-22 02:00:47.881-0500

core dump

By: Joshua C. Colp (jcolp) 2018-06-22 04:17:29.169-0500

This backtrace does not appear to be valid. The information that is presented can't happen according to the code. Did you follow the instructions[1] for getting a useful backtrace? Does this happen often? Are you actually using realtime queues? What is a configuration that exhibits the problem? Can you also include the log files for Asterisk?

As well uploading the core dump is useless - it is only valid against the Asterisk you have built.

[1] https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace

By: Asterisk Team (asteriskteam) 2018-07-06 12:00:01.513-0500

Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines