Log in

View Full Version : vdmod crashes


tasoss
24th April 2004, 21:43
Hello people.I'm using gordian knot 0.28.8 and there are some videos where the following problem appears:
When the first pass finishes vdmod crashes with
the following info:

VirtualDub crash report -- build 2439 (release)
--------------------------------------

Disassembly:
77fcc9a0: ff8b45d00146 dec dword ptr [ebx+4601d045]
77fcc9a6: 28e9 sub cl, ch
77fcc9a8: 70ff jo 77fcc9a9
77fcc9aa: ff db ff
77fcc9ab: ff807dd40074 inc dword ptr [eax+7400d47d]
77fcc9b1: 0e push cs
77fcc9b2: 8b45cc mov eax, [ebp-34]
77fcc9b5: ffb078050000 push dword ptr [eax+578]
77fcc9bb: e874c7fbff call 77f89134
77fcc9c0: c3 ret
77fcc9c1: 55 push ebp
77fcc9c2: 8bec mov ebp, esp
77fcc9c4: 53 push ebx
77fcc9c5: 56 push esi
77fcc9c6: 8b750c mov esi, [ebp+0c]
77fcc9c9: 8b5d08 mov ebx, [ebp+08]
77fcc9cc: 57 push edi
77fcc9cd: 8bfe mov edi, esi
77fcc9cf: 0fb74602 movzx eax, word ptr [esi+02]
77fcc9d3: c1e003 shl eax, 03
77fcc9d6: 2bf8 sub edi, eax
77fcc9d8: 3bfe cmp edi, esi
77fcc9da: 740a jz 77fcc9e6
77fcc9dc: f6470501 test [edi+05], 01
77fcc9e0: 0f8498e9ffff jz 77fcb37e
77fcc9e6: f6460510 test [esi+05], 10
77fcc9ea: 750f jnz 77fcc9fb
77fcc9ec: 8b4510 mov eax, [ebp+10]
77fcc9ef: 8b00 mov eax, [eax]
77fcc9f1: f644c60501 test [esi+eax*8+05], 01
77fcc9f6: 8d3cc6 lea edi, [esi+eax*8]
77fcc9f9: 7409 jz 77fcca04
77fcc9fb: 8bc6 mov eax, esi
77fcc9fd: 5f pop edi
77fcc9fe: 5e pop esi
77fcc9ff: 5b pop ebx
77fcca00: 5d pop ebp
77fcca01: c21000 ret 0010
77fcca04: 0fb70f movzx ecx, word ptr [edi]
77fcca07: 03c8 add ecx, eax
77fcca09: 81f900fe0000 cmp ecx, 0000fe00
77fcca0f: 77ea ja 77fcc9fb
77fcca11: 807d1400 cmp byte ptr [ebp+14], 00
77fcca15: 0f85fb210000 jnz 77fcec16
77fcca1b: 8a4705 mov al, [edi+05]
77fcca1e: 2410 and al, 10
77fcca20: a810 test al, 10
77fcca22: 884605 mov [esi+05], al
77fcca25: 754b jnz 77fcca72
77fcca27: 57 push edi
77fcca28: 53 push ebx
77fcca29: e80ccbfbff call 77f8953a
77fcca2e: 8b4f0c mov ecx, [edi+0c]
77fcca31: 8b4708 mov eax, [edi+08]
77fcca34: 3bc1 cmp eax, ecx
77fcca36: 8901 mov [ecx], eax <-- FAULT
77fcca38: 894804 mov [eax+04], ecx
77fcca3b: 0f8412e9ffff jz 77fcb353
77fcca41: 8a4705 mov al, [edi+05]
77fcca44: a804 test al, 04
77fcca46: 0f85cbe6ffff jnz 77fcb117
77fcca4c: 0fb70f movzx ecx, word ptr [edi]
77fcca4f: 8b4510 mov eax, [ebp+10]
77fcca52: 0108 add [eax], ecx
77fcca54: 0fb70f movzx ecx, word ptr [edi]
77fcca57: 294b28 sub [ebx+28], ecx
77fcca5a: 668b08 mov cx, [eax]
77fcca5d: f6460510 test [esi+05], 10
77fcca61: 66890e mov [esi], cx
77fcca64: 7595 jnz 77fcc9fb
77fcca66: 8b08 mov ecx, [eax]
77fcca68: 668b00 mov ax, [eax]
77fcca6b: 668944ce02 mov [esi+ecx*8+02], ax
77fcca70: eb89 jmp 77fcc9fb
77fcca72: 0fb64604 movzx eax, byte ptr [esi+04]
77fcca76: 8b448358 mov eax, [ebx+eax*4+58]
77fcca7a: 897038 mov [eax+38], esi
77fcca7d: eba8 jmp 77fcca27
77fcca7f: 8945f0 mov [ebp-10], eax
77fcca82: e99d020000 jmp 77fccd24
77fcca87: 55 push ebp
77fcca88: 8bec mov ebp, esp
77fcca8a: 83ec28 sub esp, 28
77fcca8d: 53 push ebx
77fcca8e: 56 push esi
77fcca8f: 8b7508 mov esi, [ebp+08]
77fcca92: 33db xor ebx, ebx
77fcca94: 57 push edi
77fcca95: 895de8 mov [ebp-18], ebx
77fcca98: 399e7c050000 cmp [esi+57c], ebx
77fcca9e: 89 db 89
77fcca9f: 5d pop ebp

Windows 5.0 (Windows 2000 build 2195) [Service Pack 4]

