Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
An Out-of-bounds Memory Access ....in Module 'ntdl
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
martinbarlow
Posted: Jul 15 2004, 11:09 AM


Unregistered









Hey guys

I'm using gordian knot to encode some divx's from dvd. It used to work great, but i rebuilt my machine, installed everything and now virtualdubmod produces the following error. It occurs right at the end of the encoding. (when it has done 100%). I tried to encode with xvid, but that crashed the same way. Here is the output from xvid encoding.

Clues?

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

Disassembly:
77f83a60: ff894d147409 dec dword ptr [ecx+974144d]
77f83a66: 83f904 cmp ecx, 04
77f83a69: 7604 jbe 77f83a6f
77f83a6b: 836d1404 sub dword ptr [ebp+14], 04
77f83a6f: 68eefeeefe push feeefeee
77f83a74: ff7514 push dword ptr [ebp+14]
77f83a77: 8d4610 lea eax, [esi+10]
77f83a7a: 50 push eax
77f83a7b: e8a0d50200 call 77fb1020
77f83a80: 3b4514 cmp eax, [ebp+14]
77f83a83: 89450c mov [ebp+0c], eax
77f83a86: 7439 jz 77f83ac1
77f83a88: 64a118000000 mov eax, fs:[00000018]
77f83a8e: 8b4030 mov eax, [eax+30]
77f83a91: 8b400c mov eax, [eax+0c]
77f83a94: 8b400c mov eax, [eax+0c]
77f83a97: 83c02c add eax, 2c
77f83a9a: 50 push eax
77f83a9b: 686637f877 push 77f83766
77f83aa0: e88622ffff call 77f75d2b
77f83aa5: 8b450c mov eax, [ebp+0c]
77f83aa8: 8d443010 lea eax, [eax+esi+10]
77f83aac: 50 push eax
77f83aad: 56 push esi
77f83aae: 687237f877 push 77f83772
77f83ab3: e87322ffff call 77f75d2b
77f83ab8: 83c414 add esp, 14
77f83abb: 56 push esi
77f83abc: e879900100 call 77f9cb3a
77f83ac1: 0fb706 movzx eax, word ptr [esi]
77f83ac4: 294328 sub [ebx+28], eax
77f83ac7: 8a4705 mov al, [edi+05]
77f83aca: 2410 and al, 10
77f83acc: a810 test al, 10
77f83ace: 884605 mov [esi+05], al
77f83ad1: 740b jz 77f83ade
77f83ad3: 0fb64604 movzx eax, byte ptr [esi+04]
77f83ad7: 8b448358 mov eax, [ebx+eax*4+58]
77f83adb: 897038 mov [eax+38], esi
77f83ade: 57 push edi
77f83adf: 53 push ebx
77f83ae0: e894f4ffff call 77f82f79
77f83ae5: 8b4708 mov eax, [edi+08]
77f83ae8: 8b4f0c mov ecx, [edi+0c]
77f83aeb: 3bc1 cmp eax, ecx
77f83aed: 8901 mov [ecx], eax <-- FAULT
77f83aef: 894804 mov [eax+04], ecx
77f83af2: 7521 jnz 77f83b15
77f83af4: 668b07 mov ax, [edi]
77f83af7: 663d8000 cmp ax, 0080
77f83afb: 7318 jnc 77f83b15
77f83afd: 0fb7c8 movzx ecx, al
77f83b00: 8bc1 mov eax, ecx
77f83b02: 83e107 and ecx, 07
77f83b05: b201 mov dl, 01
77f83b07: c1e803 shr eax, 03
77f83b0a: d2e2 shl dl, cl
77f83b0c: 8d841858010000 lea eax, [eax+ebx+158]
77f83b13: 3010 xor [eax], dl
77f83b15: 8a4705 mov al, [edi+05]
77f83b18: a804 test al, 04
77f83b1a: 746c jz 77f83b88
77f83b1c: a802 test al, 02
77f83b1e: 0fb70f movzx ecx, word ptr [edi]
77f83b21: 8d0ccdf0ffffff lea ecx, [ecx*8+fffffff0]
77f83b28: 894d14 mov [ebp+14], ecx
77f83b2b: 7409 jz 77f83b36
77f83b2d: 83f904 cmp ecx, 04
77f83b30: 7604 jbe 77f83b36
77f83b32: 836d1404 sub dword ptr [ebp+14], 04
77f83b36: 68eefeeefe push feeefeee
77f83b3b: ff7514 push dword ptr [ebp+14]
77f83b3e: 8d4710 lea eax, [edi+10]
77f83b41: 50 push eax
77f83b42: e8d9d40200 call 77fb1020
77f83b47: 3b4514 cmp eax, [ebp+14]
77f83b4a: 89450c mov [ebp+0c], eax
77f83b4d: 7439 jz 77f83b88
77f83b4f: 64a118000000 mov eax, fs:[00000018]
77f83b55: 8b4030 mov eax, [eax+30]
77f83b58: 8b400c mov eax, [eax+0c]
77f83b5b: 8b400c mov eax, [eax+0c]
77f83b5e: 83 db 83
77f83b5f: c0 db c0

Windows 5.1 (Windows XP build 2600) [Service Pack 1]

