[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 17:46:10 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):
D:\ffmpeg-git\bin\20150730>gdb --args ffmpeg_g -i input.mp4 -c:v h264_qsv
output.mp4
GNU gdb (GDB) 7.9
Copyright (C) 2015 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_g...done.
(gdb) r
Starting program: D:\ffmpeg-git\bin\20150730\ffmpeg_g.exe -i input.mp4
-c:v h264_qsv output.mp4
[New Thread 5136.0x11b4]
ffmpeg version N-74165-ga0123b6 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/sandbox/mingw-w64-x86_64/bin/x86_64-w64-mingw32- --pkg-
config=pkg-config
--enable-gpl --enable-libsoxr --enable-fontconfig --enable-libass
--enable-libutvideo --enable-libbluray --enable-iconv --enable-libtwolame
--extra-cf
lags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-libcaca --enable-
libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enable-libvidstab
--enable-l
ibx265 --extra-libs=-loleaut32 --enable-libx264 --enable-libxvid --enable-
libmp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-
libvorb
is --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-
gnutls --enable-libgsm --enable-libfreetype --enable-libopus --disable-
w32thread
s --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-
bzlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
libvo-amr
wbenc --enable-libschroedinger --enable-libvpx --enable-libilbc --enable-
libwavpack --enable-libwebp --enable-libgme --enable-dxva2 --enable-
libdcadec
--enable-avisynth --enable-libxavs --enable-libmfx --enable-static
--disable-shared --extra-cflags=
--prefix=/home/mint/sandbox/mingw-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. 56.101 / 56. 56.101
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 30.100 / 5. 30.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 'input.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, fltp, 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 5136.0x148c]
[New Thread 5136.0xf9c]
[New Thread 5136.0x1750]
[New Thread 5136.0x45c]
[New Thread 5136.0xb00]
[New Thread 5136.0xb54]
[New Thread 5136.0x6d8]
[New Thread 5136.0xc28]
[New Thread 5136.0xaa8]
[New Thread 5136.0x1770]
[New Thread 5136.0x1724]
[New Thread 5136.0x7c4]
[New Thread 5136.0x11e8]
[New Thread 5136.0x1234]
[New Thread 5136.0xa4c]
[New Thread 5136.0x5f0]
[New Thread 5136.0x1480]
[New Thread 5136.0x13d8]
[New Thread 5136.0x6f0]
[New Thread 5136.0x1558]
[New Thread 5136.0x68c]
[New Thread 5136.0x16c8]
[New Thread 5136.0x2d8]
[New Thread 5136.0x3fc]
[New Thread 5136.0x64c]
[New Thread 5136.0x1518]
[New Thread 5136.0xb20]
[New Thread 5136.0x1070]
[New Thread 5136.0xe8]
[New Thread 5136.0x1284]
[New Thread 5136.0xe24]
[New Thread 5136.0x16a0]
[New Thread 5136.0xd74]
[New Thread 5136.0xea4]
[Thread 5136.0x6f0 exited with code 13430016]
[Thread 5136.0x2d8 exited with code 13430020]
[Thread 5136.0x68c exited with code 13430018]
[Thread 5136.0x1558 exited with code 13430017]
[Thread 5136.0x16c8 exited with code 13430019]
[Thread 5136.0x3fc exited with code 13430021]
[Thread 5136.0x64c exited with code 13430022]
[Thread 5136.0x1518 exited with code 13430023]
[New Thread 5136.0x438]
[New Thread 5136.0x166c]
[New Thread 5136.0x13c8]
[New Thread 5136.0x120c]
[New Thread 5136.0x1298]
[New Thread 5136.0x14b4]
[New Thread 5136.0xf5c]
[New Thread 5136.0x11cc]
[New Thread 5136.0x9c8]
[New Thread 5136.0x15e8]
[New Thread 5136.0x2d4]
[New Thread 5136.0x618]
[New Thread 5136.0x1474]
[New Thread 5136.0x1598]
[New Thread 5136.0x15e0]
[New Thread 5136.0x510]
[New Thread 5136.0x15a8]
Output #0, mp4, to 'output.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, 1280x720 [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.56.101 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.56.101 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 5136.0x14b8]
[New Thread 5136.0x1128].0 size= 585kB time=00:00:05.78 bitrate=
828.9kbits/s
Program received signal SIGINT, Interrupt.
[Switching to Thread 5136.0x1128]
0x00007ffea1623233 in RegLoadMUIStringA () from
C:\WINDOWS\system32\KernelBase.dll
(gdb) bt
#0 0x00007ffea1623233 in RegLoadMUIStringA () from
C:\WINDOWS\system32\KernelBase.dll
#1 0x00007ffea37d13d2 in KERNEL32!BaseThreadInitThunk () from
C:\WINDOWS\system32\kernel32.dll
#2 0x00007ffea4065444 in ntdll!RtlUserThreadStart () from
C:\WINDOWS\SYSTEM32\ntdll.dll
#3 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) disass $pc-32,$pc+32
Dump of assembler code from 0x7ffea1623213 to 0x7ffea1623253:
0x00007ffea1623213 <RegLoadMUIStringA+51699>: fs and $0x38,%al
0x00007ffea1623216 <RegLoadMUIStringA+51702>: add
%cl,-0x73(%rax)
0x00007ffea1623219 <RegLoadMUIStringA+51705>: add
$0xfff80422,%eax
0x00007ffea162321e <RegLoadMUIStringA+51710>: mov
%rax,0x40(%rsp)
0x00007ffea1623223 <RegLoadMUIStringA+51715>: andl
$0x0,0x48(%rsp)
0x00007ffea1623228 <RegLoadMUIStringA+51720>: lea
0x30(%rsp),%rcx
0x00007ffea162322d <RegLoadMUIStringA+51725>: callq
*0x5643d(%rip) # 0x7ffea1679670
=> 0x00007ffea1623233 <RegLoadMUIStringA+51731>: nop
0x00007ffea1623234 <RegLoadMUIStringA+51732>: jmpq
0x7ffea160681c <KERNELBASE!BemCreateContractFrom+33004>
0x00007ffea1623239 <RegLoadMUIStringA+51737>: nop
0x00007ffea162323a <RegLoadMUIStringA+51738>: nop
0x00007ffea162323b <RegLoadMUIStringA+51739>: nop
0x00007ffea162323c <RegLoadMUIStringA+51740>: lea
0x41cfd(%rip),%rcx # 0x7ffea1664f40
0x00007ffea1623243 <RegLoadMUIStringA+51747>: callq
*0x55e87(%rip) # 0x7ffea16790d0
0x00007ffea1623249 <RegLoadMUIStringA+51753>: nop
0x00007ffea162324a <RegLoadMUIStringA+51754>: mov
0x28(%rsp),%esi
0x00007ffea162324e <RegLoadMUIStringA+51758>: test %esi,%esi
0x00007ffea1623250 <RegLoadMUIStringA+51760>: jne
0x7ffea1623265 <RegLoadMUIStringA+51781>
0x00007ffea1623252 <RegLoadMUIStringA+51762>: mov
%gs:0x60,%rax
End of assembler dump.
(gdb) info all-registers
rax 0x7ffea406cc08 140731650329608
rbx 0x196cfe70 426573424
rcx 0x3cbb058 63680600
rdx 0x1070000 17235968
rsi 0x7ffea40a3965 140731650554213
rdi 0xc0000026 3221225510
rbp 0x0 0x0
rsp 0x196cfe40 0x196cfe40
r8 0x0 0
r9 0x7ffea4050000 140731650211840
r10 0x196cfad0 426572496
r11 0x7ffe8bca05a8 140731243693480
r12 0x0 0
r13 0x0 0
r14 0x0 0
r15 0x0 0
rip 0x7ffea1623233 0x7ffea1623233 <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 0xbf180000000000000000)
st1 -nan(0x000000060) (raw 0xffff0000000000000060)
st2 -1.734723475947516e-018 (raw 0xbfc3ffffffffed6f40e7)
st3 0 (raw 0x000000007ffea406bff6)
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 0x1290bd40 311475520
foseg 0x0 0
fooff 0x48 72
fop 0x0 0
xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x70, 0xc0, 0x6, 0xa4, 0xfe, 0x7f, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xc070, 0xa406, 0x7ffe, 0x0,
0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xa406c070, 0x7ffe, 0x0, 0x0}, v2_int64 =
{
0x7ffea406c070, 0x0}, uint128 = 0x000000000000000000007ffea406c070}
xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xa3, 0x8f, 0x6, 0xa4,
0xfe, 0x7f, 0x0, 0x0}, v8_int16 = {0x1, 0x0, 0x0, 0x0, 0x8fa3, 0xa406,
0x7ffe, 0x0}, v4_int32 = {0x1, 0x0, 0xa4068fa3, 0x7ffe}, v2_int64 = {
0x1, 0x7ffea4068fa3}, uint128 = 0x00007ffea4068fa30000000000000001}
xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0, 0xa0, 0xca, 0xff, 0xf5, 0x7f, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xa000, 0xffca, 0x7ff5, 0x0,
0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xffcaa000, 0x7ff5, 0x0, 0x0}, v2_int64 =
{
---Type <return> to continue, or q <return> to quit---
0x7ff5ffcaa000, 0x0}, uint128 = 0x000000000000000000007ff5ffcaa000}
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},
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},
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,
---Type <return> to continue, or q <return> to quit---
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:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list