|
|
| JPT |
| Posted: Jul 27 2011, 02:24 PM |
 |
|
Member
 
Group: Members
Posts: 11
Member No.: 32016
Joined: 4-July 11

|
Hi,
not sure if this is a Virtualdub problem, or if it's located in fcchandlers plugin code. Open any video file that triggers eg the mpeg or mkv input plugin. Before virtualdub is actually startet, activate the explorer again. This only works when vdub isn't in the cache yet, and harddisk activity is neccessary. Else the startup will be too fast.
Now if you click on the virtualdub Button in the taskbar, the vdub app is not locked (modal dialog?), as it should be. The progress dialog is not visible. You get it, if minimizing all apps (or Desktop shortcut), then activating vdub again. But virtualdub still is not locked. you may for example close vdub, which results in a crash.
Windows XP SP3 vdub 1.9.11
I will post a crash report, as soon as I am able to reproduce it again. Currently vdub is in cache and the startup is too fast. |
 |
| JPT |
| Posted: Jul 28 2011, 03:01 PM |
 |
|
Member
 
Group: Members
Posts: 11
Member No.: 32016
Joined: 4-July 11

|
| CODE | VirtualDub crash report -- build 32842 (release) --------------------------------------
Disassembly: 00465000: 0474 add al, 74h 00465002: 0e push cs 00465003: 8b5508 mov edx, [ebp+08h] 00465006: 57 push edi 00465007: 52 push edx 00465008: e8c3cfffff call 00461fd0 0046500d: 8bf0 mov esi, eax 0046500f: eb02 jmp 00465013 00465011: 33f6 xor esi, esi 00465013: 885dfc mov [ebp-04h], bl 00465016: 33db xor ebx, ebx 00465018: 3bf3 cmp esi, ebx 0046501a: 7408 jz 00465024 0046501c: 8b06 mov eax, [esi] 0046501e: 8b10 mov edx, [eax] 00465020: 8bce mov ecx, esi 00465022: ffd2 call edx 00465024: 8b4d08 mov ecx, [ebp+08h] 00465027: 3bcb cmp ecx, ebx 00465029: 7407 jz 00465032 0046502b: 8b01 mov eax, [ecx] 0046502d: 8b5004 mov edx, [eax+04h] 00465030: ffd2 call edx 00465032: 3bf3 cmp esi, ebx 00465034: 897508 mov [ebp+08h], esi 00465037: 7408 jz 00465041 00465039: 8b06 mov eax, [esi] 0046503b: 8b10 mov edx, [eax] 0046503d: 8bce mov ecx, esi 0046503f: ffd2 call edx 00465041: 8b4f50 mov ecx, [edi+50h] 00465044: 3bcb cmp ecx, ebx 00465046: 7407 jz 0046504f 00465048: 8b01 mov eax, [ecx] 0046504a: 8b5004 mov edx, [eax+04h] 0046504d: ffd2 call edx 0046504f: 8d4f38 lea ecx, [edi+38h] 00465052: 897750 mov [edi+50h], esi 00465055: e886430100 call 004793e0 0046505a: 83c8ff or eax, 0ffh 0046505d: 899f80000000 mov [edi+80], ebx 00465063: 899f84000000 mov [edi+84], ebx 00465069: 898788000000 mov [edi+88], eax 0046506f: 89878c000000 mov [edi+8c], eax 00465075: 891df0f16300 mov [0063f1f0], ebx 0046507b: 891df4f16300 mov [0063f1f4], ebx 00465081: a3f8f16300 mov [0063f1f8], eax 00465086: a3fcf16300 mov [0063f1fc], eax 0046508b: 8b4f0c mov ecx, [edi+0ch] 0046508e: 3bcb cmp ecx, ebx 00465090: 7408 jz 0046509a 00465092: 8b01 mov eax, [ecx] 00465094: 8b5018 mov edx, [eax+18h] 00465097: 53 push ebx 00465098: ffd2 call edx 0046509a: 8b4f0c mov ecx, [edi+0ch] 0046509d: 8b01 mov eax, [ecx] <-- FAULT 0046509f: 8b501c mov edx, [eax+1ch] 004650a2: ffd2 call edx 004650a4: b802000000 mov eax, 00000002 004650a9: 398744010000 cmp [edi+144], eax 004650af: 7c06 jl 004650b7 004650b1: 898744010000 mov [edi+144], eax 004650b7: 8bcf mov ecx, edi 004650b9: e8b2c4ffff call 00461570 004650be: 53 push ebx 004650bf: 8bcf mov ecx, edi 004650c1: e8eac2ffff call 004613b0 004650c6: 8b4f0c mov ecx, [edi+0ch] 004650c9: 8b01 mov eax, [ecx] 004650cb: 8b5024 mov edx, [eax+24h] 004650ce: ffd2 call edx 004650d0: 8b4f0c mov ecx, [edi+0ch] 004650d3: 8b01 mov eax, [ecx] 004650d5: 8b502c mov edx, [eax+2ch] 004650d8: ffd2 call edx 004650da: 8b4f0c mov ecx, [edi+0ch] 004650dd: 8b01 mov eax, [ecx] 004650df: 8b5028 mov edx, [eax+28h] 004650e2: ffd2 call edx 004650e4: 53 push ebx 004650e5: 53 push ebx 004650e6: 8bcf mov ecx, edi 004650e8: e8a3b9ffff call 00460a90 004650ed: 8b4d08 mov ecx, [ebp+08h] 004650f0: 3bcb cmp ecx, ebx 004650f2: c645fc01 mov byte ptr [ebp-04h], 01h 004650f6: 7407 jz 004650ff 004650f8: 8b01 mov eax, [ecx] 004650fa: 8b5004 mov edx, [eax+04h] 004650fd: ffd2 call edx 004650ff: 8b db 8bh
Built on Aegis on Fri Dec 24 13:18:44 2010 using compiler version 1400
Windows 5.1 (Windows XP x86 build 2600) [Service Pack 3]
EAX = ffffffff EBX = 00000000 ECX = 00000000 EDX = 002e0002 EBP = 0013fda4 ESI = 00c74c70 EDI = 00c69de0 ESP = 0013fd70 EIP = 0046509d EFLAGS = 00210246 FPUCW = ffff027f FPUTW = ffffffff
Crash reason: Access Violation
Crash context: An out-of-bounds memory access (access violation) occurred in module 'VirtualDub'...
...reading address 00000000.
Pointer dumps:
EDX 002e0002: 00000000 06030000 06040202 06050202 06060202 06070202 06080202 06090202 ESI 00c74c70: 005ea478 00000002 00c6eb78 00c69de0 00030006 010c0122 00439350 10006000 EDI 00c69de0: 005ec178 00bb0178 00000000 00000000 00000000 00000000 00000000 00000000 ESP 0013fd70: 00000001 00bb47c4 0013ff0c 00c6d5f8 00c6d66a 00c6d66a 00c69de0 0060c50c 0013fd90: 0051d29e 0013fd70 0013fe58 005d4353 00000003 0013fe64 0044909b 00c74c70 0013fdb0: 00000000 00000000 00c74c70 00000000 00000000 00000000 7e37a340 00000002 0013fdd0: 00000001 00000000 7e368734 00cb0762 00000465 00000001 00000000 0059f070 EBP 0013fda0: 00000003 0013fe64 0044909b 00c74c70 00000000 00000000 00c74c70 00000000 0013fdc0: 00000000 00000000 7e37a340 00000002 00000001 00000000 7e368734 00cb0762 0013fde0: 00000465 00000001 00000000 0059f070 dcbaabcd 00000000 0013fe3c 0059f070 0013fe00: 0013fe68 0060c990 7ffdf000 00c6bf18 00000000 00000002 7e368801 0013fef8
Thread call stack: 0046509d: VDProject::Open() 0051d29e: VDAutoLogger::VDAutoLogger() 0044909b: VDProcessCommandLine() 7e368734: USER32!GetDC [7e360000+86c7+6d] 7e36882a: USER32!GetDC [7e360000+86c7+163] 7e3689cd: USER32!GetWindowLongW [7e360000+88a6+127] 7e3693e9: USER32!PeekMessageW [7e360000+929b+14e] 7e37a471: USER32!PeekMessageA [7e360000+1a340+131] 7e3689ea: USER32!GetWindowLongW [7e360000+88a6+144] 7e37a43b: USER32!PeekMessageA [7e360000+1a340+fb] 004525a8: WinMain@16() 005b78db: __tmainCRTStartup() 7c817067: kernel32!RegisterWaitForInputIdle [7c800000+1701e+49]
-- End of report
| |
 |
| phaeron |
| Posted: Jul 31 2011, 11:31 PM |
 |
|

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

|
We're both at fault.
The problem is that in order for the progress dialog to properly block the UI, it needs to have a tag that references VirtualDub's window as the parent. The plugin doesn't do this, so the two windows are independent. However, this can't be fixed in the plugin because I don't pass the window handle to the API... so I'd need to fix that before the plugin can be fixed. |
 |
|