Log in

View Full Version : X.264 crashs Virtual Dub mod


niv
29th January 2005, 16:15
managed to run the 1st pass, then crashed in the second pass:
rinning on win2k with latest x.264 codec.
crashinfo.txt:
VirtualDub crash report -- build 2366 (release)
--------------------------------------

Disassembly:
77fcc860: ffb078050000 push dword ptr [eax+578]
77fcc866: e82658fbff call 77f82091
77fcc86b: c3 ret
77fcc86c: 55 push ebp
77fcc86d: 8bec mov ebp, esp
77fcc86f: 53 push ebx
77fcc870: 56 push esi
77fcc871: 8b750c mov esi, [ebp+0c]
77fcc874: 8b5d08 mov ebx, [ebp+08]
77fcc877: 57 push edi
77fcc878: 8bfe mov edi, esi
77fcc87a: 0fb74602 movzx eax, word ptr [esi+02]
77fcc87e: c1e003 shl eax, 03
77fcc881: 2bf8 sub edi, eax
77fcc883: 3bfe cmp edi, esi
77fcc885: 740a jz 77fcc891
77fcc887: f6470501 test [edi+05], 01
77fcc88b: 0f8457010000 jz 77fcc9e8
77fcc891: f6460510 test [esi+05], 10
77fcc895: 750f jnz 77fcc8a6
77fcc897: 8b4510 mov eax, [ebp+10]
77fcc89a: 8b00 mov eax, [eax]
77fcc89c: f644c60501 test [esi+eax*8+05], 01
77fcc8a1: 8d3cc6 lea edi, [esi+eax*8]
77fcc8a4: 7409 jz 77fcc8af
77fcc8a6: 8bc6 mov eax, esi
77fcc8a8: 5f pop edi
77fcc8a9: 5e pop esi
77fcc8aa: 5b pop ebx
77fcc8ab: 5d pop ebp
77fcc8ac: c21000 ret 0010
77fcc8af: 0fb70f movzx ecx, word ptr [edi]
77fcc8b2: 03c8 add ecx, eax
77fcc8b4: 81f900fe0000 cmp ecx, 0000fe00
77fcc8ba: 77ea ja 77fcc8a6
77fcc8bc: 807d1400 cmp byte ptr [ebp+14], 00
77fcc8c0: 0f8519350000 jnz 77fcfddf
77fcc8c6: 8a4705 mov al, [edi+05]
77fcc8c9: 2410 and al, 10
77fcc8cb: a810 test al, 10
77fcc8cd: 884605 mov [esi+05], al
77fcc8d0: 7547 jnz 77fcc919
77fcc8d2: 57 push edi
77fcc8d3: 53 push ebx
77fcc8d4: e8ca5bfbff call 77f824a3
77fcc8d9: 8b4f0c mov ecx, [edi+0c]
77fcc8dc: 8b4708 mov eax, [edi+08]
77fcc8df: 3bc1 cmp eax, ecx
77fcc8e1: 8901 mov [ecx], eax <-- FAULT
77fcc8e3: 894804 mov [eax+04], ecx
77fcc8e6: 7457 jz 77fcc93f
77fcc8e8: 8a4705 mov al, [edi+05]
77fcc8eb: a804 test al, 04
77fcc8ed: 0f85a4350000 jnz 77fcfe97
77fcc8f3: 0fb70f movzx ecx, word ptr [edi]
77fcc8f6: 8b4510 mov eax, [ebp+10]
77fcc8f9: 0108 add [eax], ecx
77fcc8fb: 0fb70f movzx ecx, word ptr [edi]
77fcc8fe: 294b28 sub [ebx+28], ecx
77fcc901: 668b08 mov cx, [eax]
77fcc904: f6460510 test [esi+05], 10
77fcc908: 66890e mov [esi], cx
77fcc90b: 7599 jnz 77fcc8a6
77fcc90d: 8b08 mov ecx, [eax]
77fcc90f: 668b00 mov ax, [eax]
77fcc912: 668944ce02 mov [esi+ecx*8+02], ax
77fcc917: eb8d jmp 77fcc8a6
77fcc919: 0fb64604 movzx eax, byte ptr [esi+04]
77fcc91d: 8b448358 mov eax, [ebx+eax*4+58]
77fcc921: 897038 mov [eax+38], esi
77fcc924: ebac jmp 77fcc8d2
77fcc926: 8d48f8 lea ecx, [eax-08]
77fcc929: 898d10ffffff mov [ebp-f0], ecx
77fcc92f: 663b19 cmp ebx, [ecx]
77fcc932: 0f86a6fcffff jbe 77fcc5de
77fcc938: 8b00 mov eax, [eax]
77fcc93a: e991fcffff jmp 77fcc5d0
77fcc93f: 668b07 mov ax, [edi]
77fcc942: 663d8000 cmp ax, 0080
77fcc946: 73a0 jnc 77fcc8e8
77fcc948: 0fb7c8 movzx ecx, al
77fcc94b: 6a01 push 01
77fcc94d: 8bc1 mov eax, ecx
77fcc94f: 83e107 and ecx, 07
77fcc952: 5a pop edx
77fcc953: c1e803 shr eax, 03
77fcc956: d3e2 shl edx, cl
77fcc958: 8d841858010000 lea eax, [eax+ebx+158]
77fcc95f: 30 db 30

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

EAX = 395b3843
EBX = 00ca0000
ECX = 3bdc3abf
EDX = 0000037f
EBP = 0012f4cc
DS:ESI = 0023:00cc16e8
ES:EDI = 0023:00cc56f0
SS:ESP = 0023:0012f4c0
CS:EIP = 001b:77fcc8e1
FS = 003b
GS = 0000
EFLAGS = 00010297
FPUCW = ffff027f
FPUTW = ffffffff

