[asterisk-bugs] [JIRA] (ASTERISK-24854) Asterisk with PJSIP segfaults after enabling TLS (SSL) transport

Joshua Colp (JIRA) noreply at issues.asterisk.org
Mon Mar 9 06:05:34 CDT 2015


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

Joshua Colp closed ASTERISK-24854.
----------------------------------

    Resolution: Duplicate

This has been fixed upstream in pjproject in http://trac.pjsip.org/repos/changeset/4972

You can either wait for PJSIP to do a new release, use PJSIP from SVN trunk, or compile pjproject without debugging (which disables the assertion being triggered).

To compile without debugging pjproject has to be built with:

./configure CFLAGS="-DNDEBUG"

As well as any other compiler flags you may need.

> Asterisk with PJSIP segfaults after enabling TLS (SSL) transport
> ----------------------------------------------------------------
>
>                 Key: ASTERISK-24854
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24854
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: SVN, 13.2.0
>         Environment: Linux 3.16.0-0.bpo.4-amd64 #1 SMP Debian 3.16.7-ckt4-3~bpo70+1 (2015-02-12) x86_64 Debian GNU/Linux 7
>            Reporter: Hans van Eijsden
>              Labels: NewSIP, asterisk, crash
>         Attachments: compiling.txt, gdb.txt, pjsip.transports_custom.conf
>
>
> After enabling SSL support, Asterisk segfaults seemingly random while connecting. It doesn't matter if I connect with UDP, TCP or TLS and the client doesn't matter too: it occurs with Bria for Mac, Bria for iPhone, Linphone for iPhone, Linphone for WP and Zoiper for WP.
> With chan_sip it works fine, with PJSIP not. I've tested it with OpenSSL 1.0.1e and OpenSSL 1.0.2. PJSIP is the newest 2.3.0 from git.



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



More information about the asterisk-bugs mailing list