[asterisk-bugs] [JIRA] (ASTERISK-24144) Asterisk 12.4.0 Crashes with DTLS

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu Jul 31 06:27:56 CDT 2014


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

Matt Jordan commented on ASTERISK-24144:
----------------------------------------

There is not enough information in the backtrace. All the backtrace shows is that a scheduled call to {{dtls_srtp_handle_timeout}} occurred and this led to an abort in OpenSSL.

{noformat}
#0  0x00007f8cee12bf79 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
        resultvar = 0
        pid = 8528
        selftid = 8586
#1  0x00007f8cee12f388 in __GI_abort () at abort.c:89
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x7f8a5c0b0b40, sa_sigaction = 0x7f8a5c0b0b40}, sa_mask = {__val = {140232226442048, 22, 140243272258903, 5, 0, 5, 140243266157864, 1459, 22, 
              140232242480688, 140243272287509, 60, 18446744073709551615, 140243270068688, 60, 140240476029840}}, sa_flags = 1203894016, sa_restorer = 0x202c726f72726520}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007f8ced4fd34f in OpenSSLDie () from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
{noformat}

You'll need to install a version of OpenSSL that has debug symbols in it. Even then, this may not be a bug in Asterisk but in OpenSSL.

> Asterisk 12.4.0 Crashes with DTLS
> ---------------------------------
>
>                 Key: ASTERISK-24144
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24144
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_rtp_asterisk
>    Affects Versions: 12.4.0
>         Environment: Ubuntu 14.04 x64 bit on EC2 with 8GB RAM
>            Reporter: Chetan Goti
>         Attachments: backtrace-1.txt
>
>
> Recently, we updated our system from 11.6.0 to 12.4.0 with DTLS support.
> Asterisk is used only to make outgoing calls. (Chrome -> Asterisk -> VoIP Gateway)
> We are seeing random crash with exception:
> Program terminated with signal SIGABRT, Aborted.
> #0  0x00007f8cee12bf79 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
> It is really random, at a time with 200 concurrent calls, it was working fine and at other time, it crashed only on 100 concurrent calls.
> I have also attached backtrace logs with this.



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



More information about the asterisk-bugs mailing list