[asterisk-bugs] [JIRA] (ASTERISK-24740) Segmentation fault on aoc-e event

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Jan 30 16:29:34 CST 2015


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

Matt Jordan commented on ASTERISK-24740:
----------------------------------------

I don't think that's the right fix for the issue. Altering the code in {{stasis_channel}} affects all producers of information. If a producer is calling {{ast_channel_publish_cached_blob}}, then they should get a cached channel snapshot. If one is not available - that is, if the channel was already NULL - then they should have called {{ast_channel_publish_blob}}, which is NULL tolerant.

This is a problem in the code that is publishing the message, and not in {{stasis_channel}}.

> Segmentation fault on aoc-e event
> ---------------------------------
>
>                 Key: ASTERISK-24740
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24740
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/General
>    Affects Versions: 13.1.0, 13.1.1
>         Environment: Centos 7 kernel 3.10.0-123.13.2.el7.x86_64, Asterisk 13.1.0, DAHDI 2.10.0.1, libpri 1.4.15, B410 quad-BRI, Telco provides BRI.
>            Reporter: Panos Gkikakis
>         Attachments: fix.diff
>
>
> When the remote end of a call is a DAHDI channel and hangups first, if an AOC-E message is received, a segmentation fault occurs. I have traced the problem to the manager event being generated (from cache) for a channel that does not exist. A patch will be provided to resolve the immediate issue (seg fault). 



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



More information about the asterisk-bugs mailing list