[asterisk-bugs] [JIRA] (ASTERISK-28161) Removal of Previous Patch Causes PJSIP Timer Issues

Ross Beer (JIRA) noreply at issues.asterisk.org
Wed Nov 14 05:07:47 CST 2018


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

Ross Beer commented on ASTERISK-28161:
--------------------------------------

I have been plagued with timer issues for quite some time, removing the patch has moved the issue to a different place. Previous segfaults before this change were observed here:

{noformat}
Thread 1 (Thread 0x7f9682b7d700 (LWP 150053)):
#0  0x00007f9997c2a85c in copy_node (ht=0x284f800, slot=5050, moved_node=0x7f96b55275b0) at ../src/pj/timer.c:137
#1  0x00007f9997c2ac95 in reheap_up (ht=0x284f800, moved_node=0x7f96b5d1e4e0, slot=5050, parent=2524) at ../src/pj/timer.c:208
#2  0x00007f9997c2aea3 in remove_node (ht=0x284f800, slot=5050) at ../src/pj/timer.c:254
        parent = 2524
        moved_node = 0x7f96b5d1e4e0
        removed_node = 0x7f96ee3d1b28
#3  0x00007f9997c2b18d in cancel (ht=0x284f800, entry=0x7f96ee3d1b28, flags=7) at ../src/pj/timer.c:353
        timer_node_slot = 5050
#4  0x00007f9997c2b6a2 in cancel_timer (ht=0x284f800, entry=0x7f96ee3d1b28, flags=6, id_val=0) at ../src/pj/timer.c:594
        count = 0
{noformat}

The reported issue for this issue relates to a SIP retransmission, probably related to a reliable connection such as TCP/TLS. Is this correct?

> Removal of Previous Patch Causes PJSIP Timer Issues
> ---------------------------------------------------
>
>                 Key: ASTERISK-28161
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28161
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: GIT
>         Environment: CentOS 7.5
>            Reporter: Ross Beer
>            Assignee: Ross Beer
>              Labels: pjsip
>         Attachments: core-asterisk-197853-host-1542017635-thread1.txt
>
>
> The removal of 'third-party/pjproject/patches/0010-timer-Clean-up-usage-of-timer-heap.patch' in commit https://gerrit.asterisk.org/#/c/asterisk/+/10487/ has started a segfault related to PJSIP Timers.
> Please see the attached backtrace.



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



More information about the asterisk-bugs mailing list