Re: Asterisk segfault in pjsip_endpt_create_pool with PJSIP 2.5.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Fri, Nov 4, 2016 at 3:12 AM, Bernhard Schmidt <berni@xxxxxxxxxxxxx> wrote:
Hi,

I have recently uploaded a new version of pjsip into Debian testing (was
2.5.1, now 2.5.5).

We have received reports that Asterisk (13.11.2 and 13.12.1) crash when
making an outbound call through PJSIP as soon as the updated library is
installed. This is the backtrace

When exactly is it crashing?  Are you talking about a running asterisk crashing when you install the new libraries?  If so, that can happen and should be expected.  

 

Thread 29 "asterisk" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffad680700 (LWP 24582)]
pjsip_endpt_create_pool (endpt=0x0,
pool_name=pool_name@entry=0x555555cf5eb8 "inv(nil)",
initial=initial@entry=256, increment=increment@entry=256)
    at ../src/pjsip/sip_endpoint.c:662
662     ../src/pjsip/sip_endpoint.c: No such file or directory.
(gdb)
(gdb) bt full
#0  pjsip_endpt_create_pool (endpt=0x0,
pool_name=pool_name@entry=0x555555cf5eb8 "inv(nil)",
initial=initial@entry=256, increment=increment@entry=256)
    at ../src/pjsip/sip_endpoint.c:662
        pool = <optimized out>
#1  0x00007ffff0c74ea2 in pjsip_inv_create_uac (dlg=0x555555cf5eb8,
local_sdp=0x0, options=3, p_inv=0x7fffad67fc40) at
../src/pjsip-ua/sip_inv.c:851
        status = <optimized out>
#2  0x00007fffb09c1b3b in ast_sip_session_create_outgoing () from
/usr/lib/asterisk/modules/res_pjsip_session.so
No symbol table info available.
#3  0x00007fff8aa90cad in ?? () from /usr/lib/asterisk/modules/chan_pjsip.so
No symbol table info available.
#4  0x00007fffb1402e10 in ?? () from /usr/lib/asterisk/modules/res_pjsip.so
No symbol table info available.

without -DNDEBUG an assertion is thrown

asterisk: ../src/pj/os_core_unix.c:1254: pj_mutex_lock: Assertion
`mutex' failed. (Asterisk 13.11.2 compiled against 2.5.1)

or

asterisk: ../src/pjsip/sip_auth_client.c:507: pjsip_auth_clt_deinit:
Assertion `sess && sess->endpt' failed.
Aborted (Asterisk 13.12.1 compiled against 2.5.5)

See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842878

Can anyone give some help here? We need to fix this pretty soon if we
want to get pjproject/Asterisk into the next Debian release.

Bernhard

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



--
George Joseph
Digium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux