[FFmpeg-trac] #6192(swscale:new): bus error core dump in swscale optimizations on arm

FFmpeg trac at avcodec.org
Tue Feb 28 23:24:54 EET 2017

#6192: bus error core dump in swscale optimizations on arm
             Reporter:  peterbennett  |                    Owner:
                 Type:  defect        |                   Status:  new
             Priority:  normal        |                Component:  swscale
              Version:  3.2.1         |               Resolution:
             Keywords:  crash         |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |

Comment (by cehoyos):

 Replying to [comment:5 peterbennett]:
 > I tested this with the ffmpeg executable and I cannot reproduce it that
 way. I traced through ffmpeg and it does call the sws_scale in a slightly
 different way. When running the command line through ffmpeg there is the
 following message
 >  [swscaler @ 0xad1c0] No accelerated colorspace conversion found from
 yuv420p to bgra.

 Why is the line `SET_FF_NVX_TO_ALL_RGBX_FUNC(yuv420p, YUV420P,
 accurate_rnd);` that is mentioned on the MythTV bug tracker not called?

 > The command line I used is
 >  ffmpeg -ss 2.0 -i /path/filename -frames 1 -pix_fmt bgra imagefile.bmp

 (The console output may give an indication why the neon-optimized code is
 not called.)

 > It produces an image file without failure, and seems to be the same
 thing we are trying to do.
 > I do not know the cause of our error.

 > We have a workaround and if you see no bug in ffmpeg here, please close
 the ticket.
 I suspect the work-around chosen is a very bad idea performance-wise.

Ticket URL: <https://trac.ffmpeg.org/ticket/6192#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list