[asterisk-bugs] [JIRA] (ASTERISK-21793) Segmentation fault when dealing with Agent channels

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Wed May 22 11:42:02 CDT 2013


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

Richard Mudgett edited comment on ASTERISK-21793 at 5/22/13 11:41 AM:
----------------------------------------------------------------------

[^jira_asterisk_21793_v1.8.patch] - Checks bridged pointer for NULL to avoid a crash.

This patch will just prevent the crash.

It looks like chan_agent is returning a NULL pointer when it probably should be returning a pointer to the channel the Agent channel is pretending to be.

Please test and report back.
                
      was (Author: rmudgett):
    [^jira_asterisk_21793_v1.8.patch] - Checks bridged pointer for NULL to avoid a crash.

This patch will just prevent the crash.

It looks like chan_agent is returning a NULL pointer when it probably should be returning a pointer to the channel the Agent channel is pretending to be.
                  
> Segmentation fault when dealing with Agent channels
> ---------------------------------------------------
>
>                 Key: ASTERISK-21793
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21793
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_agent
>    Affects Versions: 1.8.21.0
>         Environment: CentOS 5.8 (final)
> Kernel 2.6.18-238.12.1.el5
> Running with a Khomp E1 board with latest channel driver version
>            Reporter: Rodrigo P. Telles
>            Assignee: Rodrigo P. Telles
>            Severity: Critical
>         Attachments: backtrace.txt, backtrace.txt, jira_asterisk_21793_v1.8.patch
>
>
> Asterisk died with a Segmentation fault.
> Analysing the core dump I presume this issue is related with Agent channel, because it happens (randomly) when an Agent is trying to transfer a call or is receiving a call from a SIP channel.
> It happens mainly when the Agent is trying to transfer the call to an extension (9990) wish is a survey system (AGI written in PHP)to qualify the Agent. It also happens when a SIP extensin tries to call an Agent.
> Its happens 2 to 5 times a day (today already happend twice).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list