[asterisk-bugs] [JIRA] (ASTERISK-26868) Asterisk crash (probably on adding channel to bridge)
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Tue Mar 14 11:03:10 CDT 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-26868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=235792#comment-235792 ]
Rusty Newton commented on ASTERISK-26868:
-----------------------------------------
bq. If I turned on debug log from the start, I'm not sure how big a debug file would be. Probably too big for the system.
You should automatically rotate the log when it reaches a reasonable size and delete the old if a crash hasn't happened yet. There is no reason to allow the log to grow out of control. When the crash happens provide the current debug log.
> 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: Unassigned
> Attachments: backtrace.txt, cli_log - simulation.txt, debug_log - simulation.log, java_app_log.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