lpn1160
6th July 2005, 23:08
Using the latest unstable & (stable versions of Koepi,s builds) I obtained an avi file encoded with Divx5, so says gspot, that I spent more than an 1½ just trying to decode with different virtualdubs. Anyway the only way I was able to decode the vid was by installing divx6 decoder only(I hate divx, guess that why it took me awhile I tried everything under the sun to avoid the divx install but thats the only thing that worked)
The file was not broken or have bad frames, It played flawlessly with divx decoders installed!
Heres Virtualdubs crashlog:
VirtualDub crash report -- build 23567 (release)
--------------------------------------
Disassembly:
020ad140: 691200008945 imul edx, [edx], 45890000
020ad146: b08b mov al, 8bh
020ad148: d7 xlatb
020ad149: 8b4dc8 mov ecx, [ebp-38h]
020ad14c: 2355bc and edx, [ebp-44h]
020ad14f: 8b7b04 mov edi, [ebx+04h]
020ad152: 8955b8 mov [ebp-48h], edx
020ad155: d3e2 shl edx, cl
020ad157: f7d9 neg ecx
020ad159: 83c120 add ecx, 20h
020ad15c: d3ef shr edi, cl
020ad15e: 0bd7 or edx, edi
020ad160: 8955cc mov [ebp-34h], edx
020ad163: 81fa00010000 cmp edx, 00000100
020ad169: 720a jc 020ad175
020ad16b: ba00010000 mov edx, 00000100
020ad170: 8955b8 mov [ebp-48h], edx
020ad173: eb21 jmp 020ad196
020ad175: 8b55c8 mov edx, [ebp-38h]
020ad178: 85d2 test edx, edx
020ad17a: 0f8e19120000 jle 020ae399
020ad180: 8bca mov ecx, edx
020ad182: 8b7db8 mov edi, [ebp-48h]
020ad185: d3e7 shl edi, cl
020ad187: 8b5304 mov edx, [ebx+04h]
020ad18a: f7d9 neg ecx
020ad18c: 83c120 add ecx, 20h
020ad18f: d3ea shr edx, cl
020ad191: 0bfa or edi, edx
020ad193: 897db8 mov [ebp-48h], edi
020ad196: 8b55b8 mov edx, [ebp-48h]
020ad199: 03d2 add edx, edx
020ad19b: 8955b8 mov [ebp-48h], edx
020ad19e: 8d1412 lea edx, [edx+edx]
020ad1a1: 8d3c12 lea edi, [edx+edx]
020ad1a4: 8955cc mov [ebp-34h], edx
020ad1a7: 0fb697c43e1002 movzx edx, byte ptr [edi+2103ec4]
020ad1ae: 03c2 add eax, edx
020ad1b0: 89430c mov [ebx+0ch], eax
020ad1b3: 83f820 cmp eax, 20h
020ad1b6: 723a jc 020ad1f2
020ad1b8: 8b7b04 mov edi, [ebx+04h]
020ad1bb: 8b4b10 mov ecx, [ebx+10h]
020ad1be: 893b mov [ebx], edi
020ad1c0: 8b5108 mov edx, [ecx+08h] <-- FAULT
020ad1c3: 899578ffffff mov [ebp-88], edx
020ad1c9: 8b8578ffffff mov eax, [ebp-88]
020ad1cf: 0fc8 bswap eax
020ad1d1: 898578ffffff mov [ebp-88], eax
020ad1d7: 8bbd78ffffff mov edi, [ebp-88]
020ad1dd: 8b4b10 mov ecx, [ebx+10h]
020ad1e0: 83c104 add ecx, 04h
020ad1e3: 897b04 mov [ebx+04h], edi
020ad1e6: 8b530c mov edx, [ebx+0ch]
020ad1e9: 83c2e0 add edx, 0e0h
020ad1ec: 894b10 mov [ebx+10h], ecx
020ad1ef: 89530c mov [ebx+0ch], edx
020ad1f2: 8b4dcc mov ecx, [ebp-34h]
020ad1f5: 8b55b8 mov edx, [ebp-48h]
020ad1f8: 8b8c51c03e1002 mov ecx, [ecx+edx*2+2103ec0]
020ad1ff: 8bd1 mov edx, ecx
020ad201: 83e207 and edx, 07h
020ad204: 8b7dc0 mov edi, [ebp-40h]
020ad207: 8994b7ec000000 mov [edi+esi*4+ec], edx
020ad20e: c1e904 shr ecx, 04h
020ad211: 83fa03 cmp edx, 03h
020ad214: 894dac mov [ebp-54h], ecx
020ad217: 0f8472110000 jz 020ae38f
020ad21d: 83fa04 cmp edx, 04h
020ad220: 0f8469110000 jz 020ae38f
020ad226: 32c9 xor cl, cl
020ad228: 884db0 mov [ebp-50h], cl
020ad22b: 8b4de0 mov ecx, [ebp-20h]
020ad22e: 85c9 test ecx, ecx
020ad230: 0f8491000000 jz 020ad2c7
020ad236: 85d2 test edx, edx
020ad238: 0f8580000000 jnz 020ad2be
020ad23e: 8b db 8bh
020ad23f: 43 inc ebx
Windows 5.1 (Windows XP build 2600) [Service Pack 2]
EAX = fffe2942
EBX = 06cee5a0
ECX = 011b3ff8
EDX = 00000000
EBP = 06cee540
ESI = 0000dcb0
EDI = 00000000
ESP = 06cee4b0
EIP = 020ad1c0
EFLAGS = 00010286
FPUCW = ffff027f
FPUTW = ffffaaaa
Crash reason: Access Violation
Crash context:
An out-of-bounds memory access (access violation) occurred in module 'xvidcore'...
...while decompressing video frame 82932 (VideoSource.cpp:1691)...
...while using input buffer at 011b0000-011b0bf5 (VideoSource.cpp:1690)...
...while using output buffer at 01fc0000-02054803 (VideoSource.cpp:1689)...
...while running thread "Processing" (thread.cpp:150).
Pointer dumps:
EBX 06cee5a0: 00000000 00000000 00000000 fffe2942 011b3ff8 011b0000 00000bf6 00000000
ECX 011b3ff8: 00000000 00000000
ESI 011b3ff8: 00000000 00000000
ESP 06cee4b0: 01fc0000 00000000 00000000 3bc61a21 e3945b08 00000000 a70329c8 00000210
06cee4d0: 00000120 80000000 02212e80 06cee5a0 00000000 00000021 00000000 00000000
06cee4f0: ffffff00 024474c0 00000000 3fffffff 02410200 fffe2a5d fffe292b 00000000
06cee510: 00000000 00000000 00000001 02190080 06cee5c4 00000012 00000000 00000010
EBP 06cee540: 06ceee48 020ab6a4 02190080 06cee5a0 00000000 00000005 00000000 00000020
06cee560: 06cee5c4 00000000 00000000 00000000 00000000 00000000 00000000 00000000
06cee580: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
06cee5a0: 00000000 00000000 00000000 fffe2942 011b3ff8 011b0000 00000bf6 00000000
Thread call stack:
020ad1c0: xvidcore!xvid_decore [02060000+4b1ec+1fd4]
020ab6a4: xvidcore!xvid_decore [02060000+4b1ec+4b8]
020ab221: xvidcore!xvid_decore [02060000+4b1ec+35]
10006e8c: xvidvfw!DriverProc [10000000+6be0+2ac]
7c910833: ntdll!RtlAllocateHeap [7c900000+105d4+25f]
7c910833: ntdll!RtlAllocateHeap [7c900000+105d4+25f]
7c80b5b8: kernel32!GetModuleHandleA [7c800000+b529+8f]
7c80b58c: kernel32!GetModuleHandleA [7c800000+b529+63]
7c80b5a1: kernel32!GetModuleHandleA [7c800000+b529+78]
7c9101c7: ntdll!RtlAddRefActivationContext [7c900000+100e2+e5]
7c9102d2: ntdll!RtlQueryInformationActivationContext [7c900000+101e2+f0]
7c9102ed: ntdll!RtlQueryInformationActivationContext [7c900000+101e2+10b]
7c90e3ed: ntdll!NtRequestWaitReplyPort [7c900000+e3e1+c]
7c9132f8: ntdll!CsrClientCallServer [7c900000+132a1+57]
7c81079e: kernel32!CreateRemoteThread [7c800000+10626+178]
7c90e46b: ntdll!NtResumeThread [7c900000+e45f+c]
7c8107e1: kernel32!CreateRemoteThread [7c800000+10626+1bb]
7c8107fd: kernel32!CreateRemoteThread [7c800000+10626+1d7]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c9106ab: ntdll!RtlAllocateHeap [7c900000+105d4+d7]
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c9106ab: ntdll!RtlAllocateHeap [7c900000+105d4+d7]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c9106ab: ntdll!RtlAllocateHeap [7c900000+105d4+d7]
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c911596: ntdll!wcsncpy [7c900000+10a8f+b07]
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c911596: ntdll!wcsncpy [7c900000+10a8f+b07]
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
7c9180ff: ntdll!RtlReAllocateHeap [7c900000+179fd+702]
76b44633: WINMM!mmDrvInstall [76b40000+3a52+be1]
76b44633: WINMM!mmDrvInstall [76b40000+3a52+be1]
7c91825d: ntdll!RtlReAllocateHeap [7c900000+179fd+860]
76b44633: WINMM!mmDrvInstall [76b40000+3a52+be1]
7c911538: ntdll!wcsncpy [7c900000+10a8f+aa9]
7c911596: ntdll!wcsncpy [7c900000+10a8f+b07]
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
76b44633: WINMM!mmDrvInstall [76b40000+3a52+be1]
76b44633: WINMM!mmDrvInstall [76b40000+3a52+be1]
72d114e4: msacm32!wodMessage [72d10000+122a+2ba]
76b44633: WINMM!mmDrvInstall [76b40000+3a52+be1]
76b454f3: WINMM!DriverCallback [76b40000+54a9+4a]
75a718a8: MSVFW32!ICSendMessage [75a70000+187d+2b]
75a74c4d: MSVFW32!ICDecompress [75a70000+4c10+3d]
005138e2: VDVideoDecompressorVCM::DecompressFrame()
7c801694: kernel32!DeviceIoControl [7c800000+1625+6f]
72d24892: wdmaud!mxdMessage [72d20000+334d+1545]
004c3643: VideoSourceAVI::_isKey()
004c3643: VideoSourceAVI::_isKey()
004c4622: VideoSourceAVI::streamGetFrame()
72d21b70: wdmaud!wodMessage [72d20000+1a1b+155]
7c802600: kernel32!WaitForSingleObjectEx [7c800000+2550+b0]
7c802542: kernel32!WaitForSingleObject [7c800000+2530+12]
0047a919: Dubber::WriteVideoFrame()
0047ff67: VDStreamInterleaver::PushStreams()
0047a685: Dubber::WriteVideoFrame()
0047b2d0: Dubber::ThreadRun()
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
7c80e07b: kernel32!DuplicateHandle [7c800000+e016+65]
004d4a15: VDThread::StaticThreadStart()
0051817f: _threadstartex@4()
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
7c80b50b: kernel32!GetModuleFileNameA [7c800000+b357+1b4]
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
-- End of report
Thanks all
The file was not broken or have bad frames, It played flawlessly with divx decoders installed!
Heres Virtualdubs crashlog:
VirtualDub crash report -- build 23567 (release)
--------------------------------------
Disassembly:
020ad140: 691200008945 imul edx, [edx], 45890000
020ad146: b08b mov al, 8bh
020ad148: d7 xlatb
020ad149: 8b4dc8 mov ecx, [ebp-38h]
020ad14c: 2355bc and edx, [ebp-44h]
020ad14f: 8b7b04 mov edi, [ebx+04h]
020ad152: 8955b8 mov [ebp-48h], edx
020ad155: d3e2 shl edx, cl
020ad157: f7d9 neg ecx
020ad159: 83c120 add ecx, 20h
020ad15c: d3ef shr edi, cl
020ad15e: 0bd7 or edx, edi
020ad160: 8955cc mov [ebp-34h], edx
020ad163: 81fa00010000 cmp edx, 00000100
020ad169: 720a jc 020ad175
020ad16b: ba00010000 mov edx, 00000100
020ad170: 8955b8 mov [ebp-48h], edx
020ad173: eb21 jmp 020ad196
020ad175: 8b55c8 mov edx, [ebp-38h]
020ad178: 85d2 test edx, edx
020ad17a: 0f8e19120000 jle 020ae399
020ad180: 8bca mov ecx, edx
020ad182: 8b7db8 mov edi, [ebp-48h]
020ad185: d3e7 shl edi, cl
020ad187: 8b5304 mov edx, [ebx+04h]
020ad18a: f7d9 neg ecx
020ad18c: 83c120 add ecx, 20h
020ad18f: d3ea shr edx, cl
020ad191: 0bfa or edi, edx
020ad193: 897db8 mov [ebp-48h], edi
020ad196: 8b55b8 mov edx, [ebp-48h]
020ad199: 03d2 add edx, edx
020ad19b: 8955b8 mov [ebp-48h], edx
020ad19e: 8d1412 lea edx, [edx+edx]
020ad1a1: 8d3c12 lea edi, [edx+edx]
020ad1a4: 8955cc mov [ebp-34h], edx
020ad1a7: 0fb697c43e1002 movzx edx, byte ptr [edi+2103ec4]
020ad1ae: 03c2 add eax, edx
020ad1b0: 89430c mov [ebx+0ch], eax
020ad1b3: 83f820 cmp eax, 20h
020ad1b6: 723a jc 020ad1f2
020ad1b8: 8b7b04 mov edi, [ebx+04h]
020ad1bb: 8b4b10 mov ecx, [ebx+10h]
020ad1be: 893b mov [ebx], edi
020ad1c0: 8b5108 mov edx, [ecx+08h] <-- FAULT
020ad1c3: 899578ffffff mov [ebp-88], edx
020ad1c9: 8b8578ffffff mov eax, [ebp-88]
020ad1cf: 0fc8 bswap eax
020ad1d1: 898578ffffff mov [ebp-88], eax
020ad1d7: 8bbd78ffffff mov edi, [ebp-88]
020ad1dd: 8b4b10 mov ecx, [ebx+10h]
020ad1e0: 83c104 add ecx, 04h
020ad1e3: 897b04 mov [ebx+04h], edi
020ad1e6: 8b530c mov edx, [ebx+0ch]
020ad1e9: 83c2e0 add edx, 0e0h
020ad1ec: 894b10 mov [ebx+10h], ecx
020ad1ef: 89530c mov [ebx+0ch], edx
020ad1f2: 8b4dcc mov ecx, [ebp-34h]
020ad1f5: 8b55b8 mov edx, [ebp-48h]
020ad1f8: 8b8c51c03e1002 mov ecx, [ecx+edx*2+2103ec0]
020ad1ff: 8bd1 mov edx, ecx
020ad201: 83e207 and edx, 07h
020ad204: 8b7dc0 mov edi, [ebp-40h]
020ad207: 8994b7ec000000 mov [edi+esi*4+ec], edx
020ad20e: c1e904 shr ecx, 04h
020ad211: 83fa03 cmp edx, 03h
020ad214: 894dac mov [ebp-54h], ecx
020ad217: 0f8472110000 jz 020ae38f
020ad21d: 83fa04 cmp edx, 04h
020ad220: 0f8469110000 jz 020ae38f
020ad226: 32c9 xor cl, cl
020ad228: 884db0 mov [ebp-50h], cl
020ad22b: 8b4de0 mov ecx, [ebp-20h]
020ad22e: 85c9 test ecx, ecx
020ad230: 0f8491000000 jz 020ad2c7
020ad236: 85d2 test edx, edx
020ad238: 0f8580000000 jnz 020ad2be
020ad23e: 8b db 8bh
020ad23f: 43 inc ebx
Windows 5.1 (Windows XP build 2600) [Service Pack 2]
EAX = fffe2942
EBX = 06cee5a0
ECX = 011b3ff8
EDX = 00000000
EBP = 06cee540
ESI = 0000dcb0
EDI = 00000000
ESP = 06cee4b0
EIP = 020ad1c0
EFLAGS = 00010286
FPUCW = ffff027f
FPUTW = ffffaaaa
Crash reason: Access Violation
Crash context:
An out-of-bounds memory access (access violation) occurred in module 'xvidcore'...
...while decompressing video frame 82932 (VideoSource.cpp:1691)...
...while using input buffer at 011b0000-011b0bf5 (VideoSource.cpp:1690)...
...while using output buffer at 01fc0000-02054803 (VideoSource.cpp:1689)...
...while running thread "Processing" (thread.cpp:150).
Pointer dumps:
EBX 06cee5a0: 00000000 00000000 00000000 fffe2942 011b3ff8 011b0000 00000bf6 00000000
ECX 011b3ff8: 00000000 00000000
ESI 011b3ff8: 00000000 00000000
ESP 06cee4b0: 01fc0000 00000000 00000000 3bc61a21 e3945b08 00000000 a70329c8 00000210
06cee4d0: 00000120 80000000 02212e80 06cee5a0 00000000 00000021 00000000 00000000
06cee4f0: ffffff00 024474c0 00000000 3fffffff 02410200 fffe2a5d fffe292b 00000000
06cee510: 00000000 00000000 00000001 02190080 06cee5c4 00000012 00000000 00000010
EBP 06cee540: 06ceee48 020ab6a4 02190080 06cee5a0 00000000 00000005 00000000 00000020
06cee560: 06cee5c4 00000000 00000000 00000000 00000000 00000000 00000000 00000000
06cee580: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
06cee5a0: 00000000 00000000 00000000 fffe2942 011b3ff8 011b0000 00000bf6 00000000
Thread call stack:
020ad1c0: xvidcore!xvid_decore [02060000+4b1ec+1fd4]
020ab6a4: xvidcore!xvid_decore [02060000+4b1ec+4b8]
020ab221: xvidcore!xvid_decore [02060000+4b1ec+35]
10006e8c: xvidvfw!DriverProc [10000000+6be0+2ac]
7c910833: ntdll!RtlAllocateHeap [7c900000+105d4+25f]
7c910833: ntdll!RtlAllocateHeap [7c900000+105d4+25f]
7c80b5b8: kernel32!GetModuleHandleA [7c800000+b529+8f]
7c80b58c: kernel32!GetModuleHandleA [7c800000+b529+63]
7c80b5a1: kernel32!GetModuleHandleA [7c800000+b529+78]
7c9101c7: ntdll!RtlAddRefActivationContext [7c900000+100e2+e5]
7c9102d2: ntdll!RtlQueryInformationActivationContext [7c900000+101e2+f0]
7c9102ed: ntdll!RtlQueryInformationActivationContext [7c900000+101e2+10b]
7c90e3ed: ntdll!NtRequestWaitReplyPort [7c900000+e3e1+c]
7c9132f8: ntdll!CsrClientCallServer [7c900000+132a1+57]
7c81079e: kernel32!CreateRemoteThread [7c800000+10626+178]
7c90e46b: ntdll!NtResumeThread [7c900000+e45f+c]
7c8107e1: kernel32!CreateRemoteThread [7c800000+10626+1bb]
7c8107fd: kernel32!CreateRemoteThread [7c800000+10626+1d7]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c9106ab: ntdll!RtlAllocateHeap [7c900000+105d4+d7]
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c9106ab: ntdll!RtlAllocateHeap [7c900000+105d4+d7]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c9106ab: ntdll!RtlAllocateHeap [7c900000+105d4+d7]
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c911596: ntdll!wcsncpy [7c900000+10a8f+b07]
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c911596: ntdll!wcsncpy [7c900000+10a8f+b07]
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
7c9180ff: ntdll!RtlReAllocateHeap [7c900000+179fd+702]
76b44633: WINMM!mmDrvInstall [76b40000+3a52+be1]
76b44633: WINMM!mmDrvInstall [76b40000+3a52+be1]
7c91825d: ntdll!RtlReAllocateHeap [7c900000+179fd+860]
76b44633: WINMM!mmDrvInstall [76b40000+3a52+be1]
7c911538: ntdll!wcsncpy [7c900000+10a8f+aa9]
7c911596: ntdll!wcsncpy [7c900000+10a8f+b07]
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
76b44633: WINMM!mmDrvInstall [76b40000+3a52+be1]
76b44633: WINMM!mmDrvInstall [76b40000+3a52+be1]
72d114e4: msacm32!wodMessage [72d10000+122a+2ba]
76b44633: WINMM!mmDrvInstall [76b40000+3a52+be1]
76b454f3: WINMM!DriverCallback [76b40000+54a9+4a]
75a718a8: MSVFW32!ICSendMessage [75a70000+187d+2b]
75a74c4d: MSVFW32!ICDecompress [75a70000+4c10+3d]
005138e2: VDVideoDecompressorVCM::DecompressFrame()
7c801694: kernel32!DeviceIoControl [7c800000+1625+6f]
72d24892: wdmaud!mxdMessage [72d20000+334d+1545]
004c3643: VideoSourceAVI::_isKey()
004c3643: VideoSourceAVI::_isKey()
004c4622: VideoSourceAVI::streamGetFrame()
72d21b70: wdmaud!wodMessage [72d20000+1a1b+155]
7c802600: kernel32!WaitForSingleObjectEx [7c800000+2550+b0]
7c802542: kernel32!WaitForSingleObject [7c800000+2530+12]
0047a919: Dubber::WriteVideoFrame()
0047ff67: VDStreamInterleaver::PushStreams()
0047a685: Dubber::WriteVideoFrame()
0047b2d0: Dubber::ThreadRun()
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
7c80e07b: kernel32!DuplicateHandle [7c800000+e016+65]
004d4a15: VDThread::StaticThreadStart()
0051817f: _threadstartex@4()
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
7c80b50b: kernel32!GetModuleFileNameA [7c800000+b357+1b4]
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
-- End of report
Thanks all