[Home]

Summary:ASTERISK-25143: segmentation fault in ast_format_get_type
Reporter:yaron nahum (yaronna)Labels:
Date Opened:2015-06-01 07:03:59Date Closed:2015-06-16 16:43:24
Priority:CriticalRegression?
Status:Closed/CompleteComponents:Channels/chan_pjsip
Versions:13.2.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) backrace_28_05_15_07.txt
Description:The crash occured on a production server. In the backtrace it seems that it was trying to play a certain wav file (vm/he/VMPR93 - we checked and it is a regular audio wav file) but somehow the media type is AST_MEDIA_TYPE_VIDEO.
It happened only once and we are not able to reproduce it yet.
Comments:By: yaron nahum (yaronna) 2015-06-01 07:07:28.357-0500

The backtrace

By: Rusty Newton (rnewton) 2015-06-01 18:08:55.966-0500

Thanks. Did you have any logs accompanying the crash at the time it happened?

By: Rusty Newton (rnewton) 2015-06-01 18:52:25.453-0500

Yaron,

I've spoken with [~jcolp] who believes that the trace does not provide enough information on its own for us to investigate further.

However, can you attach to the core with GDB and provide a bit more information?

{code}
frame 0
print *format
print *format->codec
frame 1
print *framed
{code}

Attach the output to the issue. Also, be sure to provide logs if the issue occurs again. If possible with the *debug* logger channel running.  I realize that may not be possible due to the size of the logs generated and possible additional load.

By: Rusty Newton (rnewton) 2015-06-16 16:43:18.358-0500

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines