[asterisk-bugs] [JIRA] (ASTERISK-27037) Segfault in pjsip

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Mon Jun 12 11:12:57 CDT 2017


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

Richard Mudgett edited comment on ASTERISK-27037 at 6/12/17 11:12 AM:
----------------------------------------------------------------------

for the record

when building rpm. pjproject flags works only this way
{noformat}
export CFLAGS="-DPJ_GRP_LOCK_DEBUG=1 -DPJ_LOG_MAX_SIZE=4500 ${ARCHFLAGS} %{optflags}"
%configure --without-tds --without-portaudio --with-pjproject-bundled
{noformat}

but with PJ_GRP_LOCK_DEBUG=1 it segfaults immediatelly



was (Author: cervajs):
for the record

when building rpm. pjproject flags works only this way

export CFLAGS="-DPJ_GRP_LOCK_DEBUG=1 -DPJ_LOG_MAX_SIZE=4500 ${ARCHFLAGS} %{optflags}"
%configure --without-tds --without-portaudio --with-pjproject-bundled

but with PJ_GRP_LOCK_DEBUG=1 it segfaults immediatelly


> 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: Martin Tomec
>         Attachments: backtrace.txt, endpoint.txt, pjproject_buildopts.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