asterisk / asterisk

The official Asterisk Project repository.

Home Page:https://www.asterisk.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[bug]: Occasional SEGV in res_pjsip_stir_shaken.c

gtjoseph opened this issue · comments

Severity

Blocker

Versions

18,20,21,master

Components/Modules

res_pjsip_stir_shaken

Operating Environment

all

Frequency of Occurrence

Occasional

Issue Description

Under certain, as yet unidentified, circumstances, the session passed to res_pjsip_stir_shaken's stir_shaken_outgoing_request handler has a NULL channel. This can cause a FRACK and/or SEGV. It's only been seen in the testsuite,only on one non-stir-shaken test,and non consistently.

Relevant log output

[Mar 06 13:21:50] WARNING[12652]: asterisk.asterisk:249 errReceived: Asterisk 127.0.0.1 received error: FRACK!, Failed assertion user_data is NULL (0) at line 416 in stir_shaken_outgoing_request of res_pjsip_stir_shaken.c

Asterisk Issue Guidelines

  • Yes, I have read the Asterisk Issue Guidelines