[asterisk-bugs] [JIRA] (ASTERISK-29022) Crash when manipulating PJSIP invite dlg ref counts
Ross Beer (JIRA)
noreply at issues.asterisk.org
Mon Nov 2 07:52:15 CST 2020
[ https://issues.asterisk.org/jira/browse/ASTERISK-29022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=252621#comment-252621 ]
Ross Beer edited comment on ASTERISK-29022 at 11/2/20 7:51 AM:
---------------------------------------------------------------
I have been testing the patch for this and have just had the following segfault:
{noformat}
Thread 1 (Thread 0x7f779eee8700 (LWP 44980)):
#0 0x00007f7a86691eec in pj_pool_release (pool=0x0) at ../include/pj/pool_i.h:102
#1 0x00007f7a865bdc1e in inv_session_destroy (inv=0x7f792082c9d8) at ../src/pjsip-ua/sip_inv.c:229
#2 0x00007f7a865bdcbe in pjsip_inv_dec_ref (inv=0x7f792082c9d8) at ../src/pjsip-ua/sip_inv.c:251
ref_cnt = 0
#3 0x00007f789888f7c0 in session_destructor (obj=0x7f79201f98a0) at res_pjsip_session.c:3003
session = 0x7f79201f98a0
delay = 0x0
__PRETTY_FUNCTION__ = "session_destructor"
{noformat}
Thread 1 Backtrace attached.
It may not be related, however, I had not seen this issue until I started testing the patch.
was (Author: rossbeer):
I have been testing the patch for this and have just had the following segfault:
{noformat}
Thread 1 (Thread 0x7f779eee8700 (LWP 44980)):
#0 0x00007f7a86691eec in pj_pool_release (pool=0x0) at ../include/pj/pool_i.h:102
#1 0x00007f7a865bdc1e in inv_session_destroy (inv=0x7f792082c9d8) at ../src/pjsip-ua/sip_inv.c:229
#2 0x00007f7a865bdcbe in pjsip_inv_dec_ref (inv=0x7f792082c9d8) at ../src/pjsip-ua/sip_inv.c:251
ref_cnt = 0
#3 0x00007f789888f7c0 in session_destructor (obj=0x7f79201f98a0) at res_pjsip_session.c:3003
session = 0x7f79201f98a0
delay = 0x0
__PRETTY_FUNCTION__ = "session_destructor"
{noformat}
Thread 1 Backtrace attached
> Crash when manipulating PJSIP invite dlg ref counts
> ---------------------------------------------------
>
> Key: ASTERISK-29022
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29022
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_pjsip
> Affects Versions: GIT
> Environment: Asterisk 16 from Git (15a3318f1f3fb72669b5659d12948fe3a01dd21b)
> Ubuntu 20.04 amd64
> Reporter: Sean Bright
> Assignee: Joshua C. Colp
> Attachments: core-asterisk-9283-HOSTNAME-1604323228-thread1.txt
>
>
> Asterisk crashes in pjsip_inv_add_ref() and pjsip_inv_dec_ref(). Core files sent to the Asterisk Team e-mail address.
> It's happened twice in as many days. Planning to roll back to an older known-good version (cfaf8dfc4d95a2123b682f540cd1801de7177171) so I won't be able to test any patches.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list