[asterisk-bugs] [JIRA] (ASTERISK-22994) pjsip/incoming_calls_without_auth: test bounces

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Thu Mar 20 10:51:18 CDT 2014


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

Kevin Harwell commented on ASTERISK-22994:
------------------------------------------

This turned out to be caused by a race condition within pjproject.  In the 'pjsip_tsx_terminate' function there was a check to see if the transaction had already been terminated.  If it had been then simply return.  However, sometimes it was possible for the transaction to be terminated by another thread after the check, thus it would attempt to terminate the transaction twice.

I sent an email to Teluu with a potential patch.  In the meantime I also patched our fork with a fix (see commit 477abd1).

> pjsip/incoming_calls_without_auth: test bounces
> -----------------------------------------------
>
>                 Key: ASTERISK-22994
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22994
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip, Tests/testsuite
>    Affects Versions: 12.0.0-beta2
>            Reporter: Matt Jordan
>            Assignee: Kevin Harwell
>         Attachments: backtrace_4944.txt, full.txt.3, incoming_calls_without_auth.log
>
>
> This test continues to bounce as well:
> https://bamboo.asterisk.org/bamboo/browse/AST-ATTSCD4-C632TE-145/test/case/1415088
> Note that due to the high number of SIPp scenarios in this test, it is incredibly difficult to isolate what failed and when. It may be advisable to break this test up into more digestible pieces.



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



More information about the asterisk-bugs mailing list