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.

 
Buttons To Change Acm Properties & About.
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
JaliM
Posted: Mar 9 2011, 12:01 PM


Member


Group: Members
Posts: 23
Member No.: 29948
Joined: 17-February 11



Hi,

@phaeron: is it possible to add a button on Audio Compression selection to change the active ACM Audio codec properties (and why not the About... button, too) such in Video Compression options happens?
I think it could be specially interesting in VDub x64 because there is not a suitable external software to change ACM x64 properties.
Regarding ACM 32 bit ACM codecs, there are some external software to do some config but integration to VDub would be great!

Thanks.
 
    Top
phaeron
Posted: Mar 12 2011, 09:23 PM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



Yeah, I should be able to do this via the DRV_QUERYCONFIGURE and DRV_CONFIGURE messages.

Update:
Added to 1.10.1-test4 in the testing thread -- give it a shot.
 
    Top
JaliM
Posted: Mar 14 2011, 09:03 PM


Member


Group: Members
Posts: 23
Member No.: 29948
Joined: 17-February 11



Thanks, It works ok on all x32 ACM codecs I have, but in x64, works in all except for LAME x64.

When trying to config LAME x64 it crashes randomly when changing configuration. Moreover, if I finally get to change something in the configuration before it crashes and apply is done, these changes are not made never. e.g If I change Joint-stereo to stereo in LAME, and apply, exit VDub x64, enter VDubx64 again, config LAME again, I see that mode has not change: It says Joint-stereo again... sad.gif

I use the LAME x64 ACM codec from dloneranger of this forum (http://dl.dropbox.com/u/17024916/MyUploadedStuff/SetupLamex64x32.zip)

This LAME x64 ACM behavour is an exception because ALL others ACM x64 I try to reconfig work like a charm!!

CODE

VirtualDub crash report -- build 34069 (release-AMD64)
--------------------------------------

Disassembly:
01f8b5a0: a8ff            test   al, 0ffh
01f8b5a2: ffeb            jmp    ebx
01f8b5a4: 8f4885          pop    dword ptr [rax-7bh]
01f8b5a7: c0              db     0c0h
01f8b5a8: 748a            jz     101f8b534
01f8b5aa: 4c8bcb          mov    r9, ebx
01f8b5ad: 4d8bc4          mov    r8, esp
01f8b5b0: 488bd7          mov    rdx, edi
01f8b5b3: 488bc8          mov    rcx, eax
01f8b5b6: e805fdffff      call   101f8b2c0
01f8b5bb: 440fb6d8        movzx  ebx, al
01f8b5bf: 44895c2448      mov    [rsp+48h], r11d
01f8b5c4: e96bffffff      jmp    101f8b534
01f8b5c9: 488d4b08        lea    rcx, [rbx+08h]
01f8b5cd: 488d155c8a0500  lea    rdx, [101fe4030]
01f8b5d4: 4c8bc7          mov    r8, edi
01f8b5d7: e8945affff      call   101f81070
01f8b5dc: 488d15658a0500  lea    rdx, [101fe4048]
01f8b5e3: 4c8bc3          mov    r8, ebx
01f8b5e6: 488bcf          mov    rcx, edi
01f8b5e9: ff15d16c0500    call   dword ptr [101fe22c0]
01f8b5ef: 488bd7          mov    rdx, edi
01f8b5f2: 488bcb          mov    rcx, ebx
01f8b5f5: e8f6efffff      call   101f8a5f0
01f8b5fa: c7442448010000  mov    dword ptr [rsp+48h], 00000001
         00              
01f8b602: e92dffffff      jmp    101f8b534
01f8b607: 817b10f8fdffff  cmp    dword ptr [rbx+10h], fffffdf8
01f8b60e: 0f8520ffffff    jnz    101f8b534
01f8b614: f6437401        test   [rbx+74h], 01h
01f8b618: 7413            jz     101f8b62d
01f8b61a: 488b4b08        mov    rcx, [rbx+08h]
01f8b61e: baf4ffffff      mov    edx, fffffff4
01f8b623: ff159f6c0500    call   dword ptr [101fe22c8]
01f8b629: 8bf8            mov    edi, eax
01f8b62b: eb03            jmp    101f8b630
01f8b62d: 8b7b08          mov    edi, [rbx+08h]
01f8b630: 488b4314        mov    rax, [rbx+14h]
01f8b634: 41b988130000    mov    ecx, 00001388
01f8b63a: 4533c0          xor    eax, eax
01f8b63d: c60000          mov    byte ptr [rax], 00h      <-- FAULT
01f8b640: 488b0b          mov    rcx, [rbx]
01f8b643: ba18040000      mov    edx, 00000418
01f8b648: ff15b26c0500    call   dword ptr [101fe2300]
01f8b64e: 4c8d1d1f890500  lea    r11, [101fe3f74]
01f8b655: b90d000000      mov    ecx, 0000000d
01f8b65a: 666690          nop    
01f8b65d: 666690          nop    
01f8b660: 413b7bfc        cmp    edi, [r11-04h]
01f8b664: 7507            jnz    101f8b66d
01f8b666: 498b03          mov    rax, [r11]
01f8b669: 48894314        mov    [rbx+14h], rax
01f8b66d: 4983c30c        add    rbx, 0ch
01f8b671: 4883e901        sub    rcx, 01h
01f8b675: 75e9            jnz    101f8b660
01f8b677: 8d4101          lea    eax, [rcx+01h]
01f8b67a: e9bafeffff      jmp    101f8b539
01f8b67f: cc              int    3
01f8b680: cc              int    3
01f8b681: cc              int    3
01f8b682: cc              int    3
01f8b683: cc              int    3
01f8b684: cc              int    3
01f8b685: cc              int    3
01f8b686: cc              int    3
01f8b687: cc              int    3
01f8b688: cc              int    3
01f8b689: cc              int    3
01f8b68a: cc              int    3
01f8b68b: cc              int    3
01f8b68c: cc              int    3
01f8b68d: cc              int    3
01f8b68e: cc              int    3
01f8b68f: cc              int    3
01f8b690: 48895c2408      mov    [rsp+08h], rbx
01f8b695: 4889742410      mov    [rsp+10h], rsi
01f8b69a: 57              push   edi
01f8b69b: 4883ec30        sub    rsp, 30h
01f8b69f: 48000000        add    [rax], al

Built on Althena on Sat Mar 12 21:00:21 2011 using compiler version 1400

Windows 6.1 (Windows 7 x64 build 7600) []
Memory status: virtual free 8388507M/8388608M, commit limit 16379M, physical total 8191M

RAX =   2c8350ffffffff
RBX =           2c8330
RCX =         7777b4aa
RDX =                0
RSI =                0
RDI =           4905ea
RBP =           2cdb60
R8  =                0
R9  =             1388
R10 =                0
R11 =              202
R12 =           4905ea
R13 =               4e
R14 =                0
R15 =           310656
RSP =           12e140
RIP =          1f8b63d
EFLAGS = 00010246


Crash reason: Access Violation

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

...reading address FFFFFFFFFFFFFFFF.

Pointer dumps:

RBX   002c8330: 0048050a 00000000 004905ea 00000000 fffffdf8 ffffffff 002c8350 00000000
RCX   7777b4aa: 943966c3 00011824 87850f00 41fffff6 41000c8d 030c478b af0f41cf af0f41c1
RSP   0012e140: 002c8330 00000000 0000004e 00000000 02000002 00000000 7777a078 00000000
     0012e160: 00000000 00000000 00000001 00000000 00000001 00000000 7776e53b 00000000
     0012e180: 00000000 00000000 0012e198 00000000 00000001 00000000 00000000 00000000
     0012e1a0: 00000000 00000000 0000029e 00000000 00000001 00000000 00000000 00000000
RBP   002cdb60: 01fe32b0 00000000 01fe2830 00000000 01010101 00000000 00010000 00010100
     002cdb80: 00000001 00000050 000000a0 00000008 00000000 402e0000 00000002 00000006
     002cdba0: 00000004 00000001 00000000 01fe3248 00000000 00000000 00000000 00000000
     002cdbc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 002cc710

Thread call stack:
01f8b63d: LameACM!0000b63d
7777a078: USER32!IsDialogMessageW [77760000+19e80+1f8]
7776e53b: USER32!GetCapture [77760000+e130+40b]
7776e4b3: USER32!GetCapture [77760000+e130+383]
7776e2f2: USER32!GetCapture [77760000+e130+1c2]
7777c296: USER32!GetSystemMetrics [77760000+1c110+186]
777b3291: USER32!ReuseDDElParam [77760000+53130+161]
7777c3c1: USER32!GetSystemMetrics [77760000+1c110+2b1]
778b283c: ntdll!RtlRestoreLastWin32Error [77860000+51ed0+96c]
7777c333: USER32!GetSystemMetrics [77760000+1c110+223]
777b3291: USER32!ReuseDDElParam [77760000+53130+161]
7777a6d8: USER32!IsWindow [77760000+1a544+194]
7777a85d: USER32!SendMessageW [77760000+1a800+5d]
777733f2: USER32!GetWindowThreadProcessId [77760000+13380+72]
7fef1938664: COMCTL32!RegisterClassNameW [7fef1910000+27640+1024]
7fefc021445: uxtheme!00001445
778afc65: ntdll!KiUserCallbackDispatcher [77860000+4fc46+1f]
7777a2d4: USER32!IsDialogMessageW [77760000+19e80+454]
7fefc023259: uxtheme!IsCompositionActive [7fefc020000+2d38+521]
7fef1937a9c: COMCTL32!RegisterClassNameW [7fef1910000+27640+45c]
7fef194efe0: COMCTL32!_TrackMouseEvent [7fef1910000+2bf30+130b0]
7778565f: USER32!SendNotifyMessageA [77760000+25508+157]
7777a6d8: USER32!IsWindow [77760000+1a544+194]
7777992a: USER32!SetScrollInfo [77760000+19794+196]
7777a85d: USER32!SendMessageW [77760000+1a800+5d]
7fef194f352: COMCTL32!_TrackMouseEvent [7fef1910000+2bf30+13422]
77779ca8: USER32!IsWindowVisible [77760000+19c90+18]
7776f3ff: USER32!ScreenToClient [77760000+f3c4+3b]
7fef1950b9d: COMCTL32!_TrackMouseEvent [7fef1910000+2bf30+14c6d]
7fef1950c6f: COMCTL32!_TrackMouseEvent [7fef1910000+2bf30+14d3f]
7777c3df: USER32!GetSystemMetrics [77760000+1c110+2cf]
7fef1951694: COMCTL32!_TrackMouseEvent [7fef1910000+2bf30+15764]
77776484: USER32!CallWindowProcW [77760000+163e8+9c]
7777c296: USER32!GetSystemMetrics [77760000+1c110+186]
77776072: USER32!GetWindowLongPtrA [77760000+16050+22]
140003334: AudioChooseCompressionDlgProc()
77776400: USER32!CallWindowProcW [77760000+163e8+18]
7fef1931e15: COMCTL32!Str_SetPtrW [7fef1910000+21b18+2fd]
7777a46a: USER32!GetSysColor [77760000+1a418+52]
7776e095: USER32!GetQueueStatus [77760000+de20+275]
7776e55d: USER32!GetCapture [77760000+e130+42d]
7fef1932374: COMCTL32!DefSubclassProc [7fef1910000+222f8+7c]
1400656cb: guiCheckDialogs()
1400657a2: VDModelessDialogHookW32()
77790bc5: USER32!UserHandleGrantAccess [77760000+2bad0+50f5]
77788fea: USER32!GetMessagePos [77760000+28b90+45a]
7776e3d4: USER32!GetCapture [77760000+e130+2a4]
7777201b: USER32!SystemParametersInfoW [77760000+11f30+eb]
777771ca: USER32!GetGUIThreadInfo [77760000+16fc0+20a]
778afc65: ntdll!KiUserCallbackDispatcher [77860000+4fc46+1f]
7777c3c1: USER32!GetSystemMetrics [77760000+1c110+2b1]
77787eb4: USER32!GetClipboardOwner [77760000+27e60+54]
7777c333: USER32!GetSystemMetrics [77760000+1c110+223]
7777c60a: USER32!GetSystemMetrics [77760000+1c110+4fa]
7777bd32: USER32!TranslateMessage [77760000+1bd10+22]
7778726f: USER32!MapDialogRect [77760000+26fe0+28f]
777874a5: USER32!MapDialogRect [77760000+26fe0+4c5]
7778751a: USER32!DialogBoxIndirectParamAorW [77760000+274c4+56]
777a2f12: USER32!DialogBoxParamA [77760000+42e90+82]
01f8b6d5: LameACM!0000b6d5
01f81728: LameACM!00001728
01f8c2d5: LameACM!DriverProc [01f80000+c060+275]
7fefa6d70a7: WINMM!OpenDriver [7fefa6d0000+6c08+49f]
77891f74: ntdll!RtlInitializeCriticalSection [77860000+31eb0+c4]
7fefa6dffd9: WINMM!SendDriverMessage [7fefa6d0000+ffc8+11]
7fef5671cb6: MSACM32!acmGetVersion [7fef5670000+1510+7a6]
7777a46a: USER32!GetSysColor [77760000+1a418+52]
7fef5671d48: MSACM32!acmGetVersion [7fef5670000+1510+838]
7777a54d: USER32!IsWindow [77760000+1a544+9]
7fef56747ad: MSACM32!acmDriverMessage [7fef5670000+4664+149]
140003421: AudioChooseCompressionDlgProc()
7779dfb0: USER32!LoadCursorFromFileA [77760000+3db78+438]
7feff2a2bcc: GDI32!IntersectClipRect [7feff2a0000+2b7c+50]
7778565f: USER32!SendNotifyMessageA [77760000+25508+157]
7779eddd: USER32!LoadCursorFromFileA [77760000+3db78+1265]
7776e53b: USER32!GetCapture [77760000+e130+40b]
7779f363: USER32!LoadCursorFromFileA [77760000+3db78+17eb]
7776e4b3: USER32!GetCapture [77760000+e130+383]
7776e2f2: USER32!GetCapture [77760000+e130+1c2]
7777c296: USER32!GetSystemMetrics [77760000+1c110+186]
777b3291: USER32!ReuseDDElParam [77760000+53130+161]
7777c3c1: USER32!GetSystemMetrics [77760000+1c110+2b1]
7777c333: USER32!GetSystemMetrics [77760000+1c110+223]
7777c3df: USER32!GetSystemMetrics [77760000+1c110+2cf]
7777a01b: USER32!IsDialogMessageW [77760000+19e80+19b]
7777c333: USER32!GetSystemMetrics [77760000+1c110+223]
7779f6ce: USER32!LoadCursorFromFileA [77760000+3db78+1b56]
7777a6d8: USER32!IsWindow [77760000+1a544+194]
7777a85d: USER32!SendMessageW [77760000+1a800+5d]
7779e93e: USER32!LoadCursorFromFileA [77760000+3db78+dc6]
7778d448: USER32!UserHandleGrantAccess [77760000+2bad0+1978]
1400656cb: guiCheckDialogs()
1400ac30f: VDProjectUI::MainWndProc()
7fefdcdf9ab: MSCTF!CtfImeDestroyInputContext [7fefdcc0000+1f1c0+7eb]
1400657a2: VDModelessDialogHookW32()
77788fea: USER32!GetMessagePos [77760000+28b90+45a]
7779f6ce: USER32!LoadCursorFromFileA [77760000+3db78+1b56]
777771ca: USER32!GetGUIThreadInfo [77760000+16fc0+20a]
7777c3c1: USER32!GetSystemMetrics [77760000+1c110+2b1]
778afc65: ntdll!KiUserCallbackDispatcher [77860000+4fc46+1f]

-- End of report

 
    Top
phaeron
Posted: Mar 19 2011, 10:05 PM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



QUOTE
CODE

01f8b63a: 4533c0          xor    eax, eax
01f8b63d: c60000          mov    byte ptr [rax], 00h      <-- FAULT


Er... that's pretty much a guaranteed null pointer dereference. Anyone know where this is in the codec source?
 
    Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
3 replies since Mar 9 2011, 12:01 PM Track this topic | Email this topic | Print this topic

<< Back to Testing / Bug Reports