[FFmpeg-trac] #2526(undetermined:new): ffmpeg on windows crashes when using Avisynth 2.5.8
FFmpeg
trac at avcodec.org
Sat Jun 1 23:48:53 CEST 2013
#2526: ffmpeg on windows crashes when using Avisynth 2.5.8
-------------------------------------+-------------------------------------
Reporter: Zarxrax | Owner:
Type: defect | Status: new
Priority: important | Component:
Version: unspecified | undetermined
Keywords: regression | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by qyot27):
AviSynth 2.5.8 - official build from
http://sourceforge.net/projects/avisynth2/files/AviSynth%202.5/AviSynth%202.5.8/
Script:
{{{
AVISource("input.avi")
}}}
The actual video file and source filter used don't matter, it simply needs
to be loading a video file into the script.
{{{
ffmpeg -i test.avs
}}}
Crashes without even showing file info.
Backtrace, disassembler, and register info:
{{{
C:\dap\vid\Incoming Files>gdb ffmpeg
GNU gdb (GDB) 7.5.50.20130204-cvs
Copyright (C) 2013 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 "mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from C:\dap\vid\Incoming Files\ffmpeg.exe...done.
(gdb) r -i test.avs
Starting program: C:\dap\vid\Incoming Files\ffmpeg.exe -i test.avs
[New Thread 348.0x194]
ffmpeg version N-53721-gf70d021 Copyright (c) 2000-2013 the FFmpeg
developers
built on Jun 1 2013 17:15:00 with gcc 4.8.0 (GCC)
configuration: --prefix=/home/qyot27/win32_build --cross-
prefix=i686-w64-mingw32- --enab
le-gpl --enable-version3 --disable-w32threads --enable-avisynth --extra-
cflags=-DPTW32_STA
TIC_LIB --target-os=mingw32 --arch=x86 --enable-debug --disable-stripping
libavutil 52. 34.100 / 52. 34.100
libavcodec 55. 12.102 / 55. 12.102
libavformat 55. 8.102 / 55. 8.102
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 73.100 / 3. 73.100
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
warning: DllMain: hModule=0x10000000, ulReason=1, lpReserved=0x00000000,
gRefCnt = 0
[New Thread 348.0x578]
warning: DllMain: hModule=0x10000000, ulReason=2, lpReserved=0x00000000,
gRefCnt = 0
gdb: unknown target exception 0xe06d7363 at 0x7c812afb
Program received signal ?, Unknown signal.
0x7c812afb in RaiseException () from C:\WINDOWS\system32\kernel32.dll
(gdb) bt
#0 0x7c812afb in RaiseException () from C:\WINDOWS\system32\kernel32.dll
#1 0x77c2272c in msvcrt!_CxxThrowException () from
C:\WINDOWS\system32\msvcrt.dll
#2 0x1001269e in ?? () from C:\WINDOWS\system32\avisynth.dll
#3 0x0509b698 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) disass $pc-32,$pc+32
Dump of assembler code from 0x7c812adb to 0x7c812b1b:
0x7c812adb <RaiseException+50>: stc
0x7c812adc <RaiseException+51>: (bad)
0x7c812add <RaiseException+52>: ja 0x7c844950
<ValidateLocale+45352>
0x7c812ae3 <RaiseException+58>: test %ecx,%ecx
0x7c812ae5 <RaiseException+60>: mov %ecx,-0x40(%ebp)
0x7c812ae8 <RaiseException+63>: je 0x7c812af1
<RaiseException+72>
0x7c812aea <RaiseException+65>: push %edi
0x7c812aeb <RaiseException+66>: lea -0x3c(%ebp),%edi
0x7c812aee <RaiseException+69>: rep movsl %ds:(%esi),%es:(%edi)
0x7c812af0 <RaiseException+71>: pop %edi
0x7c812af1 <RaiseException+72>: lea -0x50(%ebp),%eax
0x7c812af4 <RaiseException+75>: push %eax
0x7c812af5 <RaiseException+76>: call *0x7c801510
=> 0x7c812afb <RaiseException+82>: pop %esi
0x7c812afc <RaiseException+83>: leave
0x7c812afd <RaiseException+84>: ret $0x10
0x7c812b00 <RaiseException+87>: test %edi,%edi
0x7c812b02 <RaiseException+89>: jle 0x7c80be3e
<KERNEL32!IsBadCodePtr+207>
0x7c812b08 <RaiseException+95>: mov -0x4(%ebp),%edx
0x7c812b0b <RaiseException+98>: mov %edx,0xc(%ebp)
0x7c812b0e <RaiseException+101>: movzwl (%esi),%edx
0x7c812b11 <RaiseException+104>: mov -0x8(%ebp),%edi
0x7c812b14 <RaiseException+107>: mov (%edx,%edi,1),%dl
0x7c812b17 <RaiseException+110>: mov %dl,(%ecx)
0x7c812b19 <RaiseException+112>: mov 0xc(%eax),%edi
End of assembler dump.
(gdb) info all-registers
eax 0x22d4f0 2282736
ecx 0x0 0
edx 0x22d590 2282896
ebx 0x51968b0 85551280
esp 0x22d4ec 0x22d4ec
ebp 0x22d540 0x22d540
esi 0x22d580 2282880
edi 0x22d580 2282880
eip 0x7c812afb 0x7c812afb <RaiseException+82>
eflags 0x200206 [ PF IF ID ]
cs 0x1b 27
ss 0x23 35
ds 0x23 35
es 0x23 35
fs 0x3b 59
gs 0x0 0
st0 -nan(0xe1e2e2e2e1e3e2e2) (raw 0xffffe1e2e2e2e1e3e2e2)
st1 -nan(0xe0e1e0e0e2e1e2e1) (raw 0xffffe0e1e0e0e2e1e2e1)
st2 -nan(0xe2e0e3e2e0e1e1df) (raw 0xffffe2e0e3e2e0e1e1df)
st3 -nan(0xe2e1e1e2e1e0e2e1) (raw 0xffffe2e1e1e2e1e0e2e1)
st4 -nan(0xe1e2e1e1e2e3e1e2) (raw 0xffffe1e2e1e1e2e3e1e2)
st5 -nan(0xe2e1e4e2e4e3e2e2) (raw 0xffffe2e1e4e2e4e3e2e2)
st6 -nan(0xe1e1e3e2e3e0e2e2) (raw 0xffffe1e1e3e2e3e0e2e2)
st7 -nan(0xe2e1e1e2e2e1e3e2) (raw 0xffffe2e1e1e2e2e1e3e2)
fctrl 0xffff037f -64641
fstat 0xffff0420 -64480
ftag 0xffffffff -1
fiseg 0x1b 27
fioff 0x4a32ca 4862666
foseg 0xffff0023 -65501
fooff 0xbbd120 12308768
fop 0x5d8 1496
xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x40, 0x92, 0xcc, 0x1, 0x28,
0x1, 0x0,
0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x9240, 0x1cc, 0x128, 0x0},
v4_int32 = {0x0,
0x0, 0x1cc9240, 0x128}, v2_int64 = {0x0, 0x12801cc9240},
uint128 = 0x0000012801cc92400000000000000000}
xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {
0x48, 0x92, 0xcc, 0x1, 0x62, 0x6f, 0x1, 0x1e, 0xa0, 0x2, 0x3a, 0x0,
0x20, 0x1, 0x0,
0x0}, v8_int16 = {0x9248, 0x1cc, 0x6f62, 0x1e01, 0x2a0, 0x3a, 0x120,
0x0},
v4_int32 = {0x1cc9248, 0x1e016f62, 0x3a02a0, 0x120}, v2_int64 =
{0x1e016f6201cc9248,
0x120003a02a0}, uint128 = 0x00000120003a02a01e016f6201cc9248}
xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {
0xff, 0xff, 0x0, 0x0, 0x0, 0x0, 0x3a, 0x0, 0xcc, 0xe0, 0x5f, 0x1, 0x3,
0x0, 0x0,
0x0}, v8_int16 = {0xffff, 0x0, 0x0, 0x3a, 0xe0cc, 0x15f, 0x3, 0x0},
v4_int32 = {
0xffff, 0x3a0000, 0x15fe0cc, 0x3}, v2_int64 = {0x3a00000000ffff,
0x3015fe0cc},
uint128 = 0x00000003015fe0cc003a00000000ffff}
xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {
0x34, 0xe3, 0x5f, 0x1, 0xc5, 0x81, 0x0, 0x1e, 0x88, 0x0, 0x0, 0x0,
0x40, 0xf, 0xc9,
0x1}, v8_int16 = {0xe334, 0x15f, 0x81c5, 0x1e00, 0x88, 0x0, 0xf40,
0x1c9},
v4_int32 = {0x15fe334, 0x1e0081c5, 0x88, 0x1c90f40}, v2_int64 =
{0x1e0081c5015fe334,
0x1c90f4000000088}, uint128 = 0x01c90f40000000881e0081c5015fe334}
xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {
0x30, 0xf, 0xc9, 0x1, 0x34, 0xe3, 0x5f, 0x1, 0x18, 0xe3, 0x5f, 0x1,
0xb5, 0x5e,
0x0, 0x1e}, v8_int16 = {0xf30, 0x1c9, 0xe334, 0x15f, 0xe318, 0x15f,
0x5eb5,
0x1e00}, v4_int32 = {0x1c90f30, 0x15fe334, 0x15fe318, 0x1e005eb5},
v2_int64 = {
0x15fe33401c90f30, 0x1e005eb5015fe318},
uint128 = 0x1e005eb5015fe318015fe33401c90f30}
xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {
0x34, 0xe3, 0x5f, 0x1, 0x38, 0xe3, 0x5f, 0x1, 0x1, 0x0, 0x0, 0x0,
0xa0, 0xc4, 0xc4,
0x1}, v8_int16 = {0xe334, 0x15f, 0xe338, 0x15f, 0x1, 0x0, 0xc4a0,
0x1c4},
v4_int32 = {0x15fe334, 0x15fe338, 0x1, 0x1c4c4a0}, v2_int64 =
{0x15fe338015fe334,
0x1c4c4a000000001}, uint128 = 0x01c4c4a000000001015fe338015fe334}
xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {
0x0, 0x0, 0x0, 0x0, 0x6c, 0xe4, 0x5f, 0x1, 0x0, 0x0, 0x0, 0x0, 0x3c,
0xe3, 0x5f,
0x1}, v8_int16 = {0x0, 0x0, 0xe46c, 0x15f, 0x0, 0x0, 0xe33c, 0x15f},
v4_int32 = {
0x0, 0x15fe46c, 0x0, 0x15fe33c}, v2_int64 = {0x15fe46c00000000,
0x15fe33c00000000},
uint128 = 0x015fe33c00000000015fe46c00000000}
xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {
0x41, 0x83, 0x0, 0x1e, 0x34, 0xe3, 0x5f, 0x1, 0x38, 0xe3, 0x5f, 0x1,
0x0, 0x0, 0x0,
0x0}, v8_int16 = {0x8341, 0x1e00, 0xe334, 0x15f, 0xe338, 0x15f, 0x0,
0x0},
v4_int32 = {0x1e008341, 0x15fe334, 0x15fe338, 0x0}, v2_int64 =
{0x15fe3341e008341,
0x15fe338}, uint128 = 0x00000000015fe338015fe3341e008341}
mxcsr 0x1f80 [ IM DM ZM OM UM PM ]
mm0 {uint64 = 0xe1e2e2e2e1e3e2e2, v2_int32 = {0xe1e3e2e2,
0xe1e2e2e2},
v4_int16 = {0xe2e2, 0xe1e3, 0xe2e2, 0xe1e2}, v8_int8 = {0xe2, 0xe2,
0xe3, 0xe1, 0xe2,
0xe2, 0xe2, 0xe1}}
mm1 {uint64 = 0xe0e1e0e0e2e1e2e1, v2_int32 = {0xe2e1e2e1,
0xe0e1e0e0},
v4_int16 = {0xe2e1, 0xe2e1, 0xe0e0, 0xe0e1}, v8_int8 = {0xe1, 0xe2,
0xe1, 0xe2, 0xe0,
0xe0, 0xe1, 0xe0}}
mm2 {uint64 = 0xe2e0e3e2e0e1e1df, v2_int32 = {0xe0e1e1df,
0xe2e0e3e2},
v4_int16 = {0xe1df, 0xe0e1, 0xe3e2, 0xe2e0}, v8_int8 = {0xdf, 0xe1,
0xe1, 0xe0, 0xe2,
0xe3, 0xe0, 0xe2}}
mm3 {uint64 = 0xe2e1e1e2e1e0e2e1, v2_int32 = {0xe1e0e2e1,
0xe2e1e1e2},
v4_int16 = {0xe2e1, 0xe1e0, 0xe1e2, 0xe2e1}, v8_int8 = {0xe1, 0xe2,
0xe0, 0xe1, 0xe2,
0xe1, 0xe1, 0xe2}}
mm4 {uint64 = 0xe1e2e1e1e2e3e1e2, v2_int32 = {0xe2e3e1e2,
0xe1e2e1e1},
v4_int16 = {0xe1e2, 0xe2e3, 0xe1e1, 0xe1e2}, v8_int8 = {0xe2, 0xe1,
0xe3, 0xe2, 0xe1,
0xe1, 0xe2, 0xe1}}
mm5 {uint64 = 0xe2e1e4e2e4e3e2e2, v2_int32 = {0xe4e3e2e2,
0xe2e1e4e2},
v4_int16 = {0xe2e2, 0xe4e3, 0xe4e2, 0xe2e1}, v8_int8 = {0xe2, 0xe2,
0xe3, 0xe4, 0xe2,
0xe4, 0xe1, 0xe2}}
mm6 {uint64 = 0xe1e1e3e2e3e0e2e2, v2_int32 = {0xe3e0e2e2,
0xe1e1e3e2},
v4_int16 = {0xe2e2, 0xe3e0, 0xe3e2, 0xe1e1}, v8_int8 = {0xe2, 0xe2,
0xe0, 0xe3, 0xe2,
0xe3, 0xe1, 0xe1}}
mm7 {uint64 = 0xe2e1e1e2e2e1e3e2, v2_int32 = {0xe2e1e3e2,
0xe2e1e1e2},
v4_int16 = {0xe3e2, 0xe2e1, 0xe1e2, 0xe2e1}, v8_int8 = {0xe2, 0xe3,
0xe1, 0xe2, 0xe2,
0xe1, 0xe1, 0xe2}}
(gdb)
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2526#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list