[asterisk-bugs] [JIRA] (ASTERISK-27964) app_queue: ring_entry accesses nativeformats without channel lock or reference

Gergely Dömsödi (JIRA) noreply at issues.asterisk.org
Wed Mar 6 07:35:47 CST 2019


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246459#comment-246459 ] 

Gergely Dömsödi commented on ASTERISK-27964:
--------------------------------------------

Hi,

I faced a problem very similar to this one on several production systems with Asterisk 16.2.0, and created and attached a patch for review. The attached patch was applied to all of our production 16.2.0 servers where segfaults were happening 2-3 times daily, and after patching the segfaults seem to have disappeared.

> app_queue: ring_entry accesses nativeformats without channel lock or reference
> ------------------------------------------------------------------------------
>
>                 Key: ASTERISK-27964
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27964
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 13.21.1
>         Environment: CentOS release 6.9 (Final) - kernel 2.6.32-696.13.2.el6.x86_64
> CPU Intel(R) Xeon(R) 16 core  - RAM 16GB 
>            Reporter: Francisco Seratti
>            Assignee: Unassigned
>         Attachments: core.12209.tar.gz, core.24077.tar.gz, messages.txt
>
>
> Program terminated with signal 11, Segmentation fault. It happens 0-3 times per day.
> Asterisk is being used to run a call center with 40 simultaneous agents, making almost 10 thousand outgoing calls per day. Agents login using SIP hardphones using G729 codec.
> Outbound calls are made through an IAX peer with GSM codec by a NodeJS process using AMI interface, the same process regenerates conf files and reloads when a new agent/queue is created.
> Asterisk is built and used completely by default (now only added DONT_OPTIMIZE and BETTER_BACKTRACES to generate core dump).
> I cant reproduce the fail, core dump will be attached.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list