EAX = 00000000
EBX = 01400000
ECX = 00000000
EDX = 01cd6c88
EBP = 0012f7d4
DS:ESI = 0023:01cd6000
ES:EDI = 0023:01cd6c88
SS:ESP = 0023:0012f7c8
CS:EIP = 001b:77f83aed
FS = 003b
GS = 0000
EFLAGS = 00010246
FPUCW = ffff027f
FPUTW = ffffffff

MM0 = 00e000e000e000e0
MM1 = 00f000f000f000f0
MM2 = 000000df00df00df
MM3 = 000000ef00ef00ef
MM4 = 0ff0f0f01fe0e0e0
MM5 = 000000f000f000f0
MM6 = 0000000000000000
MM7 = 8000000000000000

Crash reason: Access Violation

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

Thread traces:

Thread 00000ffc (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)

Thread call stack:77f83aed: ntdll!RtlSizeHeap [77f50000+33316+7d7]
77f58cca: ntdll!RtlFreeHeap [77f50000+8a3e+28c]
77f59037: ntdll!RtlFreeHeap [77f50000+8a3e+5f9]
014d4575: mpeg2dec3!closeVideo [014b0000+10920+13c55]
014bb489: mpeg2dec3!?Close@CMPEG2Decoder@@QAEXXZ [014b0000+b370+119]
014bc483: mpeg2dec3!?Copyoddeven@CMPEG2Decoder@@IAEXPAUYV12PICT@@00@Z [014b0000+bdc0+6c3]
014bc438: mpeg2dec3!?Copyoddeven@CMPEG2Decoder@@IAEXPAUYV12PICT@@00@Z [014b0000+bdc0+678]
01051d19: avisynth!avs_create_script_environment [01040000+10ae0+1239]
01050e38: avisynth!avs_create_script_environment [01040000+10ae0+358]
010a5247: avisynth!DllCanUnloadNow [01040000+12020+53227]
010a51e8: avisynth!DllCanUnloadNow [01040000+12020+531c8]
01051d19: avisynth!avs_create_script_environment [01040000+10ae0+1239]
01050e38: avisynth!avs_create_script_environment [01040000+10ae0+358]
0109d28c: avisynth!DllCanUnloadNow [01040000+12020+4b26c]
01097808: avisynth!DllCanUnloadNow [01040000+12020+457e8]
0109da52: avisynth!DllCanUnloadNow [01040000+12020+4ba32]
0109d508: avisynth!DllCanUnloadNow [01040000+12020+4b4e8]
01051d19: avisynth!avs_create_script_environment [01040000+10ae0+1239]
01050e38: avisynth!avs_create_script_environment [01040000+10ae0+358]
0104c24b: avisynth!0000c24b
0104c4f2: avisynth!0000c4f2
77c2ab33: msvcrt!free [77c10000+1aa6b+c8]
0104c488: avisynth!0000c488
01052605: avisynth!DllCanUnloadNow [01040000+12020+5e5]
010523da: avisynth!DllCanUnloadNow [01040000+12020+3ba]
73b552d5: AVIFIL32!AVIFileRelease [73b50000+52cb+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()
77f58bcd: ntdll!RtlFreeHeap [77f50000+8a3e+18f]
77f59037: ntdll!RtlFreeHeap [77f50000+8a3e+5f9]
77e82441: kernel32!OpenMutexA [77e60000+22391+b0]
77f5d8e2: ntdll!RtlGetFullPathName_U [77f50000+d572+370]
77f59b7d: ntdll!RtlDosPathNameToNtPathName_U [77f50000+9b30+4d]
77f944cb: ntdll!RtlRemoteCall [77f50000+442ea+1e1]
77f58bcd: ntdll!RtlFreeHeap [77f50000+8a3e+18f]
77f59037: ntdll!RtlFreeHeap [77f50000+8a3e+5f9]
77f5bfb4: ntdll!NtReadFile [77f50000+bfa8+c]
77e7abbd: kernel32!ReadFile [77e60000+1ab4e+6f]
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()
77dd1859: ADVAPI32!RegCloseKey [77dd0000+17d8+81]
004889f4: QueryConfigDword()
00463875: DetectDivX()
0047dc06: Init()
00483655: WinMain@16()
77f59bf9: ntdll!RtlReleasePebLock [77f50000+9bea+f]
77e61a57: kernel32!GetStartupInfoA [77e60000+177e+2d9]
77e619ef: kernel32!GetStartupInfoA [77e60000+177e+271]
00565f14: atexit()
00567b5e: WinMainCRTStartup()
77e814c7: kernel32!GetCurrentDirectoryW [77e60000+21483+44]

-- End of report
 
  Top
martinbarlow
Posted: Jul 16 2004, 01:35 AM


Unregistered









At the end of the second pass encoding here is the crashinfo.

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

Disassembly:
77f83a60: ff894d147409 dec dword ptr [ecx+974144d]
77f83a66: 83f904 cmp ecx, 04
77f83a69: 7604 jbe 77f83a6f
77f83a6b: 836d1404 sub dword ptr [ebp+14], 04
77f83a6f: 68eefeeefe push feeefeee
77f83a74: ff7514 push dword ptr [ebp+14]
77f83a77: 8d4610 lea eax, [esi+10]
77f83a7a: 50 push eax
77f83a7b: e8a0d50200 call 77fb1020
77f83a80: 3b4514 cmp eax, [ebp+14]
77f83a83: 89450c mov [ebp+0c], eax
77f83a86: 7439 jz 77f83ac1
77f83a88: 64a118000000 mov eax, fs:[00000018]
77f83a8e: 8b4030 mov eax, [eax+30]
77f83a91: 8b400c mov eax, [eax+0c]
77f83a94: 8b400c mov eax, [eax+0c]
77f83a97: 83c02c add eax, 2c
77f83a9a: 50 push eax
77f83a9b: 686637f877 push 77f83766
77f83aa0: e88622ffff call 77f75d2b
77f83aa5: 8b450c mov eax, [ebp+0c]
77f83aa8: 8d443010 lea eax, [eax+esi+10]
77f83aac: 50 push eax
77f83aad: 56 push esi
77f83aae: 687237f877 push 77f83772
77f83ab3: e87322ffff call 77f75d2b
77f83ab8: 83c414 add esp, 14
77f83abb: 56 push esi
77f83abc: e879900100 call 77f9cb3a
77f83ac1: 0fb706 movzx eax, word ptr [esi]
77f83ac4: 294328 sub [ebx+28], eax
77f83ac7: 8a4705 mov al, [edi+05]
77f83aca: 2410 and al, 10
77f83acc: a810 test al, 10
77f83ace: 884605 mov [esi+05], al
77f83ad1: 740b jz 77f83ade
77f83ad3: 0fb64604 movzx eax, byte ptr [esi+04]
77f83ad7: 8b448358 mov eax, [ebx+eax*4+58]
77f83adb: 897038 mov [eax+38], esi
77f83ade: 57 push edi
77f83adf: 53 push ebx
77f83ae0: e894f4ffff call 77f82f79
77f83ae5: 8b4708 mov eax, [edi+08]
77f83ae8: 8b4f0c mov ecx, [edi+0c]
77f83aeb: 3bc1 cmp eax, ecx
77f83aed: 8901 mov [ecx], eax <-- FAULT
77f83aef: 894804 mov [eax+04], ecx
77f83af2: 7521 jnz 77f83b15
77f83af4: 668b07 mov ax, [edi]
77f83af7: 663d8000 cmp ax, 0080
77f83afb: 7318 jnc 77f83b15
77f83afd: 0fb7c8 movzx ecx, al
77f83b00: 8bc1 mov eax, ecx
77f83b02: 83e107 and ecx, 07
77f83b05: b201 mov dl, 01
77f83b07: c1e803 shr eax, 03
77f83b0a: d2e2 shl dl, cl
77f83b0c: 8d841858010000 lea eax, [eax+ebx+158]
77f83b13: 3010 xor [eax], dl
77f83b15: 8a4705 mov al, [edi+05]
77f83b18: a804 test al, 04
77f83b1a: 746c jz 77f83b88
77f83b1c: a802 test al, 02
77f83b1e: 0fb70f movzx ecx, word ptr [edi]
77f83b21: 8d0ccdf0ffffff lea ecx, [ecx*8+fffffff0]
77f83b28: 894d14 mov [ebp+14], ecx
77f83b2b: 7409 jz 77f83b36
77f83b2d: 83f904 cmp ecx, 04
77f83b30: 7604 jbe 77f83b36
77f83b32: 836d1404 sub dword ptr [ebp+14], 04
77f83b36: 68eefeeefe push feeefeee
77f83b3b: ff7514 push dword ptr [ebp+14]
77f83b3e: 8d4710 lea eax, [edi+10]
77f83b41: 50 push eax
77f83b42: e8d9d40200 call 77fb1020
77f83b47: 3b4514 cmp eax, [ebp+14]
77f83b4a: 89450c mov [ebp+0c], eax
77f83b4d: 7439 jz 77f83b88
77f83b4f: 64a118000000 mov eax, fs:[00000018]
77f83b55: 8b4030 mov eax, [eax+30]
77f83b58: 8b400c mov eax, [eax+0c]
77f83b5b: 8b400c mov eax, [eax+0c]
77f83b5e: 83 db 83
77f83b5f: c0 db c0

Windows 5.1 (Windows XP build 2600) [Service Pack 1]

EAX = 00000000
EBX = 01400000
ECX = 00000000
EDX = 01cd6c88
EBP = 0012f7d4
DS:ESI = 0023:01cd6000
ES:EDI = 0023:01cd6c88
SS:ESP = 0023:0012f7c8
CS:EIP = 001b:77f83aed
FS = 003b
GS = 0000
EFLAGS = 00010246
FPUCW = ffff027f
FPUTW = ffffffff

MM0 = 00000000ffffffff
MM1 = 00000000ffffffff
MM2 = 0000000000000000
MM3 = 0000000000000000
MM4 = ffffffffffffffff
MM5 = 0000000000000000
MM6 = 0000000000000000
MM7 = 0080008000800080

Crash reason: Access Violation

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

Thread traces:

Thread 000006b8 (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)

Thread call stack:77f83aed: ntdll!RtlSizeHeap [77f50000+33316+7d7]
77f58cca: ntdll!RtlFreeHeap [77f50000+8a3e+28c]
77f59037: ntdll!RtlFreeHeap [77f50000+8a3e+5f9]
014d4575: mpeg2dec3!closeVideo [014b0000+10920+13c55]
014bb489: mpeg2dec3!?Close@CMPEG2Decoder@@QAEXXZ [014b0000+b370+119]
014bc483: mpeg2dec3!?Copyoddeven@CMPEG2Decoder@@IAEXPAUYV12PICT@@00@Z [014b0000+bdc0+6c3]
014bc438: mpeg2dec3!?Copyoddeven@CMPEG2Decoder@@IAEXPAUYV12PICT@@00@Z [014b0000+bdc0+678]
01051d19: avisynth!avs_create_script_environment [01040000+10ae0+1239]
01050e38: avisynth!avs_create_script_environment [01040000+10ae0+358]
010a5247: avisynth!DllCanUnloadNow [01040000+12020+53227]
010a51e8: avisynth!DllCanUnloadNow [01040000+12020+531c8]
01051d19: avisynth!avs_create_script_environment [01040000+10ae0+1239]
01050e38: avisynth!avs_create_script_environment [01040000+10ae0+358]
0109d28c: avisynth!DllCanUnloadNow [01040000+12020+4b26c]
01097808: avisynth!DllCanUnloadNow [01040000+12020+457e8]
0109da52: avisynth!DllCanUnloadNow [01040000+12020+4ba32]
0109d508: avisynth!DllCanUnloadNow [01040000+12020+4b4e8]
01051d19: avisynth!avs_create_script_environment [01040000+10ae0+1239]
01050e38: avisynth!avs_create_script_environment [01040000+10ae0+358]
0104c24b: avisynth!0000c24b
0104c4f2: avisynth!0000c4f2
77c2ab33: msvcrt!free [77c10000+1aa6b+c8]
0104c488: avisynth!0000c488
01052605: avisynth!DllCanUnloadNow [01040000+12020+5e5]
010523da: avisynth!DllCanUnloadNow [01040000+12020+3ba]
73b552d5: AVIFIL32!AVIFileRelease [73b50000+52cb+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()
77f58bcd: ntdll!RtlFreeHeap [77f50000+8a3e+18f]
77f59037: ntdll!RtlFreeHeap [77f50000+8a3e+5f9]
77e82441: kernel32!OpenMutexA [77e60000+22391+b0]
77f5d8e2: ntdll!RtlGetFullPathName_U [77f50000+d572+370]
77f59b7d: ntdll!RtlDosPathNameToNtPathName_U [77f50000+9b30+4d]
77f944cb: ntdll!RtlRemoteCall [77f50000+442ea+1e1]
77f58bcd: ntdll!RtlFreeHeap [77f50000+8a3e+18f]
77f59037: ntdll!RtlFreeHeap [77f50000+8a3e+5f9]
77f5bfb4: ntdll!NtReadFile [77f50000+bfa8+c]
77e7abbd: kernel32!ReadFile [77e60000+1ab4e+6f]
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()
77dd1859: ADVAPI32!RegCloseKey [77dd0000+17d8+81]
004889f4: QueryConfigDword()
00463875: DetectDivX()
0047dc06: Init()
00483655: WinMain@16()
77f59bf9: ntdll!RtlReleasePebLock [77f50000+9bea+f]
77e61a57: kernel32!GetStartupInfoA [77e60000+177e+2d9]
77e619ef: kernel32!GetStartupInfoA [77e60000+177e+271]
00565f14: atexit()
00567b5e: WinMainCRTStartup()
77e814c7: kernel32!GetCurrentDirectoryW [77e60000+21483+44]

-- End of report
 
  Top
martinbarlow
  Posted: Aug 10 2004, 05:06 AM


Unregistered









OK.

I have just upgraded to SP2 (from SP1) and now it does not crash anymore!

I won't speculate as I guess you can do it too!

yay

marty biggrin.gif
 
  Top
acerbiter
Posted: Sep 16 2004, 05:22 PM


Unregistered









i already have sp2 and I still get the same error message

crashinfo.txt
=================================================
VirtualDub crash report -- build 2366 (release)
--------------------------------------

Disassembly:
03a23360: 8e3b mov ?7s, [ebx]
03a23362: ff db ff
03a23363: ff db ff
03a23364: ffe9 jmp ecx
03a23366: f7fe idiv eax, esi
03a23368: ff db ff
03a23369: ff9090909090 call dword ptr [eax-6f6f6f70]
03a2336f: 90 nop
03a23370: 0f6f4cf070 movq mm1, [eax+esi*8+70]
03a23375: 0ff9c1 psubw mm0, mm1
03a23378: 0f6f64f078 movq mm4, [eax+esi*8+78]
03a2337d: 0ff9dc psubw mm3, mm4
03a23380: 0feec1 pmaxsw mm0, mm1
03a23383: 0feedc pmaxsw mm3, mm4
03a23386: 89e4 mov esp, esp
03a23388: 0f71e10f psraw mm1, 0f
03a2338c: 0f71e40f psraw mm4, 0f
03a23390: 0f71f004 psllw mm0, 04
03a23394: 0f71f304 psllw mm3, 04
03a23398: 0ffd04f590e2a7 paddw mm0, [esi*8+03a7e290]
03
03a233a0: 0ffd1cf598e2a7 paddw mm3, [esi*8+03a7e298]
03
03a233a8: 0f6f2cf590e3a7 movq mm5, [esi*8+03a7e390]
03
03a233b0: 0f6f3cf598e3a7 movq mm7, [esi*8+03a7e398]
03
03a233b8: 0fe4e8 pmulhuw mm5, mm0
03a233bb: 0fe4fb pmulhuw mm7, mm3
03a233be: 89e4 mov esp, esp
03a233c0: 0f6f14f510e2a7 movq mm2, [esi*8+03a7e210]
03
03a233c8: 0f6f34f518e2a7 movq mm6, [esi*8+03a7e218]
03
03a233d0: 0fd5d5 pmullw mm2, mm5
03a233d3: 0fd5f7 pmullw mm6, mm7
03a233d6: 0ff9c2 psubw mm0, mm2
03a233d9: 0ff9de psubw mm3, mm6
03a233dc: 8d742600 lea esi, [esi+00]
03a233e0: 0f6f14cd107aa7 movq mm2, [ecx*8+03a77a10] <-- FAULT
03
03a233e8: 0f6f34cd1879a7 movq mm6, [ecx*8+03a77918]
03
03a233f0: 0ffdea paddw mm5, mm2
03a233f3: 0ffdfa paddw mm7, mm2
03a233f6: 89e4 mov esp, esp
03a233f8: 0fe404f510e3a7 pmulhuw mm0, [esi*8+03a7e310]
03
03a23400: 0fe41cf518e3a7 pmulhuw mm3, [esi*8+03a7e318]
03
03a23408: 0ffde8 paddw mm5, mm0
03a2340b: 0ffdfb paddw mm7, mm3
03a2340e: 0f6f07 movq mm0, [edi]
03a23411: 0f6f1f movq mm3, [edi]
03a23414: 89e4 mov esp, esp
03a23416: 0fe4ee pmulhuw mm5, mm6
03a23419: 0fe4fe pmulhuw mm7, mm6
03a2341c: 0f71d501 psrlw mm5, 01
03a23420: 0f71d701 psrlw mm7, 01
03a23424: 0fefe9 pxor mm5, mm1
03a23427: 0feffc pxor mm7, mm4
03a2342a: 0ff9e9 psubw mm5, mm1
03a2342d: 0ff9fc psubw mm7, mm4
03a23430: 0f7f6cf270 movq [edx+esi*8+70], mm5
03a23435: 0f7f7cf278 movq [edx+esi*8+78], mm7
03a2343a: 83c602 add esi, 02
03a2343d: 0f8e2dffffff jle 03a23370
03a23443: e919feffff jmp 03a23261
03a23448: 8b442408 mov eax, [esp+08]
03a2344c: 8b4c240c mov ecx, [esp+0c]
03a23450: 8b542404 mov edx, [esp+04]
03a23454: 56 push esi
03a23455: 57 push edi
03a23456: 53 push ebx
03a23457: 90 nop
03a23458: bf1878a703 mov edi, 03a77818
03a2345d: be db be
03a2345e: f2ff db ff

Windows 5.1 (Windows XP build 2600) [Service Pack 2]

EAX = 052aedc0
EBX = 052af5b8
ECX = 7c9180ff
EDX = 052aeec0
EBP = 7c9180ff
DS:ESI = 0023:fffffff2
ES:EDI = 0023:03a77818
SS:ESP = 0023:052ae080
CS:EIP = 001b:03a233e0
FS = 003b
GS = 0000
EFLAGS = 00010202
FPUCW = ffff027f
FPUTW = ffffaaaa

MM0 = 0009000900080004
MM1 = 0000000000000000
MM2 = 0000000000000800
MM3 = 000d000c000b000a
MM4 = 0000000000000000
MM5 = 0000000000000100
MM6 = 0000000000000000
MM7 = 0000000000000000

Crash reason: Access Violation

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

...while compressing frame 1 from 03940000 to 04410020 (VideoSequenceCompressor.cpp:406)...

...while running thread "Processing" (thread.cpp:120).

Thread traces:

Thread 00000300 (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)
Thread 00000c40 (FastWriteStream)
Thread 000007f8 (Processing)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2580)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2585)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSequenceCompressor.cpp(403)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSequenceCompressor.cpp(420)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2748)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2788)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2580)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2585)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSequenceCompressor.cpp(403)
Thread 00000cf0 (Dub-I/O)

