[asterisk-bugs] [JIRA] (ASTERISK-24399) Asterisk with res_pjsip crashes daily

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu Oct 16 09:01:29 CDT 2014


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

Matt Jordan commented on ASTERISK-24399:
----------------------------------------

The crashes appear to be occurring in {{libssl}}:

{noformat}
#0  0x00007f3a48285077 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#0  0x00007f3a48285077 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
        resultvar = 0
        pid = 32750
        selftid = 382
#1  0x00007f3a48286458 in __GI_abort () at abort.c:89
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x16, sa_sigaction = 0x16}, sa_mask = {__val = {139886548066032, 8512, 139888301211143, 5, 0, 5, 139888295243048, 1472, 8512, 1, 139888301237029, 128, 139888296104477, 139888299034512, 128, 139882739098720}}, sa_flags = -50751744, sa_restorer = 0x7f3a485f0be0 <_IO_helper_jumps>}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007f3a4764278f in OpenSSLDie () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
#3  0x00007f3a479fb603 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
No symbol table info available.
#4  0x00007f3a479f58da in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
No symbol table info available.
#5  0x00007f3901140015 in dtls_perform_handshake (instance=instance at entry=0x7f39e00090e8, dtls=dtls at entry=0x7f39e0010348, rtcp=rtcp at entry=0) at res_rtp_asterisk.c:1593
        rtp = <optimized out>
#6  0x00007f39011400a5 in ast_rtp_on_ice_complete (ice=<optimized out>, status=0) at res_rtp_asterisk.c:1623
        instance = 0x7f39e00090e8
        rtp = 0x7f39e000d630
{noformat}

Which version of {{libssl}} are you using? If possible, can you upgrade to the latest version of {{libssl}}? It would also help if you could install a version of {{libssl}} with debug symbols.

That being said, there isn't anything jumping out here that looks like Asterisk doing something wrong. If we can look at the SSL library's symbols, we may be able to determine what exactly is going wrong - but there's a good chance that this is a bug in that library, and not Asterisk.

> Asterisk with res_pjsip crashes daily
> -------------------------------------
>
>                 Key: ASTERISK-24399
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24399
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 12.4.0, 12.5.0, 12.5.1, 12.6.0
>         Environment: Debian Linux jessie/sid, kernel: 3.16.3 preemptive x86_64
>            Reporter: Tobias Gunkel
>            Assignee: Tobias Gunkel
>         Attachments: backtrace_2.txt, backtrace_3.txt, backtrace_4.txt, backtrace.txt, gdb_errors.txt
>
>
> Hi everyone,
> we're using Asterisk with {{res_pjsip}} and since version 12.4.0 it crashes once a day with a segmentation fault:
> {code}kernel: [665291.790543] asterisk[2160]: segfault at 7fda5c16cdf0 ip 00007fdb0f7ed4de sp 00007fd9c78d7c18 error 4 in libc-2.19.so[7fdb0f75d000+19f000]{code}
> We used {{libpjsip2}} (2.1.0.0.ast20130823-1) from Debian packages and also compiled version 2.2.1, 2.3 and git (master at 2014-10-06) from source. This didn't fix the problem.
> The issue is not bound to system load. The problem occurs even with 0 open channels.
> Any help would be greatly appreciated!
> Best regards,
> Tobi



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



More information about the asterisk-bugs mailing list