| Printable Version of Topic
Click here to view this topic in its original format |
| Unofficial VirtualDub Support Forums > Testing / Bug Reports > Out-of-bounds Memory Access |
| Posted by: acerbiter Apr 27 2003, 01:30 AM |
| hey! I have a following problem. I had a movie that had VBR audio so I extracted it into wave file and then saved the video without sound. Now I'm trying to recombine the vido file with an mp3 files which I've created by encoding the wave file with RazorLame. the problem: when I open the video file in virtual dub (or nan dub) and then go to audio, open the mp3 file, choose "full processing mode" and then go to "compression ..." I got the following error: An out-of-bounds memory access (access violation) occurred in module 'lameACM'... ...while enumerating formats for audio codec "LAME MP3 Codec v0.9.0 - 3.93 (stable)" (acompchoose.cpp:188)... ...while enumerating audio codec ID 00148bb0 (acompchoose.cpp:183). advanced here: VirtualDub crash report -- build 15654 (release-P4) -------------------------------------- Disassembly: 100010e0: 890424 mov [esp], eax 100010e3: e898d30100 call 1001e480 100010e8: 83c408 add esp, 08 100010eb: 33c0 xor eax, eax 100010ed: 89430c mov [ebx+0c], eax 100010f0: 894308 mov [ebx+08], eax 100010f3: 894304 mov [ebx+04], eax 100010f6: c745fc04000000 mov dword ptr [ebp-04], 00000004 100010fd: 8b5ddc mov ebx, [ebp-24] 10001100: 81c386000000 add ebx, 00000086 10001106: 8b4304 mov eax, [ebx+04] 10001109: 85c0 test eax, eax 1000110b: 741b jz 10001128 1000110d: 0fb650ff movzx edx, byte ptr [eax-01] 10001111: 85d2 test edx, edx 10001113: 0f8526010000 jnz 1000123f 10001119: 83c4f8 add esp, f8 1000111c: 48 dec eax 1000111d: 890424 mov [esp], eax 10001120: e85bd30100 call 1001e480 10001125: 83c408 add esp, 08 10001128: 33c0 xor eax, eax 1000112a: 89430c mov [ebx+0c], eax 1000112d: 894308 mov [ebx+08], eax 10001130: 894304 mov [ebx+04], eax 10001133: c745fc03000000 mov dword ptr [ebp-04], 00000003 1000113a: 8b45dc mov eax, [ebp-24] 1000113d: 83c044 add eax, 44 10001140: 8945e4 mov [ebp-1c], eax 10001143: c745fc07000000 mov dword ptr [ebp-04], 00000007 1000114a: c745fc08000000 mov dword ptr [ebp-04], 00000008 10001151: 8b45e4 mov eax, [ebp-1c] 10001154: c70080610d10 mov dword ptr [eax], 100d6180 1000115a: c745fc07000000 mov dword ptr [ebp-04], 00000007 10001161: 8b5de4 mov ebx, [ebp-1c] 10001164: 83c332 add ebx, 32 10001167: 8b4304 mov eax, [ebx+04] 1000116a: 85c0 test eax, eax 1000116c: 741b jz 10001189 1000116e: 0fb650ff movzx edx, byte ptr [eax-01] <-- FAULT 10001172: 85d2 test edx, edx 10001174: 0f85af000000 jnz 10001229 1000117a: 83c4f8 add esp, f8 1000117d: 48 dec eax 1000117e: 890424 mov [esp], eax 10001181: e8fad20100 call 1001e480 10001186: 83c408 add esp, 08 10001189: 33c0 xor eax, eax 1000118b: 89430c mov [ebx+0c], eax 1000118e: 894308 mov [ebx+08], eax 10001191: 894304 mov [ebx+04], eax 10001194: c745fc03000000 mov dword ptr [ebp-04], 00000003 1000119b: 8b4de4 mov ecx, [ebp-1c] 1000119e: e86d590400 call 10046b10 100011a3: c745fc00000000 mov dword ptr [ebp-04], 00000000 100011aa: 8b45dc mov eax, [ebp-24] 100011ad: c7400460610d10 mov dword ptr [eax+04], 100d6160 100011b4: c745fcffffffff mov dword ptr [ebp-04], ffffffff 100011bb: 8b45d4 mov eax, [ebp-2c] 100011be: c7400c60610d10 mov dword ptr [eax+0c], 100d6160 100011c5: 8b4df4 mov ecx, [ebp-0c] 100011c8: 64890d00000000 mov fs:[00000000], ecx 100011cf: 8b1c24 mov ebx, [esp] 100011d2: 8b742404 mov esi, [esp+04] 100011d6: 8b7c2408 mov edi, [esp+08] 100011da: 8be5 mov esp, ebp 100011dc: 5d pop ebp 100011dd: c3 ret 100011de: 8b db 8b 100011df: 4d dec ebp Windows 5.1 (Windows XP build 2600) [Service Pack 1] EAX = 4c590000 EBX = 00170a66 ECX = 77e760de EDX = 00000000 EBP = 0012f2e0 DS:ESI = 0023:00000010 ES:EDI = 0023:1001e520 SS:ESP = 0023:0012f29c CS:EIP = 001b:1000116e FS = 003b GS = 0000 EFLAGS = 00010206 MM0 = 0032677b0032677b MM1 = ed8deaf8ed8deaf8 MM2 = 0000000000000000 MM3 = 0000000000000000 MM4 = 0000000000000000 MM5 = 0000000100000000 MM6 = 8000000000000000 MM7 = b5e0000000000000 Crash reason: Access Violation Crash context: An out-of-bounds memory access (access violation) occurred in module 'lameACM'... ...while enumerating formats for audio codec "LAME MP3 Codec v0.9.0 - 3.93 (stable)" (acompchoose.cpp:188)... ...while enumerating audio codec ID 00148bb0 (acompchoose.cpp:183). Thread traces: Thread 00000110 (Main thread) C:\p4root\dev\VirtualDub\source\Init.cpp(247) C:\p4root\dev\VirtualDub\source\Init.cpp(268) C:\p4root\dev\VirtualDub\source\Init.cpp(286) C:\p4root\dev\VirtualDub\source\Init.cpp(348) C:\p4root\dev\VirtualDub\source\Main.cpp(190) C:\p4root\dev\VirtualDub\source\Main.cpp(213) C:\p4root\dev\VirtualDub\source\VideoSource.cpp(569) C:\p4root\dev\VirtualDub\source\VideoSource.cpp(597) Thread call stack:1000116e: lameACM!0000116e 10003bc2: lameACM!00003bc2 1001e66e: lameACM!DriverProc [10000000+1e520+14e] 77f5f485: ntdll!RtlUnlockHeap [77f50000+f467+1e] 77f5f4a1: ntdll!RtlUnlockHeap [77f50000+f467+3a] 77e73996: kernel32!GlobalUnlock [77e60000+1391c+7a] 77e7399e: kernel32!GlobalUnlock [77e60000+1391c+82] 76b437b0: WINMM!SendDriverMessage [76b40000+36f0+c0] 76b43707: WINMM!SendDriverMessage [76b40000+36f0+17] 76b43925: WINMM!CloseDriver [76b40000+38da+4b] 76b438ed: WINMM!CloseDriver [76b40000+38da+13] 77be358d: MSACM32!acmGetVersion [77be0000+13a0+21ed] 77be3a82: MSACM32!acmDriverClose [77be0000+3a4c+36] 004878ac: ACMDriverEnumerator() 77dd27cf: ADVAPI32!RegQueryValueExA [77dd0000+2410+3bf] 77be3c9c: MSACM32!acmDriverEnum [77be0000+3beb+b1] 00487df1: AudioChooseCompressionDlgProc() 77d67ad7: USER32!SetWindowPlacement [77d40000+27a80+57] 77d6ce3b: USER32!DefRawInputProc [77d40000+2ca50+3eb] 77d5662b: USER32!PostQuitMessage [77d40000+16322+309] 77d57137: USER32!CharPrevW [77d40000+16d6f+3c8] 77d4560b: USER32!IsWindowVisible [77d40000+4f46+6c5] 77d581f1: USER32!CharPrevW [77d40000+16d6f+1482] 77d746d7: USER32!CheckRadioButton [77d40000+345cc+10b] 77d6644e: USER32!DialogBoxIndirectParamAorW [77d40000+26419+35] 77d6e97e: USER32!DialogBoxParamA [77d40000+2e934+4a] 00487f89: AudioChooseCompressor() 004b1c7b: MenuHit() 77d86f1e: USER32!DdeAbandonTransaction [77d40000+46e49+d5] 77d44651: USER32!DefWindowProcA [77d40000+45cb+86] 004b31e6: MainWndProc() 77d4958e: USER32!GetMenuState [77d40000+94c2+cc] 77d4958e: USER32!GetMenuState [77d40000+94c2+cc] 77d70fdc: USER32!DdeConnectList [77d40000+3079b+841] 77d70fec: USER32!DdeConnectList [77d40000+3079b+851] 77fb4da6: ntdll!KiUserCallbackDispatcher [77f50000+64d93+13] 77d89e94: USER32!BlockInput [77d40000+49e38+5c] 77d491dc: USER32!CallNextHookEx [77d40000+916f+6d] 77d491b3: USER32!CallNextHookEx [77d40000+916f+44] 77d67ad7: USER32!SetWindowPlacement [77d40000+27a80+57] 77d6ccd4: USER32!DefRawInputProc [77d40000+2ca50+284] 77d44455: USER32!TranslateMessageEx [77d40000+3e30+625] 77d4414d: USER32!TranslateMessageEx [77d40000+3e30+31d] 77d45f28: USER32!GetParent [77d40000+5f06+22] 77d45f70: USER32!GetParent [77d40000+5f06+6a] 77d44d58: USER32!DispatchMessageA [77d40000+4d4d+b] 004b00b5: WinMain@16() 77dd24b6: ADVAPI32!RegQueryValueExA [77dd0000+2410+a6] 77dd24e5: ADVAPI32!RegQueryValueExA [77dd0000+2410+d5] 77f758b6: ntdll!NtClose [77f50000+258aa+c] 77dd17b9: ADVAPI32!000017b9 70a71a29: SHLWAPI!StrCpyW [70a70000+19cb+5e] 004f8360: _msize() 77f52013: ntdll!RtlAcquirePebLock [77f50000+1feb+28] 77f5201c: ntdll!RtlAcquirePebLock [77f50000+1feb+31] 70a71a29: SHLWAPI!StrCpyW [70a70000+19cb+5e] 77e619ef: kernel32!GetStartupInfoA [77e60000+177e+271] 70a71a29: SHLWAPI!StrCpyW [70a70000+19cb+5e] 70a71a29: SHLWAPI!StrCpyW [70a70000+19cb+5e] 004f1f27: atexit() 004f349e: WinMainCRTStartup() 70a71a29: SHLWAPI!StrCpyW [70a70000+19cb+5e] 77e814c7: kernel32!GetCurrentDirectoryW [77e60000+21483+44] 70a71a29: SHLWAPI!StrCpyW [70a70000+19cb+5e] -- End of report |