EAX = 00000000
EBX = 01770000
ECX = 00000000
EDX = 01fd65b0
EBP = 0012f7b8
DS:ESI = 0023:01fd6000
ES:EDI = 0023:01fd65b0
SS:ESP = 0023:0012f7ac
CS:EIP = 001b:77fcca36
FS = 003b
GS = 0000
EFLAGS = 00010246
FPUCW = ffff027f
FPUTW = ffffffff

MM0 = 0202020202020202
MM1 = 0202020202020202
MM2 = 0202020202020202
MM3 = 0002020202020202
MM4 = 0202020202020202
MM5 = 0202020202020202
MM6 = 0202020202020202
MM7 = 0002020202020202

Crash reason: Access Violation

Crash context:
An out-of-bounds memory access (access violation) occurred in module 'ntdll'.

Thread traces:

Thread 00000324 (Main thread)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Init.cpp(344)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Init.cpp(387)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Init.cpp(407)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSource.cpp(646)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSource.cpp(676)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSource.cpp(1819)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSource.cpp(1837)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(429)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(569)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSource.cpp(1819)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSource.cpp(1837)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(429)

Thread call stack:77fcca36: ntdll!RtlFreeHeap [77f80000+4c7d3+263]
77fcbf1f: ntdll!RtlSizeHeap [77f80000+4b906+619]
77fcb901: ntdll!RtlCreateHeap [77f80000+4b425+4dc]
01744575: mpeg2dec3!closeVideo [01720000+10920+13c55]
0172b489: mpeg2dec3!?Close@CMPEG2Decoder@@QAEXXZ [01720000+b370+119]
0172c483: mpeg2dec3!?Copyoddeven@CMPEG2Decoder@@IAEXPAUYV12PICT@@00@Z [01720000+bdc0+6c3]
0172c438: mpeg2dec3!?Copyoddeven@CMPEG2Decoder@@IAEXPAUYV12PICT@@00@Z [01720000+bdc0+678]
010f1d19: avisynth!avs_create_script_environment [010e0000+10ae0+1239]
010f0e38: avisynth!avs_create_script_environment [010e0000+10ae0+358]
01145247: avisynth!DllCanUnloadNow [010e0000+12020+53227]
011451e8: avisynth!DllCanUnloadNow [010e0000+12020+531c8]
010f1d19: avisynth!avs_create_script_environment [010e0000+10ae0+1239]
010f0e38: avisynth!avs_create_script_environment [010e0000+10ae0+358]
0113d28c: avisynth!DllCanUnloadNow [010e0000+12020+4b26c]
01137808: avisynth!DllCanUnloadNow [010e0000+12020+457e8]
0113da52: avisynth!DllCanUnloadNow [010e0000+12020+4ba32]
0113d508: avisynth!DllCanUnloadNow [010e0000+12020+4b4e8]
010f1d19: avisynth!avs_create_script_environment [010e0000+10ae0+1239]
010f0e38: avisynth!avs_create_script_environment [010e0000+10ae0+358]
010ec24b: avisynth!0000c24b
010ec4f2: avisynth!0000c4f2
010ec488: avisynth!0000c488
010f2605: avisynth!DllCanUnloadNow [010e0000+12020+5e5]
010f23da: avisynth!DllCanUnloadNow [010e0000+12020+3ba]
74875622: AVIFIL32!AVIFileRelease [74870000+5618+a]
004b4461: AVIReadHandler::_destruct()
004b216f: AVIReadHandler::~AVIReadHandler()
004b455d: AVIReadHandler::Release()
004b68ff: InputFileAVI::~InputFileAVI()
004b8df8: InputFileAVI::(special)()
00449830: ?$vdrefcounted::Release()
004666ac: ?$vdrefptr::(special)()
00465215: CloseAVI()
0048e10a: VDProject::Close()
0052757a: CScriptInterpreter::ParseExpression2()
77fcce74: ntdll!RtlFreeHeap [77f80000+4c7d3+6a1]
77fcc35c: ntdll!RtlAllocateHeap [77f80000+4c2ad+af]
77fcc882: ntdll!RtlFreeHeap [77f80000+4c7d3+af]
7c4fac5d: KERNEL32!WaitForMultipleObjects [7c4e0000+1abe4+79]
7c4ec506: KERNEL32!CreateFileW [7c4e0000+c351+1b5]
77f89964: ntdll!CsrCaptureMessageBuffer [77f80000+9778+1ec]
77fcc882: ntdll!RtlFreeHeap [77f80000+4c7d3+af]
77f91508: ntdll!RtlAnsiStringToUnicodeString [77f80000+114ac+5c]
7c4e660d: KERNEL32!ReadFile [7c4e0000+6582+8b]
00527d7e: CScriptInterpreter::LookupRootVariable()
00528340: CScriptInterpreter::Token()
00527168: CScriptInterpreter::ParseExpression()
005281a8: CScriptInterpreter::Token()
00526f28: CScriptInterpreter::ExecuteLine()
00567f0b: fgetc()
00483057: ?$vector::push_back()
004971c5: RunScript()
0047e87d: ParseCommandLine()
7c2d1ecf: ADVAPI32!RegCloseKey [7c2d0000+1e76+59]
004889f4: QueryConfigDword()
00463875: DetectDivX()
0047dc06: Init()
00483655: WinMain@16()
77f8c277: ntdll!RtlReleasePebLock [77f80000+c268+f]
7c4f4b15: KERNEL32!GetStartupInfoA [7c4e0000+149df+136]
7c4f4a30: KERNEL32!GetStartupInfoA [7c4e0000+149df+51]
00565f07: _onexit()
00565f14: atexit()
00567b5e: WinMainCRTStartup()
7c4e87f5: KERNEL32!DosDateTimeToFileTime [7c4e0000+7b91+c64]

-- End of report