[FFmpeg-trac] #6192(undetermined:new): bus error core dump in swscale optimizations on arm
FFmpeg
trac at avcodec.org
Sat Feb 25 18:34:19 EET 2017
#6192: bus error core dump in swscale optimizations on arm
--------------------------------------+----------------------------------
Reporter: peterbennett | Type: defect
Status: new | Priority: normal
Component: undetermined | Version: 3.2.1
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------------+----------------------------------
This happened in MythTV (www.mythtv.org) in arm architecture only. In this
instance MythTV uses sws_scale to convert a frame to RGB format without
changing its size.
MythTV has a private copy of FFMPEG source (currently 3.2).
If input format is AV_PIX_FMT_YUV420P and output format is
AV_PIX_FMT_BGRA, and the input and output sizes are the same, sws_scale
fails with a bus error. If I use an output width 1 pixel less than input,
it avoids some optimization and then works correctly.
Source code (look for #if ARCH_ARM at line 166).
https://code.mythtv.org/trac/browser/mythtv/mythtv/libs/libmythtv/mythavutil.cpp
There is more info in this ticket
https://code.mythtv.org/trac/ticket/12888
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6192>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list