[asterisk-bugs] [JIRA] (ASTERISK-28472) Asterisk Crash

Jonas Swiatek (JIRA) noreply at issues.asterisk.org
Wed Jul 10 17:15:47 CDT 2019


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

Jonas Swiatek commented on ASTERISK-28472:
------------------------------------------

> 1. Can you think of anything that changed just before noticing the crash? For instance, had you upgraded Asterisk, or libsrtp?

The before was Asterisk 13.25 with chan_sip, so the changes are quite substantial and probably not related ;)

> Please post the relevant dialplan, and endpoint(s) configuration for the call.

Done, see attachments

> what kind of endpoints/phones are used in the crash scenario?

Could be anything really - our customers can connect whatever SIP compatible device they want. I can try to figure out which exact models were in use at the time of the crash if you think it'll be helpful.

> Please attach the Asterisk log leading up to the crash

Relevant output of /var/log/asterisk/messages

[Jul 10 12:28:17] WARNING[12242][C-000014df] app.c: No audio available on Recorder/ARI-000019a9;1??
[Jul 10 16:32:13] NOTICE[32371][C-00001746] res_stasis_playback.c: ast011-1562776306.31006: Playback stopped for sound:/var/audio/custom-speeks/queue/queue-yourcallisfirst
[Jul 10 16:57:09] WARNING[6014][C-000017a9] app.c: No audio available on Recorder/ARI-00001cf4;1??
[Jul 10 17:36:27] Asterisk 16.4.0 built by root @ ip-172-31-30-45.ec2.internal on a x86_64 running Linux on 2019-06-17 08:20:52 UTC
[Jul 10 17:36:27] NOTICE[15360] loader.c: 251 modules will be loaded.
[Jul 10 17:36:28] NOTICE[15360] cdr.c: CDR simple logging enabled.
[Jul 10 17:36:28] NOTICE[15360] confbridge/conf_config_parser.c: Adding default_menu menu to app_confbridge
[Jul 10 17:36:28] NOTICE[15360] res_parking.c: Adding default profile to res_parking

The crash today happened at 17:36:27 - there appears to have been no lines printed prior to the crash.

Enabling level 5 debug might be a tall order - this is a pretty busy production server during peak hours.

> Lastly, if you can, install srtp with debug symbols.

Yes... though I'm unsure how to go about doing that. Can you provide instructions on how I'd go about doing so? I've compiled libsrtp from source manually.

> Asterisk Crash
> --------------
>
>                 Key: ASTERISK-28472
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28472
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>    Affects Versions: 16.4.0
>         Environment: Amazon Linux 2
>            Reporter: Jonas Swiatek
>            Assignee: Unassigned
>            Severity: Critical
>              Labels: pjsip
>         Attachments: core-2019-07-10T17-36-23+0000-brief.txt, core-2019-07-10T17-36-23+0000-full.txt, core-2019-07-10T17-36-23+0000-locks.txt, core-2019-07-10T17-36-23+0000-thread1.txt, core-brief.txt, core-full.txt, core-locks.txt, core-thread1.txt, extensions.conf, pjsip.conf
>
>
> We're seeing this crash every now and then - last time was around 3 weeks ago, on Asterisk 16.3, though we've upgraded to 16.4 since then, and enabled BETTER_BACKTRACES and DONT_OPTIMIZED to try and get to the bottom of it.
> I'm at a loss for what might be causing it. When this server crashed it was serving 6 channels, and the only exotic thing being used by any of them were ARI, but I don't believe any of the active channels were actually in the Stasis application.
> I'm not really qualified to read the crash dump, but there is some mention of libsrtp in one of the files, so I've included which version of that we're using (1.5.4, as recommended on the wiki).
> Any insight would be greatly appreciated, and I can provide whatever else information might be valuable.



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



More information about the asterisk-bugs mailing list