PDA

View Full Version : Vdub - An out-of-bounds memory access in module LameACM


kidcash
21st January 2008, 15:58
Hello,

While encoding an divx movie to xvid, using the Lame MP3 Audio codec in Virtualdub I get this following error :

An out-of-bounds memory access (access violation) occurred in module 'lameACM'...
...writing address 016E3000.

Is this a problem with the audio track on the movie, I there any applications that can detect errors in the audio and fix them? much like ac3 fix? Or is it a problem with the Lame codec, is there any other mp3 codecs I can use?
What should I do to be able to encode this movie without encountering this error?

Below is the crash report,

Thanks,
kidcash

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

Disassembly:
02c46a80: e86bf4ffff call 02c45ef0
02c46a85: 8b4c2424 mov ecx, [esp+24h]
02c46a89: 83c414 add esp, 14h
02c46a8c: 03c3 add eax, ebx
02c46a8e: 5f pop edi
02c46a8f: 5e pop esi
02c46a90: 5d pop ebp
02c46a91: 03c1 add eax, ecx
02c46a93: 5b pop ebx
02c46a94: 83c42c add esp, 2ch
02c46a97: c3 ret
02c46a98: 90 nop
02c46a99: 90 nop
02c46a9a: 90 nop
02c46a9b: 90 nop
02c46a9c: 90 nop
02c46a9d: 90 nop
02c46a9e: 90 nop
02c46a9f: 90 nop
02c46aa0: b804240000 mov eax, 00002404
02c46aa5: e8767afeff call 02c2e520
02c46aaa: 53 push ebx
02c46aab: 8b9c240c240000 mov ebx, [esp+240c]
02c46ab2: 55 push ebp
02c46ab3: 56 push esi
02c46ab4: 8bab307d0000 mov ebp, [ebx+7d30]
02c46aba: 57 push edi
02c46abb: 45 inc ebp
02c46abc: 85ed test ebp, ebp
02c46abe: 7f0d jg 02c46acd
02c46ac0: 5f pop edi
02c46ac1: 5e pop esi
02c46ac2: 5d pop ebp
02c46ac3: 33c0 xor eax, eax
02c46ac5: 5b pop ebx
02c46ac6: 81c404240000 add esp, 00002404
02c46acc: c3 ret
02c46acd: 8b842420240000 mov eax, [esp+2420]
02c46ad4: 85c0 test eax, eax
02c46ad6: 7412 jz 02c46aea
02c46ad8: 3be8 cmp ebp, eax
02c46ada: 7e0e jle 02c46aea
02c46adc: 5f pop edi
02c46add: 5e pop esi
02c46ade: 5d pop ebp
02c46adf: 83c8ff or eax, 0ffh
02c46ae2: 5b pop ebx
02c46ae3: 81c404240000 add esp, 00002404
02c46ae9: c3 ret
02c46aea: 8b84241c240000 mov eax, [esp+241c]
02c46af1: 8bb3247d0000 mov esi, [ebx+7d24]
02c46af7: 8bcd mov ecx, ebp
02c46af9: 8bf8 mov edi, eax
02c46afb: 8bd1 mov edx, ecx
02c46afd: c1e902 shr ecx, 02h
02c46b00: f3a5 rep movsd <-- FAULT
02c46b02: 8bca mov ecx, edx
02c46b04: 83e103 and ecx, 03h
02c46b07: f3a4 rep movsb
02c46b09: 8b8c2424240000 mov ecx, [esp+2424]
02c46b10: c783307d0000ff mov dword ptr [ebx+7d30], ffffffff
ffffff
02c46b1a: 85c9 test ecx, ecx
02c46b1c: c783347d000000 mov dword ptr [ebx+7d34], 00000000
000000
02c46b26: 0f843e010000 jz 02c46c6a
02c46b2c: 55 push ebp
02c46b2d: 50 push eax
02c46b2e: 8d8338f30000 lea eax, [ebx+f338]
02c46b34: 50 push eax
02c46b35: e8a6c0ffff call 02c42be0
02c46b3a: 8b8bc47c0000 mov ecx, [ebx+7cc4]
02c46b40: 83c40c add esp, 0ch
02c46b43: 8b4140 mov eax, [ecx+40h]
02c46b46: 85c0 test eax, eax
02c46b48: 0f841c010000 jz 02c46c6a
02c46b4e: 8bfd mov edi, ebp
02c46b50: 8b8c241c240000 mov ecx, [esp+241c]
02c46b57: 8d942414120000 lea edx, [esp+1214]
02c46b5e: 8d442414 lea eax, [esp+14h]
02c46b62: 52 push edx
02c46b63: 50 push eax
02c46b64: 57 push edi
02c46b65: 51 push ecx
02c46b66: e8d5030000 call 02c46f40
02c46b6b: 8bf0 mov esi, eax
02c46b6d: 83c410 add esp, 10h
02c46b70: 33ff xor edi, edi
02c46b72: 83feff cmp esi, 0ffh
02c46b75: 0f84ef000000 jz 02c46c6a
02c46b7b: 85f6 test esi, esi
02c46b7d: 0f db 0fh
02c46b7e: 8ee1 mov fs, cx

