[Home]

Summary:ASTERISK-25975: Asterisk 11.22.0 crashes due to error in app_queue.so
Reporter:vladimir shmagin (shmagin)Labels:
Date Opened:2016-04-29 09:35:03Date Closed:2016-04-29 09:38:13
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:11.22.0 Frequency of
Occurrence
Constant
Related
Issues:
duplicatesASTERISK-25888 Frequent segfaults in function can_ring_entry() of app_queue.c
Environment:Centos 6.7, Dell R620, 1cpu (12 cores), 32Gb RAM, Digium, TE410P/TE412P Attachments:( 0) backtrace.txt
Description:Migration from 1.8.32.2 to 11.22.0 results in crushes of Asterisk with the following information in /var/log/messages:
{noformat}
Apr 28 10:36:01 MC-PBX-01 kernel: asterisk[20037]: segfault at 154 ip 00007fe282bb5fb7 sp 00007fe227a26a20 error 4 in app_queue.so[7fe282ba2000+2c000]
Apr 28 10:36:25 MC-PBX-01 kernel: asterisk[20231]: segfault at 154 ip 00007f466f1befb7 sp 00007f46461eea30 error 4 in app_queue.so[7f466f1ab000+2c000]
Apr 28 10:37:08 MC-PBX-01 kernel: asterisk[20371]: segfault at 154 ip 00007f37ca5a5fb7 sp 00007f37b5356a30 error 4 in app_queue.so[7f37ca592000+2c000]
etc {noformat}
We got back to 1.8.32.3 and all worked properly with the same dialplan. We were able to reproduce  this error on stand alone server with Asterisk 11.22.0 compiled with appropriate flags for obtaining backtrace. As we noted error occur in the queue when user with Cisco SPA303 (version 7.5.4) accepts the call, puts it on hold by hold button (hand is depicted on the button), accepts the next call and returns from hold.
Comments:By: Asterisk Team (asteriskteam) 2016-04-29 09:35:03.594-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: vladimir shmagin (shmagin) 2016-04-29 09:36:23.488-0500

Backtrace of the crush.

By: wushumasters (wushumasters) 2016-04-29 09:38:57.681-0500

Same for me

Debian 8 64 bits, only with asterisk 11.22.0

kernel: [25955.267299] asterisk[8257]: segfault at 154 ip 00007f3d17e3b79f sp 00007f3d0caffd20 error 4 in app_queue.so[7f3d17e23000+31000]

I will try to reproduce too