Thread call stack:03a233e0: xvid!xvid_init [03a00000+aec8+18518]
03a67b84: xvid!xvid_init [03a00000+aec8+5ccbc]
7c9180ff: ntdll!RtlReAllocateHeap [7c900000+179fd+702]
7c9180ff: ntdll!RtlReAllocateHeap [7c900000+179fd+702]
7c9180ff: ntdll!RtlReAllocateHeap [7c900000+179fd+702]
7c80e0b9: kernel32!DuplicateHandle [7c800000+e016+a3]
7c9037bf: ntdll!RtlConvertUlongToLargeInteger [7c900000+3745+7a]
7c90378b: ntdll!RtlConvertUlongToLargeInteger [7c900000+3745+46]
7c937b48: ntdll!RtlUnwind [7c900000+37a40+108]
7c90d625: ntdll!NtContinue [7c900000+d619+c]
7c937b75: ntdll!RtlUnwind [7c900000+37a40+135]
7c80e0b9: kernel32!DuplicateHandle [7c800000+e016+a3]
7c928734: ntdll!RtlLookupAtomInAtomTable [7c900000+28436+2fe]
03a4d263: xvid!xvid_init [03a00000+aec8+4239b]
7c928734: ntdll!RtlLookupAtomInAtomTable [7c900000+28436+2fe]
7c929090: ntdll!RtlLookupAtomInAtomTable [7c900000+28436+c5a]
7c928726: ntdll!RtlLookupAtomInAtomTable [7c900000+28436+2f0]
03a5b069: xvid!xvid_init [03a00000+aec8+501a1]
7c80e0b9: kernel32!DuplicateHandle [7c800000+e016+a3]
7c839a86: kernel32!FindAtomW [7c800000+3995f+127]
7c839a9c: kernel32!FindAtomW [7c800000+3995f+13d]
7c9037bf: ntdll!RtlConvertUlongToLargeInteger [7c900000+3745+7a]
7c90378b: ntdll!RtlConvertUlongToLargeInteger [7c900000+3745+46]
7c937860: ntdll!LdrAddRefDll [7c900000+37619+247]
7c90eafa: ntdll!KiUserExceptionDispatcher [7c900000+eaec+e]
7c81eb33: kernel32!RaiseException [7c800000+1eae1+52]
7c81eb33: kernel32!RaiseException [7c800000+1eae1+52]
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
7c809392: kernel32!GetTickCount [7c800000+92ac+e6]
7c80c8b8: kernel32!GetSystemDefaultLCID [7c800000+c865+53]
7c91eb05: ntdll!vDbgPrintExWithPrefix [7c900000+1eaab+5a]
7c93040a: ntdll!DbgPrint [7c900000+303f0+1a]
7c859d63: kernel32!OutputDebugStringA [7c800000+59b5c+207]
7c859e18: kernel32!OutputDebugStringA [7c800000+59b5c+2bc]
7c911538: ntdll!wcsncpy [7c900000+10a8f+aa9]
7c911596: ntdll!wcsncpy [7c900000+10a8f+b07]
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
77d4a2a7: USER32!wvsprintfA [77d40000+a041+266]
77d4a0e0: USER32!wvsprintfA [77d40000+a041+9f]
77d4a0a2: USER32!wvsprintfA [77d40000+a041+61]
77d4a2f2: USER32!wsprintfA [77d40000+a2de+14]
03a24ac5: xvid!xvid_init [03a00000+aec8+19bfd]
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
03a68e2f: xvid!xvid_init [03a00000+aec8+5df67]
7c9180ff: ntdll!RtlReAllocateHeap [7c900000+179fd+702]
03a676d3: xvid!xvid_init [03a00000+aec8+5c80b]
03a19d8a: xvid!xvid_init [03a00000+aec8+eec2]
7c9180ff: ntdll!RtlReAllocateHeap [7c900000+179fd+702]
7c9180ff: ntdll!RtlReAllocateHeap [7c900000+179fd+702]
03a01c36: xvid!00001c36
03a0a7f7: xvid!xvid_encore [03a00000+a7b4+43]
03a054d5: xvid!000054d5
7c90d4ea: ntdll!NtAllocateVirtualMemory [7c900000+d4de+c]
7c9180ff: ntdll!RtlReAllocateHeap [7c900000+179fd+702]
7c911bff: ntdll!RtlInitializeCriticalSection [7c900000+11b2d+d2]
7c91825d: ntdll!RtlReAllocateHeap [7c900000+179fd+860]
03a0a49c: xvid!DriverProc [03a00000+a21c+280]
7c911596: ntdll!wcsncpy [7c900000+10a8f+b07]
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
7c80b4b6: kernel32!GetModuleFileNameA [7c800000+b357+15f]
7c80b4cb: kernel32!GetModuleFileNameA [7c800000+b357+174]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c911538: ntdll!wcsncpy [7c900000+10a8f+aa9]
7c911596: ntdll!wcsncpy [7c900000+10a8f+b07]
77261a52: urlmon!00001a52
772618f4: urlmon!000018f4
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c9106ab: ntdll!RtlAllocateHeap [7c900000+105d4+d7]
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
005660d1: _heap_alloc()
7c90d4ea: ntdll!NtAllocateVirtualMemory [7c900000+d4de+c]
7c9180ff: ntdll!RtlReAllocateHeap [7c900000+179fd+702]
7c911bff: ntdll!RtlInitializeCriticalSection [7c900000+11b2d+d2]
7c91825d: ntdll!RtlReAllocateHeap [7c900000+179fd+860]
7c911538: ntdll!wcsncpy [7c900000+10a8f+aa9]
7c911596: ntdll!wcsncpy [7c900000+10a8f+b07]
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
7c910895: ntdll!RtlImageDirectoryEntryToData [7c900000+10856+3f]
7c910833: ntdll!RtlAllocateHeap [7c900000+105d4+25f]
7c910895: ntdll!RtlImageDirectoryEntryToData [7c900000+10856+3f]
7c90378b: ntdll!RtlConvertUlongToLargeInteger [7c900000+3745+46]
7c937860: ntdll!LdrAddRefDll [7c900000+37619+247]
77261868: urlmon!00001868
7c809a20: kernel32!LocalAlloc [7c800000+99bd+63]
77d49e44: USER32!ClientThreadSetup [77d40000+9e0a+3a]
7c90eb08: ntdll!KiUserExceptionDispatcher [7c900000+eaec+1c]
7c81eb33: kernel32!RaiseException [7c800000+1eae1+52]
7c810e48: kernel32!SetFilePointer [7c800000+10da6+a2]
75a718a8: MSVFW32!ICSendMessage [75a70000+187d+2b]
75a74c09: MSVFW32!ICCompress [75a70000+4ba6+63]
0049d52c: VideoSequenceCompressor::packFrame()
0046e022: Dubber::WriteVideoFrame()
00463e34: AVIPipe::getReadBuffer()
0046e70b: Dubber::ThreadRun()
7c90da54: ntdll!NtFreeVirtualMemory [7c900000+da48+c]
7c918331: ntdll!RtlReAllocateHeap [7c900000+179fd+934]
7c90da54: ntdll!NtFreeVirtualMemory [7c900000+da48+c]
7c81eb33: kernel32!RaiseException [7c800000+1eae1+52]

