[FFmpeg-trac] #6773(undetermined:new): ffmpeg-10bit SIGSEGV crash after 'code 3074' (was: ffmpeg-10bit SIGSEGV crash after code 3074: invalid colorspace definition)

FFmpeg trac at avcodec.org
Mon Oct 23 22:33:57 EEST 2017


#6773: ffmpeg-10bit SIGSEGV crash after  'code 3074'
-------------------------------------+-------------------------------------
             Reporter:  mtc          |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  zscale       |               Resolution:
  plugin z.lib                       |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by mtc):

 similar different crash (even more simplified)

 {{{
 ffmpeg started on 2017-10-23 at 15:30:49
 Report written to "ffmpeg-20171023-153049.log"
 Command line:
 ./ffmpeg-10bit -loglevel debug -v 99 -framerate 10 -i
 "/tmp/crop2/world.2004%02d.3x21600x10800. 12724\xc3\x973209 462\xc3\x97550
 .png" -map 0:v:0 -filter:v "zscale=t=linear,zscale=t=709"
 "/tmp/crop2world2004-%03d.png" -report
 ffmpeg version N-88046-g0cb8369bce-static
 https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2017 the FFmpeg
 developers
   built with gcc 6.4.0 (Debian 6.4.0-8) 20171010
   configuration: --enable-gpl --enable-version3 --enable-static --disable-
 debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio
 --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-
 gray --enable-libfribidi --enable-libass --enable-libvmaf --enable-
 libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-
 libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-
 librtmp --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-
 libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc
 --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265
 --enable-libxvid --enable-libzimg
   libavutil      56.  0.100 / 56.  0.100
   libavcodec     58.  0.100 / 58.  0.100
   libavformat    58.  0.100 / 58.  0.100
   libavdevice    58.  0.100 / 58.  0.100
   libavfilter     7.  0.100 /  7.  0.100
   libswscale      5.  0.100 /  5.  0.100
   libswresample   3.  0.100 /  3.  0.100
   libpostproc    55.  0.100 / 55.  0.100
 Splitting the commandline.
 Reading option '-loglevel' ... matched as option 'loglevel' (set logging
 level) with argument 'debug'.
 Reading option '-v' ... matched as option 'v' (set logging level) with
 argument '99'.
 Reading option '-framerate' ... matched as AVOption 'framerate' with
 argument '10'.
 Reading option '-i' ... matched as input url with argument
 '/tmp/crop2/world.2004%02d.3x21600x10800. 12724×3209 462×550 .png'.
 Reading option '-map' ... matched as option 'map' (set input stream
 mapping) with argument '0:v:0'.
 Reading option '-filter:v' ... matched as option 'filter' (set stream
 filtergraph) with argument 'zscale=t=linear,zscale=t=709'.
 Reading option '/tmp/crop2world2004-%03d.png' ... matched as output url.
 Reading option '-report' ... matched as option 'report' (generate a
 report) with argument '1'.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option loglevel (set logging level) with argument debug.
 Applying option v (set logging level) with argument 99.
 Applying option report (generate a report) with argument 1.
 Successfully parsed a group of options.
 Parsing a group of options: input url
 /tmp/crop2/world.2004%02d.3x21600x10800. 12724×3209 462×550 .png.
 Successfully parsed a group of options.
 Opening an input file: /tmp/crop2/world.2004%02d.3x21600x10800. 12724×3209
 462×550 .png.
 [image2 @ 0x5544940] Opening '/tmp/crop2/world.200401.3x21600x10800.
 12724×3209 462×550 .png' for reading
 [file @ 0x5547100] Setting default whitelist 'file,crypto'
 [AVIOContext @ 0x5550340] Statistics: 355124 bytes read, 0 seeks
 [image2 @ 0x5544940] Opening '/tmp/crop2/world.200402.3x21600x10800.
 12724×3209 462×550 .png' for reading
 [file @ 0x55482e0] Setting default whitelist 'file,crypto'
 [AVIOContext @ 0x55483c0] Statistics: 349377 bytes read, 0 seeks
 [image2 @ 0x5544940] Opening '/tmp/crop2/world.200403.3x21600x10800.
 12724×3209 462×550 .png' for reading
 [file @ 0x5547180] Setting default whitelist 'file,crypto'
 [AVIOContext @ 0x5548600] Statistics: 341239 bytes read, 0 seeks
 [image2 @ 0x5544940] Opening '/tmp/crop2/world.200404.3x21600x10800.
 12724×3209 462×550 .png' for reading
 [file @ 0x5547180] Setting default whitelist 'file,crypto'
 [AVIOContext @ 0x5548620] Statistics: 335426 bytes read, 0 seeks
 [image2 @ 0x5544940] Opening '/tmp/crop2/world.200405.3x21600x10800.
 12724×3209 462×550 .png' for reading
 [file @ 0x5548820] Setting default whitelist 'file,crypto'
 [AVIOContext @ 0x5548900] Statistics: 331373 bytes read, 0 seeks
 [image2 @ 0x5544940] Opening '/tmp/crop2/world.200406.3x21600x10800.
 12724×3209 462×550 .png' for reading
 [file @ 0x55488c0] Setting default whitelist 'file,crypto'
 [AVIOContext @ 0x55489a0] Statistics: 331078 bytes read, 0 seeks
 [image2 @ 0x5544940] Opening '/tmp/crop2/world.200407.3x21600x10800.
 12724×3209 462×550 .png' for reading
 [file @ 0x5548980] Setting default whitelist 'file,crypto'
 [AVIOContext @ 0x5548ba0] Statistics: 334147 bytes read, 0 seeks
 [image2 @ 0x5544940] Opening '/tmp/crop2/world.200408.3x21600x10800.
 12724×3209 462×550 .png' for reading
 [file @ 0x5548ba0] Setting default whitelist 'file,crypto'
 [AVIOContext @ 0x5548dc0] Statistics: 335583 bytes read, 0 seeks
 [image2 @ 0x5544940] Opening '/tmp/crop2/world.200409.3x21600x10800.
 12724×3209 462×550 .png' for reading
 [file @ 0x5548ba0] Setting default whitelist 'file,crypto'
 [AVIOContext @ 0x5548e60] Statistics: 335357 bytes read, 0 seeks
 [image2 @ 0x5544940] Opening '/tmp/crop2/world.200410.3x21600x10800.
 12724×3209 462×550 .png' for reading
 [file @ 0x5548e60] Setting default whitelist 'file,crypto'
 [AVIOContext @ 0x5548f40] Statistics: 338398 bytes read, 0 seeks
 [image2 @ 0x5544940] Opening '/tmp/crop2/world.200411.3x21600x10800.
 12724×3209 462×550 .png' for reading
 [file @ 0x5549160] Setting default whitelist 'file,crypto'
 [AVIOContext @ 0x5548e80] Statistics: 346063 bytes read, 0 seeks
 [image2 @ 0x5544940] Opening '/tmp/crop2/world.200412.3x21600x10800.
 12724×3209 462×550 .png' for reading
 [file @ 0x5549380] Setting default whitelist 'file,crypto'
 [AVIOContext @ 0x5549460] Statistics: 354385 bytes read, 0 seeks
 Input #0, image2, from '/tmp/crop2/world.2004%02d.3x21600x10800.
 12724×3209 462×550 .png':
   Duration: 00:00:01.20, start: 0.000000, bitrate: N/A
     Stream #0:0, 12, 1/10: Video: png, 1 reference frame, rgb24(pc),
 462x550, 0/1, 10 fps, 10 tbr, 10 tbn, 10 tbc
 Successfully opened the file.
 Parsing a group of options: output url /tmp/crop2world2004-%03d.png.
 Applying option map (set input stream mapping) with argument 0:v:0.
 Applying option filter:v (set stream filtergraph) with argument
 zscale=t=linear,zscale=t=709.
 Successfully parsed a group of options.
 Opening an output file: /tmp/crop2world2004-%03d.png.
 Successfully opened the file.
 detected 8 logical cores
 Stream mapping:
   Stream #0:0 -> #0:0 (png (native) -> png (native))
 Press [q] to stop, [?] for help
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 [Parsed_zscale_0 @ 0x555d300] Setting 't' to value 'linear'
 [Parsed_zscale_1 @ 0x555dc40] Setting 't' to value '709'
 [graph 0 input from stream 0:0 @ 0x555e700] Setting 'video_size' to value
 '462x550'
 [graph 0 input from stream 0:0 @ 0x555e700] Setting 'pix_fmt' to value '2'
 [graph 0 input from stream 0:0 @ 0x555e700] Setting 'time_base' to value
 '1/10'
 [graph 0 input from stream 0:0 @ 0x555e700] Setting 'pixel_aspect' to
 value '0/1'
 [graph 0 input from stream 0:0 @ 0x555e700] Setting 'sws_param' to value
 'flags=2'
 [graph 0 input from stream 0:0 @ 0x555e700] Setting 'frame_rate' to value
 '10/1'
 [graph 0 input from stream 0:0 @ 0x555e700] w:462 h:550 pixfmt:rgb24
 tb:1/10 fr:10/1 sar:0/1 sws_param:flags=2
 [format @ 0x555ee80] Setting 'pix_fmts' to value
 'rgb24|rgba|rgb48be|rgba64be|pal8|gray|ya8|gray16be|ya16be|monob'
 [auto_scaler_0 @ 0x555ed20] Setting 'flags' to value 'bicubic'
 [auto_scaler_0 @ 0x555ed20] w:iw h:ih flags:'bicubic' interl:0
 [Parsed_zscale_0 @ 0x555d300] auto-inserting filter 'auto_scaler_0'
 between the filter 'graph 0 input from stream 0:0' and the filter
 'Parsed_zscale_0'
 [auto_scaler_1 @ 0x555eb00] Setting 'flags' to value 'bicubic'
 [auto_scaler_1 @ 0x555eb00] w:iw h:ih flags:'bicubic' interl:0
 [format @ 0x555ee80] auto-inserting filter 'auto_scaler_1' between the
 filter 'Parsed_zscale_1' and the filter 'format'
 [AVFilterGraph @ 0x555c300] query_formats: 5 queried, 2 merged, 2 already
 done, 0 delayed
 [auto_scaler_0 @ 0x555ed20] picking gbrp out of 46 ref:rgb24 alpha:0
 [Parsed_zscale_0 @ 0x555d300] picking gbrp out of 48 ref:gbrp alpha:0
 [Parsed_zscale_1 @ 0x555dc40] picking gbrp out of 46 ref:gbrp alpha:0
 [auto_scaler_1 @ 0x555eb00] picking rgb24 out of 9 ref:gbrp alpha:0
 [swscaler @ 0x5560e80] Forcing full internal H chroma due to input having
 non subsampled chroma
 [auto_scaler_0 @ 0x555ed20] w:462 h:550 fmt:rgb24 sar:0/1 -> w:462 h:550
 fmt:gbrp sar:0/1 flags:0x4
 [Parsed_zscale_0 @ 0x555d300] w:462 h:550 fmt:gbrp sar:0/1 -> w:462 h:550
 fmt:gbrp sar:0/1
 [Parsed_zscale_1 @ 0x555dc40] w:462 h:550 fmt:gbrp sar:0/1 -> w:462 h:550
 fmt:gbrp sar:0/1
 [swscaler @ 0x55757e0] Forcing full internal H chroma due to input having
 non subsampled chroma
 [auto_scaler_1 @ 0x555eb00] w:462 h:550 fmt:gbrp sar:0/1 -> w:462 h:550
 fmt:rgb24 sar:0/1 flags:0x4
 [Parsed_zscale_0 @ 0x555d300] w:462 h:550 fmt:gbrp sar:0/1 -> w:462 h:550
 fmt:gbrp sar:0/1
 code 3074: no path between colorspaces
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6773#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list