[asterisk-bugs] [JIRA] (ASTERISK-27037) Segfault in pjsip
Martin Tomec (JIRA)
noreply at issues.asterisk.org
Tue Jun 13 10:28:57 CDT 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-27037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=237418#comment-237418 ]
Martin Tomec commented on ASTERISK-27037:
-----------------------------------------
Acording to log, asterisk function {{ast_sip_send_stateful_response}} sends response to pjsip transaction which is in state destroyed. We have tried a workaround in start of function {{pjsip_tsx_send_msg}}:
{{if (tsx->state == PJSIP_TSX_STATE_DESTROYED) return PJ_EGONE;}}
And it seems to solve the issue. But I am not sure what is correct way to solve it...
> Segfault in pjsip
> -----------------
>
> Key: ASTERISK-27037
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27037
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: pjproject/pjsip
> Affects Versions: 13.15.1
> Environment: CentOS 7.3
> Reporter: Martin Tomec
> Assignee: Joshua Colp
> Attachments: backtrace.txt, endpoint.txt, pjproject_buildopts.txt, pjproject_log.txt
>
>
> We were experiencing frequent asterisk crash in production enviroment. Maybe it was caused by some mallformed webrtc registration. For now we can´t reproduce the issue, so I send only backtrace from coredump. In logs I failed to find any common line for all crashes, only this is suspicious:
> {noformat}
> [Jun 7 12:10:55] ERROR[21634] res_pjsip.c: Error 171060 'Unsupported transport (PJSIP_EUNSUPTRANSPORT)' sending OPTIONS request to endpoint webrtc_kaplan
> {noformat}
> Please let mi know if I can get more from coredump or log
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list