[asterisk-bugs] [JIRA] (ASTERISK-26853) Asterisk crash with pjsip library

Studio ADAGIO (JIRA) noreply at issues.asterisk.org
Mon Mar 13 09:51:12 CDT 2017


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

Studio ADAGIO commented on ASTERISK-26853:
------------------------------------------

Thank you Joshua
Here are our answers :
1. The specific steps or actions you took that caused you to encounter the problem.
> Make calls with Android application using PJSIP library

2. The behavior you expected and the location of documentation that led you to that expectation.
> We just expect for no crash of Asterisk

3. The behavior you actually encountered.
> Sometimes Asterisk crashs when he receive a call from Android application using PJSIP Library

In attached file debug.txt
Is it enough or do you need more from us please ?
Thanks a lot

> Asterisk crash with pjsip library
> ---------------------------------
>
>                 Key: ASTERISK-26853
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26853
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 13.14.0, 14.2.0
>         Environment: Debian jessie
>            Reporter: Studio ADAGIO
>            Assignee: Studio ADAGIO
>         Attachments: debug.txt, gdb.txt, verbose.log
>
>
> 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