[asterisk-bugs] [JIRA] (ASTERISK-26978) rtp: Crash in ast_rtp_codecs_payload_code()

Ross Beer (JIRA) noreply at issues.asterisk.org
Wed May 24 04:13:57 CDT 2017


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

Ross Beer edited comment on ASTERISK-26978 at 5/24/17 4:12 AM:
---------------------------------------------------------------

Further, crashes, this is happening multiple times a day.

Would checking the following resolve the issue:

#0  0x000000000051f883 in ast_format_cmp (format1=0x2bf73b8, format2=0x151) at format.c:247

{noformat}
 if (format1->codec == NULL || format2->codec == NULL) {
                return AST_FORMAT_CMP_NOT_EQUAL;
        }
{noformat}


was (Author: rossbeer):
Further, crashes, this is happening multiple times a day.

This backtrace shows 'error: Cannot access memory at address'.

> rtp: Crash in ast_rtp_codecs_payload_code()
> -------------------------------------------
>
>                 Key: ASTERISK-26978
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26978
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/RTP
>    Affects Versions: GIT
>         Environment: Fedora 23
>            Reporter: Ross Beer
>         Attachments: backtrace_20170502_clean.txt, backtrace_20170511_clean.txt, backtrace_20170515_clean.txt, backtrace_20170518_02_Clean.txt, backtrace_20170524_clean.txt
>
>
> A crash has been introduced in a recent GIT commit:
> [5561] rtp_engine.c: Fix deadlock potential copying RTP payload maps.
> Please see attached backtrace, if required I can provide an unredacted trace.



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



More information about the asterisk-bugs mailing list