[asterisk-bugs] [JIRA] (ASTERISK-29286) chan_pjsip: Deadlock between sending response and transaction layer

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Thu Feb 18 17:49:15 CST 2021


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

Kevin Harwell commented on ASTERISK-29286:
------------------------------------------

Are you comfortable with using {{gdb}}? If so could you load asterisk and the core file:
{noformat}
$ gdb asterisk /path/to/core
{noformat}
And then within {{gdb}} execute the following commands and comment back with the output:
{noformat}
(gdb) p *tdata->msg
(gdb) p *inv
(gdb) p *inv->invite_tsx
(gdb) p *inv->invite_tsx->cseq
(gdb) p *cseq
(gdb) p *cseq->cseq
{noformat}
(hopefully typed those correctly)

> chan_pjsip: Deadlock between sending response and transaction layer
> -------------------------------------------------------------------
>
>                 Key: ASTERISK-29286
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29286
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 16.16.0
>         Environment: ubuntu 18.04
>            Reporter: Mikhail
>            Assignee: Unassigned
>            Severity: Major
>              Labels: patch
>         Attachments: 0080-fix-transaction-layer-deadlock.patch, core.sead.leadzvon.ru-2021-02-17T13-14-55+0000-brief.txt, core.sead.leadzvon.ru-2021-02-17T13-14-55+0000-full.txt, core.sead.leadzvon.ru-2021-02-17T13-14-55+0000-info.txt, core.sead.leadzvon.ru-2021-02-17T13-14-55+0000-locks.txt, core.sead.leadzvon.ru-2021-02-17T13-14-55+0000-thread1.txt, debug_log_123456, t.18881-brief.txt, t.18881-full.txt, t.18881-info.txt, t.18881-locks.txt, t.18881-thread1.txt
>
>
> In some cases asterisk stops answering options/register, but answers invite, server is not under high load



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



More information about the asterisk-bugs mailing list