[FFmpeg-trac] #9985(swscale:new): Flipping an image with sws_scale crashes in arm64

FFmpeg trac at avcodec.org
Mon Oct 24 14:00:32 EEST 2022


#9985: Flipping an image with sws_scale crashes in arm64
------------------------------------+-----------------------------------
             Reporter:  diogo.r     |                    Owner:  (none)
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  swscale
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Comment (by diogo.r):

 Nope, it doesn't crash anymore if I call `av_force_cpu_flags(0)`.

 Here's the backtrace:

 {{{
 0   ffmpeg                              0x000000010478636c main + 348
 1   ffmpeg                              0x0000000104788810
 ff_get_unscaled_swscale_aarch64 + 2264
 2   dyld                                0x0000000104b4d08c start + 520
 }}}

 Or in a different format:


 {{{
 ffmpeg!ff_yuv420p_to_bgra_neon (Unknown Source:0)
 ffmpeg!___lldb_unnamed_symbol747 (Unknown Source:0)
 ffmpeg!___lldb_unnamed_symbol1222 (Unknown Source:0)
 ffmpeg!sws_scale (Unknown Source:0)
 ffmpeg!main (Unknown Source:0)
 dyld!start (Unknown Source:0)
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9985#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list