[FFmpeg-trac] #8408(undetermined:new): -vf unsharp=6 on a jpg file causes a segfault with ffmpeg and ffplay

FFmpeg trac at avcodec.org
Sun Dec 1 10:24:50 EET 2019


#8408: -vf unsharp=6 on a jpg file causes a segfault with ffmpeg and ffplay
-------------------------------------+-------------------------------------
             Reporter:  tjackson     |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug: ffmpeg and ffplay crash with -vf unsharp=6
 How to reproduce:
 {{{
 % ffmpeg -i test.jpg -vf unsharp=6 test.png
 % ffplay -vf unsharp=6 test.jpg
 ffmpeg version git-2019-11-30-e5db2e9
 built on Sun 01 Dec 2019 01:08:08 AM MST
 }}}

 I was somewhat blindly playing with the unsharp filter and I found a
 reproducible crash. I rebuilt my SDL with debug symbols but there might be
 some stuff missing with ffmpeg_g.

 I'll attach gdb logs of the crash with ffplay_g and ffmpeg_g. I'd prefer
 not to attach the image, but here's some ffprobe output:

 Input #0, image2, from '/home/tod/Pictures/bz5057-01-600x891.jpg':
   Duration: 00:00:00.04, start: 0.000000, bitrate: 73946 kb/s
     Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc,
 bt470bg/unknown/unknown), 600x891 [SAR 1:1 DAR 200:297], 25 tbr, 25 tbn,
 25 tbc

 I can test whatever you like.

 Thanks,
 Tod

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8408>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list