[asterisk-bugs] [JIRA] (ASTERISK-23319) Segmentation fault in queue_exec at app_queue.c

Stefan Engström (JIRA) noreply at issues.asterisk.org
Sat Mar 14 06:08:35 CDT 2015


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

Stefan Engström commented on ASTERISK-23319:
--------------------------------------------

Unfortunately this crash has NOT happend again in the last week despite robots calling the queue with queue-timers.

Moreover, unfortunately the one crash was done on an asterisk-13.1.0 with a few custom small patches applied to it. I did find the crash-log and I cannot see how this crash could not have happend with untouched asterisk-13.1.0-code as the patches does not really alter logical flow. I attach those patches too but note they are not code contributions, they are just old patches applied to a special installation. 

What is the real possible harm in putting a qe.pr=NULL; in the leave_queue code? (cf mjordans post) 

> Segmentation fault in queue_exec at app_queue.c
> -----------------------------------------------
>
>                 Key: ASTERISK-23319
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23319
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 1.8.25.0
>         Environment: CentoOS 6.2
>            Reporter: Vadim
>         Attachments: coredumpcrashqueuetimeronpatchedasterisk13.txt, irrelevantqueuepatch1.txt, queuepatch2.txt, trace.txt
>
>
> gdb /usr/sbin/asterisk /tmp/coreXX.XXX
> ....
> [Edit by Rusty Newton - removed inline debug as per the guidelines...]



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



More information about the asterisk-bugs mailing list