[asterisk-bugs] [JIRA] (ASTERISK-25185) Segfault in app_queue on transfer scenarios

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Thu Jul 16 10:43:32 CDT 2015


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

Richard Mudgett edited comment on ASTERISK-25185 at 7/16/15 10:43 AM:
----------------------------------------------------------------------

I've written a small "workaround" that prevents the segfaults, so I'm attaching it to this ticket; that said I don't know if it's the "right" solution.

Also, I've realized that there's a link between this bug and ASTERISK-25187, i.e. both bug happens because the caller's snapshot is null (the other bug can also happens when the member's snapshot is null).


was (Author: hexanol):
I've written a small "workaround" that prevents the segfaults, so I'm attaching it to this ticket; that said I don't know if it's the "right" solution.

Also, I've realized that there's a link between this bug and https://issues.asterisk.org/jira/browse/ASTERISK-25187, i.e. both bug happens because the caller's snapshot is null (the other bug can also happens when the member's snapshot is null).

> Segfault in app_queue on transfer scenarios
> -------------------------------------------
>
>                 Key: ASTERISK-25185
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25185
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 13.4.0
>            Reporter: Etienne Lessard
>         Attachments: ASTERISK-25185-workaround.patch, extensions.conf, gdb-AST-25185-attended-xfer.txt, gdb-AST-25185-blind-xfer.txt, queues.conf, sip.conf
>
>
> Hello,
> A segfault happens in asterisk in the following scenario:
> Given I have 2 users, Alice and Bob, each with a SIP phone (using chan_sip)
> Given I have a queue Foo, with member Bob
> When Alice calls the queue Foo
> And Bob answers the calls
> And Alice then does a direct transfer (SIP native) to another extension
> Then asterisk segfaults
> There is another similar scenario where a segfault happens:
> Given I have 3 users, Alice, Bob and Carol, each with a SIP phone (using chan_sip)
> Given I have a queue Foo, with member Bob
> When Carol calls Alice
> And Alice begins an attended transfer to the queue Foo
> And Bob answers the calls
> And Alice finalize the attended transfer
> Then asterisk segfaults
> This happens in a systematic way. I'll attach some gdb output for each scenario.
> Thank you



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



More information about the asterisk-bugs mailing list