-- End of report
 
  Top
musicnyman
Posted: Sep 17 2004, 07:06 PM


Unregistered









ok, so i have the same problem. with sp1 of windows xp. so i tried to upgrade to sp2 and still have the same exact problem. i have many many codecs installed from different codec packs including new divx and others. i'll try and do a clean install of windows xp without any codecs and try again, but i don't think it'll fix it. works fine for some movies that are smaller in size, but happens for bigger size movies.

i've tried doing this through auto gk and also doing it manually through virtualdubmod and still the same problem with bigger movies and file sizes.

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

Disassembly:
7c910ea0: 0f85edfeffff jnz 7c910d93
7c910ea6: 3d00020000 cmp eax, 00000200
7c910eab: 0f82e2feffff jc 7c910d93
7c910eb1: 66837e0200 cmp word ptr [esi+02], 00
7c910eb6: 740a jz 7c910ec2
7c910eb8: f6460510 test [esi+05], 10
7c910ebc: 0f84d1feffff jz 7c910d93
7c910ec2: 50 push eax
7c910ec3: 56 push esi
7c910ec4: 57 push edi
7c910ec5: e8e60d0000 call 7c911cb0
7c910eca: e949ffffff jmp 7c910e18
7c910ecf: 8b4820 mov ecx, [eax+20]
7c910ed2: 66f7c1ff018d49 test ecx, 498d01ff
7c910ed9: 018948200f85 add [ecx-7af0dfb8], ecx
7c910edf: 3afe cmp bh, dh
7c910ee1: ff db ff
7c910ee2: ff6a00 jmp fword ptr [edx+00]
7c910ee5: 8d45d8 lea eax, [ebp-28]
7c910ee8: 50 push eax
7c910ee9: e814d2ffff call 7c90e102
7c910eee: e932feffff jmp 7c910d25
7c910ef3: 0fb70e movzx ecx, word ptr [esi]
7c910ef6: 03c8 add ecx, eax
7c910ef8: 81f900fe0000 cmp ecx, 0000fe00
7c910efe: 0f8745fdffff ja 7c910c49
7c910f04: 807d1400 cmp byte ptr [ebp+14], 00
7c910f08: 0f85258b0300 jnz 7c949a33
7c910f0e: 8a4605 mov al, [esi+05]
7c910f11: 2410 and al, 10
7c910f13: a810 test al, 10
7c910f15: 884705 mov [edi+05], al
7c910f18: 0f8592000000 jnz 7c910fb0
7c910f1e: 8b4e0c mov ecx, [esi+0c]
7c910f21: 8d4608 lea eax, [esi+08]
7c910f24: 8b10 mov edx, [eax]
7c910f26: 894d0c mov [ebp+0c], ecx
7c910f29: 8b09 mov ecx, [ecx] <-- FAULT
7c910f2b: 3b4a04 cmp ecx, [edx+04]
7c910f2e: 895514 mov [ebp+14], edx
7c910f31: 0f85ea0f0000 jnz 7c911f21
7c910f37: 3bc8 cmp ecx, eax
7c910f39: 0f85e20f0000 jnz 7c911f21
7c910f3f: 56 push esi
7c910f40: 53 push ebx
7c910f41: e84efcffff call 7c910b94
7c910f46: 8b4514 mov eax, [ebp+14]
7c910f49: 8b4d0c mov ecx, [ebp+0c]
7c910f4c: 3bc1 cmp eax, ecx
7c910f4e: 8901 mov [ecx], eax
7c910f50: 894804 mov [eax+04], ecx
7c910f53: 7438 jz 7c910f8d
7c910f55: 8a4605 mov al, [esi+05]
7c910f58: a804 test al, 04
7c910f5a: 0f85a98b0300 jnz 7c949b09
7c910f60: 0fb70e movzx ecx, word ptr [esi]
7c910f63: 8b4510 mov eax, [ebp+10]
7c910f66: 0108 add [eax], ecx
7c910f68: 0fb70e movzx ecx, word ptr [esi]
7c910f6b: 294b28 sub [ebx+28], ecx
7c910f6e: f6470510 test [edi+05], 10
7c910f72: 668b08 mov cx, [eax]
7c910f75: 66890f mov [edi], cx
7c910f78: 0f85cbfcffff jnz 7c910c49
7c910f7e: 8b08 mov ecx, [eax]
7c910f80: 668bc1 mov ax, cx
7c910f83: 668944cf02 mov [edi+ecx*8+02], ax
7c910f88: e9bcfcffff jmp 7c910c49
7c910f8d: 668b06 mov ax, [esi]
7c910f90: 663d8000 cmp ax, 0080
7c910f94: 73bf jnc 7c910f55
7c910f96: 0fb7c8 movzx ecx, al
7c910f99: 8bc1 mov eax, ecx
7c910f9b: 83e107 and ecx, 07
7c910f9e: b201 mov dl, 01

