[asterisk-bugs] [JIRA] (ASTERISK-26853) res_rtp_asterisk: Crash in pjnath when receiving packet

Studio ADAGIO (JIRA) noreply at issues.asterisk.org
Mon Apr 3 09:34:10 CDT 2017


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

Studio ADAGIO updated ASTERISK-26853:
-------------------------------------

    Attachment: verbose_segfault.txt
                messages_segfault.txt
                debug_segfault.txt
                backtrace_segfault.txt

> res_rtp_asterisk: Crash in pjnath when receiving packet
> -------------------------------------------------------
>
>                 Key: ASTERISK-26853
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26853
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_rtp_asterisk
>    Affects Versions: 13.14.0, 14.2.0
>         Environment: Debian jessie
>            Reporter: Studio ADAGIO
>            Assignee: Richard Mudgett
>         Attachments: backtrace_segfault.txt, backtrace-threads.txt, backtrace.txt, Config.tar.gz, core-show-locks.txt, debug_deadlock.zip, debug_segfault.txt, debug.txt, gdb.txt, messages_deadlock, messages.log, messages_segfault.txt, valgrind.txt, verbose_deadlock, verbose.log, verbose_segfault.txt
>
>
> Hi
> We have a business application that uses both conventional telephony and VoIP.
> We use the PJSIP library to make VoIP calls from mobile devices (Android & iOS). On server side we have Asterisk with PJSIP.
> Sometimes "Asterisk" process crash with "double free or corruption". This happens shortly after the INVITE transaction was finished (we hear about 0.5s of sound) and only if the call was started on Android device.
> We tried to reproduce the crash with other softphones (Zoiper, CSipSimple, Ekiga) and pjsua in CLI but it doesn't crash. Also it doesn't crash when iOS app is used. So, it seems that, the problem is with our Android implementation, but we don't know where to search for the solution.
> We tried workarounds from here: ASTERISK-25274
> ASTERISK-25275
> But nothing worked.
> This crash occur once in about 200 calls.
> After using Valgrind (valgrind.org) to analyze Asterisk memory, we restart Asterisk and crash is happening more often. Is there a link ?
> You will find backtrace and debug in attachments.
> We tried Asterisk versions: 13.14 and 14.2
> PJSSIP versions: 2.5.5, 2.6
> (We tried to change audio codec but nothing changed)
> Thanks a lot



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



More information about the asterisk-bugs mailing list