VideoHelp Forum
+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. I've been using VirtualDub to cut avi files for gifs for a while now and suddenly, yesterday I got these errors while trying to skip through the file

    "An out-of-bounds memory access (access violation) occurred in module 'xvid'..."
    "An integer division by zero occurred in module 'xvid'..."


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

    Disassembly:
    10007660: d1e2 shl edx, 1
    10007662: 8b442418 mov eax, [esp+18h]
    10007666: 08c0 or al, al
    10007668: 0f8573000000 jnz 100076e1
    1000766e: 0f6f06 movq mm0, [esi]
    10007671: 0f6f0c0e movq mm1, [esi+ecx]
    10007675: 0f0f4601bf pavgusb mm0, [esi+01h]
    1000767a: 0f0f4c0e01bf pavgusb mm1, [esi+ecx+01h]
    10007680: 0f7f07 movq [edi], mm0
    10007683: 0f7f0c0f movq [edi+ecx], mm1
    10007687: 01d6 add esi, edx
    10007689: 01d7 add edi, edx
    1000768b: 0f6f06 movq mm0, [esi]
    1000768e: 0f6f0c0e movq mm1, [esi+ecx]
    10007692: 0f0f4601bf pavgusb mm0, [esi+01h]
    10007697: 0f0f4c0e01bf pavgusb mm1, [esi+ecx+01h]
    1000769d: 0f7f07 movq [edi], mm0
    100076a0: 0f7f0c0f movq [edi+ecx], mm1
    100076a4: 01d6 add esi, edx
    100076a6: 01d7 add edi, edx
    100076a8: 0f6f06 movq mm0, [esi]
    100076ab: 0f6f0c0e movq mm1, [esi+ecx]
    100076af: 0f0f4601bf pavgusb mm0, [esi+01h]
    100076b4: 0f0f4c0e01bf pavgusb mm1, [esi+ecx+01h]
    100076ba: 0f7f07 movq [edi], mm0
    100076bd: 0f7f0c0f movq [edi+ecx], mm1
    100076c1: 01d6 add esi, edx
    100076c3: 01d7 add edi, edx
    100076c5: 0f6f06 movq mm0, [esi]
    100076c8: 0f6f0c0e movq mm1, [esi+ecx]
    100076cc: 0f0f4601bf pavgusb mm0, [esi+01h]
    100076d1: 0f0f4c0e01bf pavgusb mm1, [esi+ecx+01h]
    100076d7: 0f7f07 movq [edi], mm0
    100076da: 0f7f0c0f movq [edi+ecx], mm1
    100076de: 5f pop edi
    100076df: 5e pop esi
    100076e0: c3 ret
    100076e1: 0f6f3d68ff0310 movq mm7, [1003ff68]
    100076e8: b804000000 mov eax, 00000004
    100076ed: 0f6f06 movq mm0, [esi] <-- FAULT
    100076f0: 0f6f0c0e movq mm1, [esi+ecx]
    100076f4: 0f6f5601 movq mm2, [esi+01h]
    100076f8: 0f6f5c0e01 movq mm3, [esi+ecx+01h]
    100076fd: 0f6fe0 movq mm4, mm0
    10007700: 0f6fe9 movq mm5, mm1
    10007703: 0f0fc2bf pavgusb mm0, mm2
    10007707: 0f0fcbbf pavgusb mm1, mm3
    1000770b: 0ffcd4 paddb mm2, mm4
    1000770e: 0ffcdd paddb mm3, mm5
    10007711: 0fdbd7 pand mm2, mm7
    10007714: 0fdbdf pand mm3, mm7
    10007717: 0fd8c2 psubusb mm0, mm2
    1000771a: 0fd8cb psubusb mm1, mm3
    1000771d: 0f7f07 movq [edi], mm0
    10007720: 0f7f0c0f movq [edi+ecx], mm1
    10007724: 01d6 add esi, edx
    10007726: 01d7 add edi, edx
    10007728: 48 dec eax
    10007729: 75c2 jnz 100076ed
    1000772b: 5f pop edi
    1000772c: 5e pop esi
    1000772d: c3 ret
    1000772e: 90 nop
    1000772f: 90 nop
    10007730: 56 push esi
    10007731: 57 push edi
    10007732: 8b442418 mov eax, [esp+18h]
    10007736: 0f6f3cc548ff03 movq mm7, [eax*8+1003ff48]
    10
    1000773e: 8b7c240c mov edi, [esp+0ch]
    10007742: 8b742410 mov esi, [esp+10h]
    10007746: 8b542414 mov edx, [esp+14h]
    1000774a: b808000000 mov eax, 00000008
    1000774f: 0feff6 pxor mm6, mm6
    10007752: 0f6f06 movq mm0, [esi]
    10007755: 0f6f5601 movq mm2, [esi+01h]
    10007759: 0f6fc8 movq mm1, mm0
    1000775c: 0f6fda movq mm3, mm2
    1000775f: 0f db 0fh

    Built on Aegis on Fri Dec 24 13:18:44 2010 using compiler version 1400

    Windows 6.1 (Windows Vista x64 build 7601) [Service Pack 1]

    EAX = 00000004
    EBX = 00000000
    ECX = 00000540
    EDX = 00000a80
    EBP = 000002a0
    ESI = 4575a84f
    EDI = 0537a850
    ESP = 0018ec88
    EIP = 100076ed
    EFLAGS = 00210202
    FPUCW = 027f
    FPUTW = aaaa

    Crash reason: Access Violation

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

    ...reading address 4575A84F...

    ...while decompressing video frame 2362 (VideoSource.cpp:2141)...

    ...while using input buffer at 04f91e30-04f92b64 (VideoSource.cpp:2140)...

    ...while using output buffer at 04fe0080-05364083 (VideoSource.cpp:2139).

    Pointer dumps:

    EDI 0537a850: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    ESP 0018ec88: 00000000 00000540 10013c47 0537a850 4575a84f 00000540 00000001 0018f3b4
    0018eca8: 071c0030 00000000 04361a00 00000320 0575a850 7fffffff 3fffffff 00000000
    0018ecc8: 00000000 00002a00 00000001 0018f010 0537a850 043e4fc0 054e2a60 0018ecf0
    0018ece8: 0000002c 0018eda0 00000000 00010001 0000ffff 00000000 0000ffff 0000ffff

    Thread call stack:
    100076ed: xvid!xvid_encore [10000000+7520+1cd]
    10013c47: xvid!xvid_encore [10000000+7520+c727]
    10012840: xvid!xvid_encore [10000000+7520+b320]
    10014897: xvid!xvid_encore [10000000+7520+d377]
    10012840: xvid!xvid_encore [10000000+7520+b320]
    10014897: xvid!xvid_encore [10000000+7520+d377]
    10014fa4: xvid!xvid_encore [10000000+7520+da84]
    100180e3: xvid!xvid_encore [10000000+7520+10bc3]
    1000750e: xvid!xvid_decore [10000000+74d0+3e]
    10003ba4: xvid!00003ba4
    10006e3c: xvid!DriverProc [10000000+6b90+2ac]
    005b34b0: (special)()
    004c32ac: AVIReadCache::WriteBegin()
    005bc1b5: _VEC_memcpy()
    005bc217: _VEC_memcpy()
    004c2da9: AVIReadCache::Write()
    74911759: MSVFW32!ICSendMessage [74910000+1728+31]
    74914e27: MSVFW32!ICDecompress [74910000+4dea+3d]
    0059d1b1: VDVideoDecompressorVCM:ecompressFrame()
    004dd333: VideoSourceAVI:treamGetFrame()
    0043360a: VDFilterFrameVideoSource::RunRequests()
    757d62fa: USER32!gapfnScSendMessage [757c0000+15fc8+332]
    005b2fb6: malloc()
    004619f6: VDProject::UpdateFrame()
    00432855: VDFilterFrameRequest::CreateClient()
    0043289d: VDFilterFrameRequest::CreateClient()
    00431bb2: VDFilterFrameManualSource::CreateRequest()
    0043c92b: FilterSystem::RequestFrame()
    00462752: VDProject:isplayFrame()
    76f9f8ca: ntdll!NtCallbackReturn [76f80000+1f8b8+12]
    00460b28: VDProject::MoveToFrame()
    004672f3: VDProjectUI::OnPositionNotify()
    0046d85a: VDProjectUI::MainWndProc()
    00465ac0: VDProjectUI::WndProc()
    00479b65: VDUIFrame::StaticWndProc()
    757d62fa: USER32!gapfnScSendMessage [757c0000+15fc8+332]
    757d6d3a: USER32!GetThreadDesktop [757c0000+16c63+d7]
    757d6ce9: USER32!GetThreadDesktop [757c0000+16c63+86]
    757d965e: USER32!GetWindow [757c0000+1926e+3f0]
    757e617a: USER32!SendMessageA [757c0000+2612e+4c]
    004b21db: VDPositionControlW32::Notify()
    004b2f5c: VDPositionControlW32::WndProc()
    004b2e8f: VDPositionControlW32::WndProc()
    004b32a2: VDPositionControlW32::StaticWndProc()
    757d62fa: USER32!gapfnScSendMessage [757c0000+15fc8+332]
    757d6d3a: USER32!GetThreadDesktop [757c0000+16c63+d7]
    757d6ce9: USER32!GetThreadDesktop [757c0000+16c63+86]
    76f9010a: ntdll!KiUserCallbackDispatcher [76f80000+100dc+2e]
    757d77c4: USER32!CharPrevW [757c0000+1768c+138]
    757e60dc: USER32!PeekMessageA [757c0000+25f74+168]
    757d7bca: USER32!DispatchMessageA [757c0000+17bbb+f]
    00452596: WinMain@16()
    005b78db: __tmainCRTStartup()
    74f4339a: kernel32!BaseThreadInitThunk [74f30000+13388+12]
    76fb9ef2: ntdll!RtlInitializeExceptionChain [76f80000+39e8f+63]
    76fb9ec5: ntdll!RtlInitializeExceptionChain [76f80000+39e8f+36]

    -- End of report


    I have tried reinstalling divx codecs and reinstalling virtualdub but it hasn't worked.
    Quote Quote  
  2. You have a corrupt file. Xvid is having trouble decoding it. Try disabling Xvid, and setting Divx to decode all related fourccs. Maybe Divx will handle the corrupt file better.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!