Windows 5.1 (Windows XP build 2600) [Service Pack 2]

EAX = 01284448
EBX = 01280000
ECX = 00000000
EDX = 00000000
EBP = 0012fbbc
DS:ESI = 0023:01284440
ES:EDI = 0023:01282b68
SS:ESP = 0023:0012fbb0
CS:EIP = 001b:7c910f29
FS = 003b
GS = 0000
EFLAGS = 00210246
FPUCW = ffff027f
FPUTW = ffffffff

MM0 = 823d3e1882325850
MM1 = f33618b4823dc030
MM2 = 823d9e18813a38a0
MM3 = f336198c823834e0
MM4 = 52a0b000813a38a0
MM5 = 8000000000000000
MM6 = 8000000000000000
MM7 = 8000000000000000

Crash reason: Access Violation

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

Thread traces:

Thread 00000ab0 (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\Init.cpp(467)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Init.cpp(477)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Init.cpp(486)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Init.cpp(492)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Init.cpp(497)

Thread call stack:7c910f29: ntdll!wcsncpy [7c900000+10a8f+49a]
7c910d5c: ntdll!wcsncpy [7c900000+10a8f+2cd]
01254322: mpeg2dec3dg!closeVideo [01230000+10950+139d2]
0123b0b8: mpeg2dec3dg!?Close@CMPEG2Decoder@@QAEXXZ [01230000+af90+128]
0123c053: mpeg2dec3dg!?Copyoddeven@CMPEG2Decoder@@IAEXPAUYV12PICT@@00@Z
[01230000+b9e0+673]
0123c008: mpeg2dec3dg!?Copyoddeven@CMPEG2Decoder@@IAEXPAUYV12PICT@@00@Z
[01230000+b9e0+628]
00e0f150: avisynth!avs_create_script_environment [00e00000+e6e0+a70]
00e0ea68: avisynth!avs_create_script_environment [00e00000+e6e0+388]
01292e70: autocrop!00002e70
01292e18: autocrop!00002e18
00e0f150: avisynth!avs_create_script_environment [00e00000+e6e0+a70]
00e0ea68: avisynth!avs_create_script_environment [00e00000+e6e0+388]
012c18cc: undot!000018cc
012c1878: undot!00001878
00e0f150: avisynth!avs_create_script_environment [00e00000+e6e0+a70]
00e0ea68: avisynth!avs_create_script_environment [00e00000+e6e0+388]
00e09e3b: avisynth!00009e3b
00e0a0e2: avisynth!0000a0e2
77c2c2e3: msvcrt!free [77c10000+1c21b+c8]
00e0a078: avisynth!0000a078
00e0faa5: avisynth!DllCanUnloadNow [00e00000+f4c0+5e5]
00e0f87a: avisynth!DllCanUnloadNow [00e00000+f4c0+3ba]
73b55e6d: AVIFIL32!AVIFileRelease [73b50000+5e5f+e]
004b4061: AVIReadHandler::_destruct()
004b1d6f: AVIReadHandler::~AVIReadHandler()
004b415d: AVIReadHandler::Release()
004b651f: InputFileAVI::~InputFileAVI()
004b8a38: InputFileAVI::(special)()
00449080: ?$vdrefcounted::Release()
00465f8e: ?$vdrefptr::(special)()
00464a3a: CloseAVI()
0047d499: Deinit()
00482f27: WinMain@16()
00566f34: atexit()
00568b9e: WinMainCRTStartup()
7c816d4f: kernel32!RegisterWaitForInputIdle [7c800000+16d06+49]

-- End of report
 
  Top
musicnyman
Posted: Sep 17 2004, 11:38 PM


Unregistered









i upgraded avisynth and whatever else is included in the 1.57 beta version of auto gk. that seemed to do the trick. no more errors. i had 1.25 before of auto gk.
 
  Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
5 replies since Jul 15 2004, 11:09 AM Track this topic | Email this topic | Print this topic

<< Back to Testing / Bug Reports