[FFmpeg-trac] #4736(undetermined:new): h264_qsv and hevc_qsv crashes on windows 8.1 (q=-0.0)

FFmpeg trac at avcodec.org
Thu Jul 30 05:56:23 CEST 2015


#4736: h264_qsv and hevc_qsv crashes on windows 8.1 (q=-0.0)
-------------------------------------+-------------------------------------
             Reporter:  rmkimathi    |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  qsv crash    |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by rmkimathi):

 Replying to [comment:2 cehoyos]:
 > Please provide backtrace etc. for crashes as explained on
 https://ffmpeg.org/bugreports.html
 ====

 D:\ffmpeg-git\bin\20150726>gdb ffmpeg
 GNU gdb (GDB) 7.7.50.20140303-cvs
 Copyright (C) 2014 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
 and "show warranty" for details.
 This GDB was configured as "x86_64-w64-mingw32".
 Type "show configuration" for configuration details.
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>.
 Find the GDB manual and other documentation resources online at:
 <http://www.gnu.org/software/gdb/documentation/>.
 For help, type "help".
 Type "apropos word" to search for commands related to "word".

 This binary was built by Equation Solution <http://www.Equation.com>...
 Reading symbols from ffmpeg...(no debugging symbols found)...done.
 (gdb) r -i pills.mp4 -c:v h264_qsv pills2.mp4
 Starting program: D:\ffmpeg-git\bin\20150726\ffmpeg.exe -i pills.mp4 -c:v
 h264_q
 sv pills2.mp4
 [New Thread 1212.0xf4]
 ffmpeg version N-74037-g7106dfd Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.9.2 (GCC)
   configuration: --arch=x86_64 --target-os=mingw32 --cross-
 prefix=/home/mint/san
 dbox/mingw-w64-x86_64/bin/x86_64-w64-mingw32- --pkg-config=pkg-config
 --enable-g
 pl --enable-libsoxr --enable-fontconfig --enable-libass --enable-
 libutvideo --en
 able-libbluray --enable-iconv --enable-libtwolame --extra-
 cflags=-DLIBTWOLAME_ST
 ATIC --enable-libzvbi --enable-libcaca --enable-libmodplug --extra-
 libs=-lstdc++
  --extra-libs=-lpng --enable-libvidstab --enable-libx265 --enable-decklink
 --ext
 ra-libs=-loleaut32 --enable-libx264 --enable-libxvid --enable-libmp3lame
 --enabl
 e-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-
 libtheora
 --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm
 --enable-
 libfreetype --enable-libopus --disable-w32threads --enable-frei0r
 --enable-filte
 r=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libopencore-amrnb
 --enabl
 e-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger
 --enable-li
 bvpx --enable-libilbc --enable-libwavpack --enable-libwebp --enable-libgme
 --ena
 ble-dxva2 --enable-libdcadec --enable-avisynth --enable-libxavs --enable-
 libmfx
 --enable-static --disable-shared --extra-cflags=
 --prefix=/home/mint/sandbox/min
 gw-w64-x86_64/x86_64-w64-mingw32 --extra-libs=-lpsapi --enable-nonfree
 --enable-
 libfdk-aac --disable-libfaac --enable-runtime-cpudetect
   libavutil      54. 29.100 / 54. 29.100
   libavcodec     56. 55.100 / 56. 55.100
   libavformat    56. 40.101 / 56. 40.101
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 29.100 /  5. 29.100
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.101 /  1.  2.101
   libpostproc    53.  3.100 / 53.  3.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'pills.mp4':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: isommp42
     creation_time   : 2014-06-22 20:34:13
   Duration: 00:04:33.02, start: 0.000000, bitrate: 1316 kb/s
     Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
 1280x720
 [SAR 1:1 DAR 16:9], 1122 kb/s, 24 fps, 24 tbr, 24 tbn, 48 tbc (default)
     Metadata:
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
 stereo, flt
 p, 191 kb/s (default)
     Metadata:
       creation_time   : 2014-06-22 20:34:15
       handler_name    : IsoMedia File Produced by Google, 5-11-2011
 [New Thread 1212.0x1644]
 [New Thread 1212.0x1650]
 [New Thread 1212.0xd50]
 [New Thread 1212.0xcb0]
 [New Thread 1212.0x114c]
 [New Thread 1212.0xdc0]
 [New Thread 1212.0x1374]
 [New Thread 1212.0xf9c]
 [New Thread 1212.0xb18]
 [New Thread 1212.0x11dc]
 [New Thread 1212.0xcc0]
 [New Thread 1212.0x17e4]
 [New Thread 1212.0x1160]
 [New Thread 1212.0x12cc]
 [New Thread 1212.0x16f8]
 [New Thread 1212.0x1710]
 [New Thread 1212.0x150c]
 [New Thread 1212.0x1514]
 [New Thread 1212.0xb6c]
 [New Thread 1212.0x167c]
 [New Thread 1212.0x169c]
 [New Thread 1212.0x1104]
 [New Thread 1212.0x11a0]
 [New Thread 1212.0xf8c]
 [New Thread 1212.0xc6c]
 [New Thread 1212.0xb28]
 [New Thread 1212.0xd44]
 [New Thread 1212.0x750]
 [New Thread 1212.0x1368]
 [New Thread 1212.0x168c]
 [New Thread 1212.0x4c8]
 [New Thread 1212.0x10e8]
 [New Thread 1212.0x106c]
 [New Thread 1212.0x60]
 [Thread 1212.0xb6c exited with code 13430016]
 [Thread 1212.0x11a0 exited with code 13430020]
 [Thread 1212.0x169c exited with code 13430018]
 [Thread 1212.0x167c exited with code 13430017]
 [Thread 1212.0x1104 exited with code 13430019]
 [Thread 1212.0xf8c exited with code 13430021]
 [Thread 1212.0xc6c exited with code 13430022]
 [Thread 1212.0xb28 exited with code 13430023]
 [New Thread 1212.0x668]
 [New Thread 1212.0x1188]
 [New Thread 1212.0x177c]
 [New Thread 1212.0xb38]
 [New Thread 1212.0x1158]
 [New Thread 1212.0xba0]
 [New Thread 1212.0xd3c]
 [New Thread 1212.0xb94]
 [New Thread 1212.0x1208]
 [New Thread 1212.0xb24]
 [New Thread 1212.0x1584]
 [New Thread 1212.0x874]
 [New Thread 1212.0x11b8]
 [New Thread 1212.0x17f8]
 [New Thread 1212.0x5c0]
 [New Thread 1212.0x9b4]
 [New Thread 1212.0x1378]
 Output #0, mp4, to 'pills2.mp4':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: isommp42
     encoder         : Lavf56.40.101
     Stream #0:0(und): Video: h264 (h264_qsv) ([33][0][0][0] / 0x0021),
 nv12, 128
 0x720 [SAR 1:1 DAR 16:9], q=2-31, 1000 kb/s, 24 fps, 12288 tbn, 24 tbc
 (default)

     Metadata:
       handler_name    : VideoHandler
       encoder         : Lavc56.55.100 h264_qsv
     Stream #0:1(und): Audio: aac (libfdk_aac) ([64][0][0][0] / 0x0040),
 44100 Hz
 , stereo, s16, 128 kb/s (default)
     Metadata:
       creation_time   : 2014-06-22 20:34:15
       handler_name    : IsoMedia File Produced by Google, 5-11-2011
       encoder         : Lavc56.55.100 libfdk_aac
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_qsv))
   Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
 Press [q] to stop, [?] for help
 [New Thread 1212.0xf98]
 [New Thread 1212.0x70c]

 Program received signal SIGINT, Interrupt.
 [Switching to Thread 1212.0x70c]
 0x00007ffb68803233 in RegLoadMUIStringA ()
    from C:\WINDOWS\system32\KernelBase.dll
 (gdb) bt
 #0  0x00007ffb68803233 in RegLoadMUIStringA ()
    from C:\WINDOWS\system32\KernelBase.dll
 Backtrace stopped: previous frame identical to this frame (corrupt stack?)
 (gdb) disass $pc-32,$pc+32
 Dump of assembler code from 0x7ffb68803213 to 0x7ffb68803253:
    0x00007ffb68803213 <RegLoadMUIStringA+51699>:        fs
    0x00007ffb68803214 <RegLoadMUIStringA+51700>:        and    $0x38,%al
    0x00007ffb68803216 <RegLoadMUIStringA+51702>:        add
 %cl,-0x73(%rax)
    0x00007ffb68803219 <RegLoadMUIStringA+51705>:        add
 $0xfff80422,%eax
    0x00007ffb6880321e <RegLoadMUIStringA+51710>:        mov
 %rax,0x40(%rsp)
    0x00007ffb68803223 <RegLoadMUIStringA+51715>:        andl
 $0x0,0x48(%rsp)
    0x00007ffb68803228 <RegLoadMUIStringA+51720>:        lea
 0x30(%rsp),%rcx
    0x00007ffb6880322d <RegLoadMUIStringA+51725>:        callq
 *0x5643d(%rip)
      # 0x7ffb68859670
 => 0x00007ffb68803233 <RegLoadMUIStringA+51731>:        nop
    0x00007ffb68803234 <RegLoadMUIStringA+51732>:        jmpq
 0x7ffb687e681c <K
 ERNELBASE!BemCreateContractFrom+33004>
    0x00007ffb68803239 <RegLoadMUIStringA+51737>:        nop
    0x00007ffb6880323a <RegLoadMUIStringA+51738>:        nop
    0x00007ffb6880323b <RegLoadMUIStringA+51739>:        nop
    0x00007ffb6880323c <RegLoadMUIStringA+51740>:        lea
 0x41cfd(%rip),%rc
 x        # 0x7ffb68844f40
    0x00007ffb68803243 <RegLoadMUIStringA+51747>:        callq
 *0x55e87(%rip)
      # 0x7ffb688590d0
    0x00007ffb68803249 <RegLoadMUIStringA+51753>:        nop
    0x00007ffb6880324a <RegLoadMUIStringA+51754>:        mov
 0x28(%rsp),%esi
    0x00007ffb6880324e <RegLoadMUIStringA+51758>:        test   %esi,%esi
 ---Type <return> to continue, or q <return> to quit---
    0x00007ffb68803250 <RegLoadMUIStringA+51760>:        jne
 0x7ffb68803265 <R
 egLoadMUIStringA+51781>
    0x00007ffb68803252 <RegLoadMUIStringA+51762>:        mov
 %gs:0x60,%rax
 End of assembler dump.
 (gdb) info all-registers
 rax            0x7ffb6b42cc08   140717813058568
 rbx            0x1263f890       308541584
 rcx            0x3578058        56066136
 rdx            0x930000 9633792
 rsi            0x7ffb6b463965   140717813283173
 rdi            0xc0000026       3221225510
 rbp            0x0      0x0
 rsp            0x1263f860       0x1263f860
 r8             0x0      0
 r9             0x7ffb6b410000   140717812940800
 r10            0x1263f4f0       308540656
 r11            0x7ffb4d3a05a8   140717309167016
 r12            0x0      0
 r13            0x0      0
 r14            0x0      0
 r15            0x0      0
 rip            0x7ffb68803233   0x7ffb68803233 <RegLoadMUIStringA+51731>
 eflags         0x204    [ PF IF ]
 cs             0x33     51
 ss             0x2b     43
 ds             0x0      0
 es             0x0      0
 fs             0x0      0
 gs             0x0      0
 ---Type <return> to continue, or q <return> to quit---
 st0            <invalid float value>    (raw 0xbd380000000000000000)
 st1            -nan(0x000000060)        (raw 0xffff0000000000000060)
 st2            -1.7347234759588929e-018 (raw 0xbfc3fffffffff4a542c7)
 st3            0        (raw 0x000000007ffb6b42bff6)
 st4            <invalid float value>    (raw 0x00010000000000000048)
 st5            0        (raw 0x00000000000000000000)
 st6            -nan(0x000000070)        (raw 0xffff0000000000000070)
 st7            -4.8357032784585167e+024 (raw 0xc050ffffffffffffffff)
 fctrl          0x27f    639
 fstat          0x0      0
 ftag           0x0      0
 fiseg          0x0      0
 fioff          0xb5abb60        190495584
 foseg          0x0      0
 fooff          0x48     72
 fop            0x0      0
 xmm0           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
   v16_int8 = {0x70, 0xc0, 0x42, 0x6b, 0xfb, 0x7f, 0x0, 0x0, 0x0, 0x0, 0x0,
     0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xc070, 0x6b42, 0x7ffb, 0x0,
 0x0,
     0x0, 0x0, 0x0}, v4_int32 = {0x6b42c070, 0x7ffb, 0x0, 0x0}, v2_int64 =
 {
     0x7ffb6b42c070, 0x0}, uint128 = 0x000000000000000000007ffb6b42c070}
 xmm1           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
   v16_int8 = {0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xa3, 0x8f, 0x42,
 0x6b,
     0xfb, 0x7f, 0x0, 0x0}, v8_int16 = {0x1, 0x0, 0x0, 0x0, 0x8fa3, 0x6b42,
 ---Type <return> to continue, or q <return> to quit---
     0x7ffb, 0x0}, v4_int32 = {0x1, 0x0, 0x6b428fa3, 0x7ffb}, v2_int64 =
 {0x1,
     0x7ffb6b428fa3}, uint128 = 0x00007ffb6b428fa30000000000000001}
 xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
   v16_int8 = {0x0, 0xb0, 0x2e, 0xff, 0xf5, 0x7f, 0x0, 0x0, 0x0, 0x0, 0x0,
     0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xb000, 0xff2e, 0x7ff5, 0x0,
 0x0,
     0x0, 0x0, 0x0}, v4_int32 = {0xff2eb000, 0x7ff5, 0x0, 0x0}, v2_int64 =
 {
     0x7ff5ff2eb000, 0x0}, uint128 = 0x000000000000000000007ff5ff2eb000}
 xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
   v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0,
 0x0,
     0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0,
 0x0},
   uint128 = 0x00000000000000000000000000000000}
 xmm4           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
   v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0,
 0x0,
     0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0,
 0x0},
   uint128 = 0x00000000000000000000000000000000}
 xmm5           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
   v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0,
 0x0,
     0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0,
 0x0},
   uint128 = 0x00000000000000000000000000000000}
 xmm6           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
   v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0,
 0x0,
     0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0,
 0x0},
   uint128 = 0x00000000000000000000000000000000}
 xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
 ---Type <return> to continue, or q <return> to quit---
   v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0,
 0x0,
     0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0,
 0x0},
   uint128 = 0x00000000000000000000000000000000}
 xmm8           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
   v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0,
 0x0,
     0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0,
 0x0},
   uint128 = 0x00000000000000000000000000000000}
 xmm9           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
   v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0,
 0x0,
     0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0,
 0x0},
   uint128 = 0x00000000000000000000000000000000}
 xmm10          {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
   v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0,
 0x0,
     0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0,
 0x0},
   uint128 = 0x00000000000000000000000000000000}
 xmm11          {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
   v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0,
 0x0,
     0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0,
 0x0},
   uint128 = 0x00000000000000000000000000000000}
 xmm12          {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
   v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0,
 0x0,
     0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0,
 0x0},
   uint128 = 0x00000000000000000000000000000000}
 xmm13          {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
 ---Type <return> to continue, or q <return> to quit---
   v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0,
 0x0,
     0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0,
 0x0},
   uint128 = 0x00000000000000000000000000000000}
 xmm14          {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
   v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0,
 0x0,
     0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0,
 0x0},
   uint128 = 0x00000000000000000000000000000000}
 xmm15          {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
   v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0,
 0x0,
     0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0,
 0x0},
   uint128 = 0x00000000000000000000000000000000}
 mxcsr          0x1f80   [ IM DM ZM OM UM PM ]
 (gdb)

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


More information about the FFmpeg-trac mailing list