Bug#842878: Asterisk crashes with pjproject 2.5.5

Bernhard Schmidt berni at debian.org
Sun Nov 6 22:50:18 UTC 2016


On Fri, Nov 04, 2016 at 11:02:03AM +0100, Bernhard Schmidt wrote:

Hi,

> > I decided to try this: I made a sid chroot, manually downgraded to
> > libssl-dev 1.0.2j-1 from stretch, and built asterisk from the
> > current packaging git head (ec0143a).  I actually enabled
> > OpenSSL-1.1.0-support.patch while I was at it.
> > 
> > Ultimately, running this with pjproject 2.5.5~dfsg-2 failed at the same stage, but with a different assert:
> > 
> > asterisk: ../src/pjsip/sip_auth_client.c:507: pjsip_auth_clt_deinit: Assertion `sess && sess->endpt' failed.
> > Aborted
> 
> Thanks. I have also tested that a fresh rebuild of 2.5.1 does not exhibit
> the problem, so it is not caused by updated build-deps.
> 
> Upstream recommends to disable assertions in production builds, see
> 
> https://trac.pjsip.org/repos/wiki/FAQ#assert
> 
> When I do this I get a full-blown segfault (and we lose a symbol, so
> although we only have one rdep it would technically involve a library
> transition). I've reported the segfault to the upstream mailinglist

Nothing productive on the upstream mailinglist (or rather disturbing,
they say that ABI can change in backward incompatible way even in minor
versions and you're always expected to recompile), BUT thanks to Stepan
Golosunov and Tzafrir in Bug#828240 there now seems to be a way to build
Asterisk 13.12.1 against OpenSSL 1.1.0. 

I have tested that build (built against pjproject 2.5.5~dfsg-2 in sid)
and it does not crash for me.

It will probably take a few more days to fully test this (and import a
few other crash fixes for pjproject as well for good measure), but now
the future looks a bit less dark than before. I will probably disable
the pjsip asserts as well, following upstream recommendation.

Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20161106/bcccd0a1/attachment.sig>


More information about the Pkg-voip-maintainers mailing list