[asterisk-bugs] [JIRA] (ASTERISK-25888) Frequent segfaults in function can_ring_entry() of app_queue.c

Misha Vodsedalek (JIRA) noreply at issues.asterisk.org
Tue Apr 12 09:14:56 CDT 2016


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

Misha Vodsedalek commented on ASTERISK-25888:
---------------------------------------------

I can also confirm that the suggested fix is good.  I examined the core dump and found out that the call->lastqueue is NULL and therefore the dereference of call->lastqueue->wrapuptime results in a segmentation fault.

> Frequent segfaults in function can_ring_entry() of app_queue.c
> --------------------------------------------------------------
>
>                 Key: ASTERISK-25888
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25888
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 11.22.0
>         Environment: Linux 3.2.0-86-generic #124-Ubuntu SMP Wed Jun 17 21:40:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Sébastien Couture
>            Assignee: Sébastien Couture
>            Severity: Critical
>         Attachments: backtrace1.txt, backtrace2.txt, backtrace3.txt
>
>
> After upgrading from 11.19.0 to 11.22.0, we've all of a sudden started experiencing frequent segmentation faults related to the can_ring_entry() function in the app_queue module. 
> I've attached the backtraces of 3 crashes that happened in the space of two hours on a system with a load of about 1000 peers and 80 simultaneous calls.
> We use both realtime queues and queue_members. We've reverted to 11.19.0 on this system for the time being.



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



More information about the asterisk-bugs mailing list