Built on KOS-MOS on Sun Dec 09 18:31:36 2007 using compiler version 1400

Windows 5.2 (Windows XP x86 build 3790) [Service Pack 1]

EAX = 016dac18
EBX = 03160048
ECX = 00007417
EDX = 00025444
EBP = 00025444
ESI = 02d09f30
EDI = 016e3000
ESP = 00125858
EIP = 02c46b00
EFLAGS = 00010206
FPUCW = ffff027f
FPUTW = ffffffff

Crash reason: Access Violation

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

...writing address 016E3000.

Pointer dumps:

EAX 016dac18: 454d414c 36392e33 5555312e 55555555 55555555 55555555 55555555 55555555
EBX 03160048: c1facccd c1b66666 c1be0000 c1dc6666 c1366666 c1aecccd c1906666 c1273333
ESI 02d09f30: 55555555 55555555 55555555 55555555 55555555 55555555 55555555 55555555
ESP 00125858: 00127cd0 02d00708 00127cc8 03160048 00000000 00000000 00000000 00000000
00125878: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00125898: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
001258b8: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

Thread call stack:
02c46b00: lameACM!DriverProc [02c20000+8e20+1dce0]
02c49c9e: lameACM!DriverProc [02c20000+8e20+20e7e]
02c4d29d: lameACM!DriverProc [02c20000+8e20+2447d]
02c4d38f: lameACM!DriverProc [02c20000+8e20+2456f]
02c5b4d9: lameACM!DriverProc [02c20000+8e20+326b9]
02c5af51: lameACM!DriverProc [02c20000+8e20+32131]
02c5b4d9: lameACM!DriverProc [02c20000+8e20+326b9]
02c5af51: lameACM!DriverProc [02c20000+8e20+32131]
02c5a6c8: lameACM!DriverProc [02c20000+8e20+318a8]
02c5a6c8: lameACM!DriverProc [02c20000+8e20+318a8]
02c5a674: lameACM!DriverProc [02c20000+8e20+31854]
02c3a20c: lameACM!DriverProc [02c20000+8e20+113ec]
02c440d7: lameACM!DriverProc [02c20000+8e20+1b2b7]
02c46aaa: lameACM!DriverProc [02c20000+8e20+1dc8a]
02c4829c: lameACM!DriverProc [02c20000+8e20+1f47c]
1004bb4f: nview!PMLoadPresentation [10000000+487d0+337f]
77e6f07b: kernel32!lstrcmpW [77e40000+2f05b+20]
1004aad8: nview!PMLoadPresentation [10000000+487d0+2308]
7c821dd4: ntdll!NtSetEvent [7c800000+21dc8+c]
77e670ea: kernel32!SetEvent [77e40000+270da+10]
1004af6d: nview!PMLoadPresentation [10000000+487d0+279d]
1004c4f4: nview!PMLoadPresentation [10000000+487d0+3d24]
77e4c35b: kernel32!SystemTimeToTzSpecificLocalTime [77e40000+c08d+2ce]
77e6891f: kernel32!lstrcpyW [77e40000+28903+1c]
77e6892a: kernel32!lstrcpyW [77e40000+28903+27]
77e6892a: kernel32!lstrcpyW [77e40000+28903+27]
1008b033: nview!NVQueryDesktopContextMenu [10000000+77b80+134b3]
7c8219b4: ntdll!NtQueryInformationThread [7c800000+219a8+c]
77e58e70: kernel32!GetThreadPriority [77e40000+18e55+1b]
7c821134: ntdll!NtClearEvent [7c800000+21128+c]
77e6710c: kernel32!ResetEvent [77e40000+270fe+e]
1004bb4f: nview!PMLoadPresentation [10000000+487d0+337f]
7c821dd4: ntdll!NtSetEvent [7c800000+21dc8+c]
77e670ea: kernel32!SetEvent [77e40000+270da+10]
1004af6d: nview!PMLoadPresentation [10000000+487d0+279d]
1004cfcc: nview!PMLoadPresentation [10000000+487d0+47fc]
10082cca: nview!NVQueryDesktopContextMenu [10000000+77b80+b14a]
7c83a930: ntdll!bsearch [7c800000+3a8ed+43]
7c83a878: ntdll!RtlInterlockedPushEntrySList [7c800000+3a594+2e4]
7c83a78f: ntdll!RtlInterlockedPushEntrySList [7c800000+3a594+1fb]
7c83aa25: ntdll!bsearch [7c800000+3a8ed+138]
7c83ab9e: ntdll!RtlHashUnicodeString [7c800000+3aab9+e5]
7c832d06: ntdll!RtlFindActivationContextSectionString [7c800000+32c29+dd]
7c8330db: ntdll!RtlDosApplyFileIsolationRedirection_Ustr [7c800000+32d23+3b8]
7c8302e7: ntdll!RtlInitUnicodeStringEx [7c800000+30247+a0]
7c82fadf: ntdll!RtlAllocateHeap [7c800000+2f9fd+e2]
7c82fb23: ntdll!RtlAllocateHeap [7c800000+2f9fd+126]
7c837685: ntdll!RtlMultiAppendUnicodeStringBuffer [7c800000+375f3+92]
7c832f80: ntdll!RtlDosApplyFileIsolationRedirection_Ustr [7c800000+32d23+25d]
7c832fe5: ntdll!RtlDosApplyFileIsolationRedirection_Ustr [7c800000+32d23+2c2]
7c833488: ntdll!RtlValidateUnicodeString [7c800000+33339+14f]
7c8302b3: ntdll!RtlInitUnicodeStringEx [7c800000+30247+6c]
7c82f9c1: ntdll!RtlFreeHeap [7c800000+2f89b+126]
7c82f9dd: ntdll!RtlFreeHeap [7c800000+2f89b+142]
7c832b78: ntdll!LdrUnlockLoaderLock [7c800000+32b21+57]
7c832b7f: ntdll!LdrUnlockLoaderLock [7c800000+32b21+5e]
7c832b7f: ntdll!LdrUnlockLoaderLock [7c800000+32b21+5e]
7c836b93: ntdll!LdrAlternateResourcesEnabled [7c800000+368a1+2f2]
7c836b56: ntdll!LdrAlternateResourcesEnabled [7c800000+368a1+2b5]
7c836b56: ntdll!LdrAlternateResourcesEnabled [7c800000+368a1+2b5]
7c836cf9: ntdll!LdrGetDllHandle [7c800000+36ce1+18]
77e665e3: kernel32!GetModuleHandleA [77e40000+26404+1df]
77e665f3: kernel32!GetModuleHandleA [77e40000+26404+1ef]
77e665f3: kernel32!GetModuleHandleA [77e40000+26404+1ef]
77e66516: kernel32!GetModuleHandleA [77e40000+26404+112]
77e66596: kernel32!GetModuleHandleA [77e40000+26404+192]
77383f99: USER32!EnumDisplayDevicesW [77380000+3f10+89]
77383faa: USER32!EnumDisplayDevicesW [77380000+3f10+9a]
77c0b1d5: GDI32!ExtEscape [77c00000+b01e+1b7]
77c0b1b5: GDI32!ExtEscape [77c00000+b01e+197]
77c0b1d5: GDI32!ExtEscape [77c00000+b01e+1b7]
77c0b1b5: GDI32!ExtEscape [77c00000+b01e+197]
77c0b1c0: GDI32!ExtEscape [77c00000+b01e+1a2]
7c8302e7: ntdll!RtlInitUnicodeStringEx [7c800000+30247+a0]
7c82fadf: ntdll!RtlAllocateHeap [7c800000+2f9fd+e2]
7c82fb23: ntdll!RtlAllocateHeap [7c800000+2f9fd+126]
7c8339a3: ntdll!RtlValidateUnicodeString [7c800000+33339+66a]
7c831fb2: ntdll!RtlImageNtHeaderEx [7c800000+31f15+9d]
7c831fe4: ntdll!RtlImageNtHeader [7c800000+31fc9+1b]
7c832742: ntdll!RtlImageDirectoryEntryToData [7c800000+32703+3f]
7c833ae4: ntdll!RtlValidateUnicodeString [7c800000+33339+7ab]
00d91225: nvwddi!NVDDI_GetDDIRevLevel [00d90000+1100+125]
00d91d1d: nvwddi!NVDDI_GetDDIRevLevel [00d90000+1100+c1d]
00d9308b: nvwddi!NVDDI_ExtEscape [00d90000+2fd0+bb]
1005ab83: nview!PMLoadPresentation [10000000+487d0+123b3]
1005b293: nview!PMLoadPresentation [10000000+487d0+12ac3]
100828e2: nview!NVQueryDesktopContextMenu [10000000+77b80+ad62]
77c070db: GDI32!GdiReleaseDC [77c00000+6fc8+113]
77c073da: GDI32!CreateCompatibleBitmap [77c00000+729a+140]
77c07413: GDI32!DeleteDC [77c00000+7401+12]
1005af55: nview!PMLoadPresentation [10000000+487d0+12785]
00330035: 00330035
7c8219b4: ntdll!NtQueryInformationThread [7c800000+219a8+c]
77e58e70: kernel32!GetThreadPriority [77e40000+18e55+1b]
7c821134: ntdll!NtClearEvent [7c800000+21128+c]
77e6710c: kernel32!ResetEvent [77e40000+270fe+e]
1004bb4f: nview!PMLoadPresentation [10000000+487d0+337f]
10082a40: nview!NVQueryDesktopContextMenu [10000000+77b80+aec0]
7c822124: ntdll!NtWaitForSingleObject [7c800000+22118+c]
77e6bad8: kernel32!WaitForSingleObjectEx [77e40000+2ba50+88]

-- End of report