Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#2284 closed defect (invalid)

Regression crash bug: OK with 20130215-git-4a6fa79-win64-static

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

Description

Build of 16 & 17 Feb crash FFmpeg, previous OK

OK with 20130215-git-4a6fa79-win64-static

F:\danses\Salsa\Salsa Odance>C:\PortableApps\MM\FFmpeg_regression\ffmpeg-20130215-git-4a6fa79-win64-static\ffmpeg.exe -y -i crash.mp4 out.mp4
ffmpeg version N-49972-g4a6fa79 Copyright (c) 2000-2013 the FFmpeg developers
  built on Feb 15 2013 00:27:28 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-lib
mp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-am
rwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 17.101 / 52. 17.101
  libavcodec     54. 91.103 / 54. 91.103
  libavformat    54. 63.100 / 54. 63.100
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 37.101 /  3. 37.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'crash.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    title           : 2013-02-14 Salsa Mike.mp4
    encoder         : Lavf54.63.100
    genre           : Danse Salsa
  Duration: 00:00:05.10, start: 0.066667, bitrate: 2100 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 832x688 [SAR 1:1 DAR 52:43], 2002 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 24000 Hz, mono, fltp, 128 kb/s
    Metadata:
      handler_name    : SoundHandler
[libx264 @ 000000000035fb20] using SAR=1/1
[libx264 @ 000000000035fb20] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
[libx264 @ 000000000035fb20] profile High, level 3.1
[libx264 @ 000000000035fb20] 264 - core 129 r2245 bc13772 - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range
=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weig
htb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'out.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    title           : 2013-02-14 Salsa Mike.mp4
    genre           : Danse Salsa
    encoder         : Lavf54.63.100
    Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 832x688 [SAR 1:1 DAR 52:43], q=-1--1, 30k tbn, 29.97 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac ([64][0][0][0] / 0x0040), 24000 Hz, mono, s16, 128 kb/s
    Metadata:
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> libx264)
  Stream #0:1 -> #0:1 (aac -> libvo_aacenc)
Press [q] to stop, [?] for help
frame=  152 fps= 25 q=-1.0 Lsize=    1210kB time=00:00:05.13 bitrate=1928.9kbits/s dup=2 drop=0
video:1124kB audio:81kB subtitle:0 global headers:0kB muxing overhead 0.407050%
[libx264 @ 000000000035fb20] frame I:1     Avg QP:20.93  size: 20890
[libx264 @ 000000000035fb20] frame P:108   Avg QP:22.70  size:  8974
[libx264 @ 000000000035fb20] frame B:43    Avg QP:24.49  size:  3719
[libx264 @ 000000000035fb20] consecutive B-frames: 44.1% 53.9%  2.0%  0.0%
[libx264 @ 000000000035fb20] mb I  I16..4: 28.8% 67.0%  4.2%
[libx264 @ 000000000035fb20] mb P  I16..4:  8.0% 14.8%  0.5%  P16..4: 47.5%  9.3%  4.0%  0.0%  0.0%    skip:15.8%
[libx264 @ 000000000035fb20] mb B  I16..4:  0.6%  1.1%  0.0%  B16..8: 38.0%  3.9%  0.7%  direct: 6.3%  skip:49.3%  L0:47.2% L1:44.0% BI: 8.7%
[libx264 @ 000000000035fb20] 8x8 transform intra:63.4% inter:87.3%
[libx264 @ 000000000035fb20] coded y,uvDC,uvAC intra: 25.1% 67.3% 9.7% inter: 15.4% 37.1% 0.7%
[libx264 @ 000000000035fb20] i16 v,h,dc,p: 49% 26% 18%  8%
[libx264 @ 000000000035fb20] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 18% 45%  2%  2%  3%  3%  2%  2%
[libx264 @ 000000000035fb20] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 15% 17%  5%  9% 12%  8%  6%  5%
[libx264 @ 000000000035fb20] i8c dc,h,v,p: 47% 25% 24%  3%
[libx264 @ 000000000035fb20] Weighted P-Frames: Y:0.9% UV:0.0%
[libx264 @ 000000000035fb20] ref P L0: 63.8% 11.0% 16.7%  8.4%  0.1%
[libx264 @ 000000000035fb20] ref B L0: 83.0% 17.0%
[libx264 @ 000000000035fb20] kb/s:1813.96

F:\danses\Salsa\Salsa Odance>

