[asterisk-bugs] [JIRA] (ASTERISK-26868) Asterisk crash (probably on adding channel to bridge)

Joshua Colp (JIRA) noreply at issues.asterisk.org
Tue Mar 14 05:50:10 CDT 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp updated ASTERISK-26868:
-----------------------------------

    Assignee: Marin Odrljin
      Status: Waiting for Feedback  (was: Triage)

It crashed because copying of a frame went into invalid memory, but there's no information about how it got there, where it came from, etc. This is very much like looking for a needle in a haystack.

To help narrow things down we'll need more information. A console log showing the interaction before the crash would be useful. Information about the configuration would also be useful - for example, what channel driver are you using? Are you using WebRTC?

> Asterisk crash (probably on adding channel to bridge)
> -----------------------------------------------------
>
>                 Key: ASTERISK-26868
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26868
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Bridges/bridge_simple, Resources/res_ari_bridges
>    Affects Versions: 13.11.2, 14.2.1
>         Environment: Debian 8
>            Reporter: Marin Odrljin
>            Assignee: Marin Odrljin
>         Attachments: backtrace.txt
>
>
> Asterisk occasionally crashes while adding channel to bridge with ARI. I'm not sure if this is because of ARI or not, and also not 100% sure if the real problem is adding channel to bridge, but I think so. This happens in one of thousands of calls so it is not so obvious and easy to reproduce. But I got segfault several times in last few months on both asterisk 13.11.2 and 14.2.1.
> I have analyzed my app's log and it looks like every time it happened after the same two actions: 1. enter bridge, 2. answer call. Currently I'm mostly working on my routing app which receives IN call, finds route for OUT call, dials it and joins them together in bridge. So basically the flow of the call is always the same:
> -	IN call comes to asterisk Stasis app
> -	App sends Ring to IN call (channel)
> -	Create bridge
> -	Add IN call (channel) to bridge
> -	Dial on OUT call
> -	Add OUT call (channel) to bridge (after it is answered)
> -	Answer IN call
> Crash always happens on last two steps: add OUT call to bridge and answer IN call.
> Finally, after 1-2 months I managed to catch core dump so I'm attaching backtrace file.



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



More information about the asterisk-bugs mailing list