[asterisk-bugs] [JIRA] (ASTERISK-27484) Crash in attempting to bridge channels

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Fri Dec 15 14:18:07 CST 2017


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

Richard Mudgett edited comment on ASTERISK-27484 at 12/15/17 2:18 PM:
----------------------------------------------------------------------

Your backtrace appears to contain a memory corruption. We need one or both of the following items to continue investigation of the issue:
1. Valgrind output. See https://wiki.asterisk.org/wiki/display/AST/Valgrind for instructions on how to use Valgrind with Asterisk.
2. MALLOC_DEBUG output. See https://wiki.asterisk.org/wiki/display/AST/MALLOC_DEBUG+Compiler+Flag for instructions on how to use the MALLOC_DEBUG option.

Note that MALLOC_DEBUG and Valgrind are mutually exclusive options. Valgrind output is preferable, but will be more system resource intensive and may be difficult to get on a production system. In such a case, you may have better luck getting the necessary output from MALLOC_DEBUG.

----

Memory corruption could be the cause that codec_opus is complaining of a corrupted stream.

ASTERISK-27238 and ASTERISK-27412 are also memory corruption issues which were recently fixed and have not gone out in a release yet.

You'll have to use valgrind since you are using codec_opus and MALLOC_DEBUG alters the allocation API to track memory.



was (Author: rmudgett):
Your backtrace appears to contain a memory corruption. We need one or both of the following items to continue investigation of the issue:
1. Valgrind output. See https://wiki.asterisk.org/wiki/display/AST/Valgrind for instructions on how to use Valgrind with Asterisk.
2. MALLOC_DEBUG output. See https://wiki.asterisk.org/wiki/display/AST/MALLOC_DEBUG+Compiler+Flag for instructions on how to use the MALLOC_DEBUG option.

Note that MALLOC_DEBUG and Valgrind are mutually exclusive options. Valgrind output is preferable, but will be more system resource intensive and may be difficult to get on a production system. In such a case, you may have better luck getting the necessary output from MALLOC_DEBUG.

----

Memory corruption could be the cause that codec_opus is complaining of a corrupted stream.

ASTERISK-27238 and ASTERISK-27412 are also memory corruption issues which were recently fixed and have not gone out in a release yet.


> Crash in attempting to bridge channels
> --------------------------------------
>
>                 Key: ASTERISK-27484
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27484
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 15.1.4
>            Reporter: Joshua Elson
>         Attachments: unoptimized_bt.txt
>
>
> Latest Asterisk 15.1.4 crash when attempting to bridge audio. Don't have a repro on this one reliably.
> Interestingly, this is the dialplan we see in leading up to the crash, which doesn't on the surface seem related to the crash itself:
> [2017-12-15 11:46:29] ERROR[17172][C-0000029c] codec_opus.c: Opus: Unable to parse packet for number of samples: corrupted stream
> [2017-12-15 11:46:29] WARNING[17172][C-0000029c] translate.c: no samples for opustolin
> [2017-12-15 11:46:29] ERROR[17172][C-0000029c] codec_opus.c: Opus: decoding: corrupted stream
> [2017-12-15 11:46:29] ERROR[17172][C-0000029c] codec_opus.c: Opus: Unable to parse packet for number of samples: corrupted stream
> [2017-12-15 11:46:29] WARNING[17172][C-0000029c] translate.c: no samples for opustolin
> [2017-12-15 11:46:29] ERROR[17172][C-0000029c] codec_opus.c: Opus: decoding: corrupted stream
> [2017-12-15 11:46:29] ERROR[17172][C-0000029c] codec_opus.c: Opus: Unable to parse packet for frame data: corrupted stream
> [2017-12-15 11:46:29] ERROR[17172][C-0000029c] codec_opus.c: Opus: decoding: corrupted stream
> [2017-12-15 11:46:29] WARNING[17174][C-0000029c] chan_pjsip.c: Can't send 470645312 type frames with PJSIP
> [2017-12-15 11:46:29] WARNING[17174][C-0000029c] chan_pjsip.c: Can't send 470645312 type frames with PJSIP
> [2017-12-15 11:46:29] ERROR[17172][C-0000029c] codec_opus.c: Opus: Unable to parse packet for number of samples: corrupted stream
> [2017-12-15 11:46:29] WARNING[17172][C-0000029c] translate.c: no samples for opustolin
> [2017-12-15 11:46:29] ERROR[17172][C-0000029c] codec_opus.c: Opus: decoding: corrupted stream
> [2017-12-15 11:46:29] WARNING[17174][C-0000029c] chan_pjsip.c: Can't send 469762168 type frames with PJSIP



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



More information about the asterisk-bugs mailing list