Now with later builds (execution crash):

F:\danses\Salsa\Salsa Odance>ffmpeg.exe -y -i crash.mp4 out.mp4
ffmpeg version N-49997-gb9c5448 Copyright (c) 2000-2013 the FFmpeg developers
  built on Feb 16 2013 02:32:10 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-lib
mp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-am
rwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 17.101 / 52. 17.101
  libavcodec     54. 91.103 / 54. 91.103
  libavformat    54. 63.100 / 54. 63.100
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 37.103 /  3. 37.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'crash.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    title           : 2013-02-14 Salsa Mike.mp4
    encoder         : Lavf54.63.100
    genre           : Danse Salsa
  Duration: 00:00:05.10, start: 0.066667, bitrate: 2100 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 832x688 [SAR 1:1 DAR 52:43], 2002 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 24000 Hz, mono, fltp, 128 kb/s
    Metadata:
      handler_name    : SoundHandler
[libx264 @ 00000000003b7700] using SAR=1/1
[libx264 @ 00000000003b7700] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
[libx264 @ 00000000003b7700] profile High, level 3.1
[libx264 @ 00000000003b7700] 264 - core 129 r2245 bc13772 - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range
=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weig
htb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'out.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    title           : 2013-02-14 Salsa Mike.mp4
    genre           : Danse Salsa
    encoder         : Lavf54.63.100
    Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 832x688 [SAR 1:1 DAR 52:43], q=-1--1, 30k tbn, 29.97 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac ([64][0][0][0] / 0x0040), 24000 Hz, mono, s16, 128 kb/s
    Metadata:
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> libx264)
  Stream #0:1 -> #0:1 (aac -> libvo_aacenc)
Press [q] to stop, [?] for help
frame=   46 fps=0.0 q=0.0 size=       0kB time=00:00:01.64 bitrate=   0.2kbits/s dup=2 drop=0

Attachments (1)

crash.mp4 (1.3 MB ) - added by feelart 11 years ago.
Crash builds of 2013-02-16 & 2013-02-17

Download all attachments as: .zip

Change History (9)

by feelart, 11 years ago

Attachment: crash.mp4 added

Crash builds of 2013-02-16 & 2013-02-17

comment:1 by Carl Eugen Hoyos, 11 years ago

Priority: criticalimportant

(Works fine here.)
Does it also crash with -an or -vn?
Does it also crash without external libraries, ie if you specify -strict -2 -acodec aac -vcodec mpeg4?

comment:2 by feelart, 11 years ago

Do crash with -an

Does not crash with -vn.

Does not crash with -strict -2 -acodec aac -vcodec mpeg4

comment:3 by feelart, 11 years ago

Do crash with
ffmpeg -y -i crash.mp4 -an -strict -2 -vcodec libx264 out.mp4

Does not crash with
ffmpeg -y -i crash.mp4 -an -strict -2 -vcodec libxvid out.mp4

Culprit libx264 ?

(Works fine here.)

Running Win7 64bits? builds from http://ffmpeg.zeranoe.com/builds/win64/static/

Last edited 11 years ago by feelart (previous) (diff)

in reply to:  3 comment:4 by Carl Eugen Hoyos, 11 years ago

Replying to feelart:

Do crash with
ffmpeg -y -i crash.mp4 -an -strict -2 -vcodec libx264 out.mp4

Does not crash with
ffmpeg -y -i crash.mp4 -an -strict -2 -vcodec libxvid out.mp4

That means that a backtrace is required to show that this is not a problem with x264.

comment:5 by feelart, 11 years ago

backtrace

RE: http://ffmpeg.org/bugreports.html
I'm not sure I can do it.
I've never done it and in the bin directory I've:
ffmpeg, ffplay and ffprobe

comment:6 by jamal, 11 years ago

You can download gbd x86_64 from here: http://sourceforge.net/projects/mingw-w64/files/External%20binary%20packages%20%28Win64%20hosted%29/gdb/

You can then follow the instructions from the bug report guide page to get a backtrace.
Ignore the Valgrind section since that's not available for Windows.

comment:7 by Carl Eugen Hoyos, 11 years ago

Priority: importantnormal
Resolution: invalid
Status: newclosed

comment:8 by feelart, 11 years ago

I confirm bug is now closed

FYI: bug 2289 is still open

Note: See TracTickets for help on using tickets.