Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6819 closed defect (needs_more_info)

PAM to PNG conversion crashed with 3.4 on Windows 7

Reported by: omniplex Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug: PAM to PNG crashed for 3.4 on Windows 7.

Expected 3.3.3 behaviour:

ffmpeg started on 2017-11-08 at 11:49:45
Report written to "ffmpeg-20171108-114945.log"
Command line:
ffmpeg -report -v verbose -f image2 -i caravel.pam -pix_fmt rgba -frames 1 -f image2 -c:v png caravel.png
ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.1.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'verbose'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'image2'.
Reading option '-i' ... matched as input url with argument 'caravel.pam'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'rgba'.
Reading option '-frames' ... matched as option 'frames' (set the number of frames to output) with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'image2'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'png'.
Reading option 'caravel.png' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Applying option v (set logging level) with argument verbose.
Successfully parsed a group of options.
Parsing a group of options: input url caravel.pam.
Applying option f (force format) with argument image2.
Successfully parsed a group of options.
Opening an input file: caravel.pam.
[image2 @ 000000000030a400] Opening 'caravel.pam' for reading
[file @ 000000000069b860] Setting default whitelist 'file,crypto'
[AVIOContext @ 0000000000313000] Statistics: 40069 bytes read, 0 seeks
Input #0, image2, from 'caravel.pam':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0, 1, 1/25: Video: pam, 1 reference frame, rgba, 100x100, 25 tbr, 25 tbn, 25 tbc
Successfully opened the file.
Parsing a group of options: output url caravel.png.
Applying option pix_fmt (set pixel format) with argument rgba.
Applying option frames (set the number of frames to output) with argument 1.
Applying option f (force format) with argument image2.
Applying option c:v (codec name) with argument png.
Successfully parsed a group of options.
Opening an output file: caravel.png.
Successfully opened the file.
Stream mapping:
  Stream #0:0 -> #0:0 (pam (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)
detected 4 logical cores
[graph 0 input from stream 0:0 @ 0000000000328540] Setting 'video_size' to value '100x100'
[graph 0 input from stream 0:0 @ 0000000000328540] Setting 'pix_fmt' to value '28'
[graph 0 input from stream 0:0 @ 0000000000328540] Setting 'time_base' to value '1/25'
[graph 0 input from stream 0:0 @ 0000000000328540] Setting 'pixel_aspect' to value '0/1'
[graph 0 input from stream 0:0 @ 0000000000328540] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0000000000328540] Setting 'frame_rate' to value '25/1'
[graph 0 input from stream 0:0 @ 0000000000328540] w:100 h:100 pixfmt:rgba tb:1/25 fr:25/1 sar:0/1 sws_param:flags=2
[format @ 0000000000328ae0] compat: called with args=[rgba]
[format @ 0000000000328ae0] Setting 'pix_fmts' to value 'rgba'
[AVFilterGraph @ 0000000000327180] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
Output #0, image2, to 'caravel.png':
  Metadata:
    encoder         : Lavf57.71.100
    Stream #0:0, 0, 1/25: Video: png, 1 reference frame, rgba, 100x100, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.89.100 png
Clipping frame in rate conversion by 0.000008
No more output streams to write to, finishing.
[image2 @ 000000000069ba00] Opening 'caravel.png' for writing
[file @ 0000000000329240] Setting default whitelist 'file,crypto'
[AVIOContext @ 000000000030e820] Statistics: 0 seeks, 1 writeouts
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A speed=2.11x
video:7kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Input file #0 (caravel.pam):
  Input stream #0:0 (video): 1 packets read (40069 bytes); 1 frames decoded;
  Total: 1 packets (40069 bytes) demuxed
Output file #0 (caravel.png):
  Output stream #0:0 (video): 1 frames encoded; 1 packets muxed (7014 bytes);
  Total: 1 packets (7014 bytes) muxed
1 frames successfully decoded, 0 decoding errors

Unexpected 3.4 crash:

ffmpeg started on 2017-11-08 at 11:51:26
Report written to "ffmpeg-20171108-115126.log"
Command line:
ffmpeg -report -v verbose -f image2 -i caravel.pam -pix_fmt rgba -frames 1 -f image2 -c:v png caravel.png
ffmpeg version 3.4 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'verbose'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'image2'.
Reading option '-i' ... matched as input url with argument 'caravel.pam'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'rgba'.
Reading option '-frames' ... matched as option 'frames' (set the number of frames to output) with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'image2'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'png'.
Reading option 'caravel.png' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Applying option v (set logging level) with argument verbose.
Successfully parsed a group of options.
Parsing a group of options: input url caravel.pam.
Applying option f (force format) with argument image2.
Successfully parsed a group of options.
Opening an input file: caravel.pam.
[image2 @ 0000000000376f80] Opening 'caravel.pam' for reading
[file @ 000000000065c420] Setting default whitelist 'file,crypto'
[AVIOContext @ 0000000000392020] Statistics: 40069 bytes read, 0 seeks
Input #0, image2, from 'caravel.pam':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0, 1, 1/25: Video: pam, 1 reference frame, rgba, 100x100, 25 tbr, 25 tbn, 25 tbc
Successfully opened the file.
Parsing a group of options: output url caravel.png.
Applying option pix_fmt (set pixel format) with argument rgba.
Applying option frames (set the number of frames to output) with argument 1.
Applying option f (force format) with argument image2.
Applying option c:v (codec name) with argument png.
Successfully parsed a group of options.
Opening an output file: caravel.png.
Successfully opened the file.
Stream mapping:
  Stream #0:0 -> #0:0 (pam (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)
detected 4 logical cores
[graph 0 input from stream 0:0 @ 00000000003a7480] Setting 'video_size' to value '100x100'
[graph 0 input from stream 0:0 @ 00000000003a7480] Setting 'pix_fmt' to value '28'
[graph 0 input from stream 0:0 @ 00000000003a7480] Setting 'time_base' to value '1/25'
[graph 0 input from stream 0:0 @ 00000000003a7480] Setting 'pixel_aspect' to value '0/1'
[graph 0 input from stream 0:0 @ 00000000003a7480] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 00000000003a7480] Setting 'frame_rate' to value '25/1'
[graph 0 input from stream 0:0 @ 00000000003a7480] w:100 h:100 pixfmt:rgba tb:1/25 fr:25/1 sar:0/1 sws_param:flags=2
[format @ 00000000003a7aa0] compat: called with args=[rgba]
[format @ 00000000003a7aa0] Setting 'pix_fmts' to value 'rgba'
[AVFilterGraph @ 00000000003a62e0] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
Output #0, image2, to 'caravel.png':
  Metadata:
    encoder         : Lavf57.83.100
    Stream #0:0, 0, 1/25: Video: png, 1 reference frame, rgba, 100x100, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.107.100 png
Clipping frame in rate conversion by 0.000008
No more output streams to write to, finishing.

One of those Windows crashes with a popup telling me that FFmpeg.exe does not work anymore and will be closed.

Attachments (1)

caravel.pam (39.1 KB ) - added by omniplex 7 years ago.
PAM input file, nothing unusual or notable

Download all attachments as: .zip

Change History (3)

by omniplex, 7 years ago

Attachment: caravel.pam added

PAM input file, nothing unusual or notable

comment:1 by Carl Eugen Hoyos, 7 years ago

Resolution: needs_more_info
Status: newclosed

Please reopen this ticket if the crash is reproducible with current FFmpeg git head.

comment:2 by omniplex, 7 years ago

ffmpeg version N-88612-gce52e430b2 worked for me, I'll delete the dubious 3.4 on my box.

Note: See TracTickets for help on using tickets.