MM0 = fffffeffaafffeff
MM1 = 9cbc14e5e0a73000
MM2 = 8000000000000000
MM3 = 8000000000000000
MM4 = ca00000000000000
MM5 = edf8c1969a61a000
MM6 = 0000000000000000
MM7 = 0000000000000000

Crash reason: Access Violation

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

Thread traces:

Thread 000003f0 (Main thread)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(124)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(126)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(124)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(126)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(124)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(126)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(409)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(409)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(409)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(409)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(429)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(555)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(555)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(555)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(555)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(569)

Thread call stack:77fcc8e1: ntdll!RtlFreeHeap [77f80000+4c644+29d]
77fcc774: ntdll!RtlFreeHeap [77f80000+4c644+130]
77f85654: ntdll!RtlInitializeCriticalSectionAndSpinCount [77f80000+549b+1b9]
77f85639: ntdll!RtlInitializeCriticalSectionAndSpinCount [77f80000+549b+19e]
7c5737b2: KERNEL32!LocalFree [7c570000+376b+47]
005661c8: free()
77412bda: MSACM32!acmGetVersion [77410000+268a+550]
774170ed: MSACM32!acmStreamClose [77410000+6fb6+137]
0040552e: AudioCompressor::~AudioCompressor()
00406b18: AudioCompressor::(special)()
004d972c: ModDubStream::RemoveAudioStreams()
0046d59d: Dubber::Stop()
00495bdf: VDProjectUI::UIRunDubMessageLoop()
00495c30: VDProjectUI::UIRunDubMessageLoop()
0048f35c: VDProject::RunOperation()
0046517a: SaveOGM()
005599a9: (special)()
0045ff4d: ?$vector::~?$vector()
00499b59: func_VirtualDub_SaveOGM()
00526a8a: CScriptInterpreter::ParseExpression2()
77fcc4c9: ntdll!RtlAllocateHeap [77f80000+4c0ef+3da]
77fcc4e0: ntdll!RtlAllocateHeap [77f80000+4c0ef+3f1]
77fcc1d0: ntdll!RtlAllocateHeap [77f80000+4c0ef+e1]
77e23063: USER32!SendMessageCallbackW [77e10000+1262e+a35]
77e21bc7: USER32!DrawStateW [77e10000+11aa0+127]
77f82a06: ntdll!RtlExtendedMagicDivide [77f80000+2937+cf]
77fcc71e: ntdll!RtlFreeHeap [77f80000+4c644+da]
77fcc71e: ntdll!RtlFreeHeap [77f80000+4c644+da]
0052728e: CScriptInterpreter::LookupRootVariable()
00527850: CScriptInterpreter::Token()
00526678: CScriptInterpreter::ParseExpression()
005276b8: CScriptInterpreter::Token()
00526438: CScriptInterpreter::ExecuteLine()
004621c1: ?$vector::resize()
00496f09: RunScriptMemory()
0047e81a: VDJob::Run()
0047f61d: VDJob::RunAll()
00481cf3: JobCtlDlgProc()
77e25038: USER32!DrawIcon [77e10000+14a00+638]
77f4275a: GDI32!GdiReleaseDC [77f40000+274a+10]
77e12cc0: USER32!ReleaseDC [77e10000+2ca9+17]
77e11ef0: USER32!MsgWaitForMultipleObjects [77e10000+1ab1+43f]
77e2310e: USER32!SendMessageCallbackW [77e10000+1262e+ae0]
77e24074: USER32!DefDlgProcA [77e10000+13709+96b]
77e136a9: USER32!DefWindowProcW [77e10000+341d+28c]
77e139e5: USER32!SendMessageW [77e10000+39a2+43]
77e2542f: USER32!SendDlgItemMessageW [77e10000+153b3+7c]
77e244fa: USER32!DrawFrame [77e10000+14270+28a]
77e23e2a: USER32!DefDlgProcA [77e10000+13709+721]
77e20e5a: USER32!GetMenuItemID [77e10000+10dc4+96]
77e11ef0: USER32!MsgWaitForMultipleObjects [77e10000+1ab1+43f]
77e13869: USER32!SetWindowTextW [77e10000+37ff+6a]
77e20e5a: USER32!GetMenuItemID [77e10000+10dc4+96]
77e11ef0: USER32!MsgWaitForMultipleObjects [77e10000+1ab1+43f]
77e1204c: USER32!TranslateMessageEx [77e10000+1f05+147]
77e139e5: USER32!SendMessageW [77e10000+39a2+43]
77e12198: USER32!TranslateMessageEx [77e10000+1f05+293]
77e121af: USER32!DispatchMessageW [77e10000+21a4+b]
77e208fb: USER32!IsDialogMessageW [77e10000+1082c+cf]
77e20f28: USER32!IsDialogMessage [77e10000+10ece+5a]
0047c108: guiCheckDialogs()
00482e86: WinMain@16()
00566f27: _onexit()
00566f34: atexit()
00568b9e: WinMainCRTStartup()
7c581af6: KERNEL32!OpenEventA [7c570000+114b9+63d]

hpn
11th February 2005, 09:32
VirtualDub build 2366 works fine with x264 for me on Windows XP. 2366 it is more than a year old build, so you could try the new 18160 build in verson 1.5.10 (currently on the official site), or build 2439 included in the Gordian Knot RipPack (in the latest v0.34.6 beta). If your problem persists, it's probably something related to Windows 2000 or conflict with some other software you have installed.