Log in

View Full Version : VirtualDubmod and WINE crash


russofris
21st June 2004, 01:54
I gave the search feature a whirl before posting and am surprised by the non-existance of WINE posts. Perhaps this is not the appropriate forum?

I use WINE to run VDub under Linux. Vdub 1.5.10 runs perfectly with ddraw acceleration disabled. Unfortunately, starting vdubmod 1.5.10 gives me the following error.


Crash reason: Access Violation



Crash context:

An out-of-bounds memory access (access violation) occurred in module 'VirtualDubMod'.



Thread traces:



Thread 00000009 (Main thread)

C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Init.cpp(344)

C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Init.cpp(387)



Thread call stack:0048c855: VDProject::Tick()

00482f16: WinMain@16()

401d2751: ntdll!RtlLeaveCriticalSection [401c0000+12740+11]

0056b4d2: _unlock()

404efee1: kernel32!GetModuleHandleA [404b0000+3fed0+11]

0056fc45: _unlockexit()

00566f27: _onexit()

00566f34: atexit()

404d9bbe: kernel32!GetStartupInfoA [404b0000+29bb0+e]

00568b9e: WinMainCRTStartup()

404f97e7: kernel32!SetThreadExecutionState [404b0000+47fa0+1847]

404f9768: kernel32!SetThreadExecutionState [404b0000+47fa0+17c8]



-- End of report


Aside from some web searches, disabling pre-link and exec-shield, and fooling around with the WINE config to include native DLLs, I havn't done a whole lot to get it working. I figured I'd swing by here first.

Any suggestions?

Thank you for your time,
Frank Russo

ADDITIONAL INFO"
Gentoo linux running 2.6.5 kernel + nvidia.o (for X)
WINE ver 20040408

crashinfo.txt

VirtualDub crash report -- build 2366 (release)

--------------------------------------



Disassembly:

0048c7c0: 0000 add [eax], al

0048c7c2: 8b470c mov eax, [edi+0c]

0048c7c5: 85c0 test eax, eax

0048c7c7: 7572 jnz VDProject::Tick+ab (0048c83b)

0048c7c9: 53 push ebx

0048c7ca: 6a28 push 28

0048c7cc: e80f990d00 call (special) (005660e0)

0048c7d1: 8bd8 mov ebx, eax

0048c7d3: 83c404 add esp, 04

0048c7d6: 895c240c mov [esp+0c], ebx

0048c7da: 85db test ebx, ebx

0048c7dc: c7442418000000 mov dword ptr [esp+18], 00000000

00

0048c7e4: 742e jz VDProject::Tick+84 (0048c814)

0048c7e6: a128d05e00 mov eax, [005ed028]

0048c7eb: 8b90b4000000 mov edx, [eax+b4]

0048c7f1: 8db0b4000000 lea esi, [eax+b4]

0048c7f7: 8bce mov ecx, esi

0048c7f9: ff5204 call dword ptr [edx+04]

0048c7fc: 8b4008 mov eax, [eax+08]

0048c7ff: 8b16 mov edx, [esi]

0048c801: 50 push eax

0048c802: 8bce mov ecx, esi

0048c804: ff5204 call dword ptr [edx+04]

0048c807: 8b4004 mov eax, [eax+04]

0048c80a: 50 push eax

0048c80b: 8bcb mov ecx, ebx

0048c80d: e8be0bf8ff call SceneDetector::SceneDetector (0040d3d0)

0048c812: eb02 jmp VDProject::Tick+86 (0048c816)

0048c814: 33c0 xor eax, eax

0048c816: 85c0 test eax, eax

0048c818: c7442418ffffff mov dword ptr [esp+18], ffffffff

ff

0048c820: 89470c mov [edi+0c], eax

0048c823: 5b pop ebx

0048c824: 744d jz VDProject::Tick+e3 (0048c873)

0048c826: 8b0de4865d00 mov ecx, [005d86e4]

0048c82c: 8b15e0865d00 mov edx, [005d86e0]

0048c832: 51 push ecx

0048c833: 52 push edx

0048c834: 8bc8 mov ecx, eax

0048c836: e8d50cf8ff call SceneDetector::SetThresholds (0040d510)

0048c83b: 8bcf mov ecx, edi

0048c83d: e84e2e0000 call VDProject::SceneShuttleStep (0048f690)

0048c842: 5f pop edi

0048c843: b001 mov al, 01

0048c845: 5e pop esi

0048c846: 8b4c2404 mov ecx, [esp+04]

0048c84a: 64890d00000000 mov fs:[00000000], ecx

0048c851: 83c410 add esp, 10

0048c854: c3 ret

0048c855: 8b770c mov esi, [edi+0c] <-- FAULT

0048c858: 85f6 test esi, esi

0048c85a: 7417 jz VDProject::Tick+e3 (0048c873)

0048c85c: 8bce mov ecx, esi

0048c85e: e88d0cf8ff call SceneDetector::~SceneDetector (0040d4f0)

0048c863: 56 push esi

0048c864: e837d10c00 call (special) (005599a0)

0048c869: 83c404 add esp, 04

0048c86c: c7470c00000000 mov dword ptr [edi+0c], 00000000

0048c873: 8b4c240c mov ecx, [esp+0c]

0048c877: 5f pop edi

0048c878: 32c0 xor al, al

0048c87a: 5e pop esi

0048c87b: 64890d00000000 mov fs:[00000000], ecx

0048c882: 83c410 add esp, 10

0048c885: c3 ret

0048c886: 90 nop

0048c887: 90 nop

0048c888: 90 nop

0048c889: 90 nop

0048c88a: 90 nop

0048c88b: 90 nop

0048c88c: 90 nop

0048c88d: 90 nop

0048c88e: 90 nop

0048c88f: 90 nop

0048c890: 8b4130 mov eax, [ecx+30]

0048c893: 8b5134 mov edx, [ecx+34]

0048c896: c3 ret

0048c897: 90 nop

0048c898: 90 nop

0048c899: 90 nop

0048c89a: 90 nop

0048c89b: 90 nop

0048c89c: 90 nop

0048c89d: 90 nop

0048c89e: 90 nop

0048c89f: 90 nop

0048c8a0: 8b0d8cd05e00 mov ecx, [005ed08c]

0048c8a6: 85c9 test ecx, ecx

0048c8a8: 7407 jz VDProject::GetFrameCount+11 (0048c8b1)

0048c8aa: e851dbf7ff call FrameSubset::getTotalFrames (0040a400)

0048c8af: 99 cdq

0048c8b0: c3 ret

0048c8b1: 33c0 xor eax, eax

0048c8b3: 99 cdq

0048c8b4: c3 ret

0048c8b5: 90 nop

0048c8b6: 90 nop

0048c8b7: 90 nop

0048c8b8: 90 nop

0048c8b9: 90 nop

0048c8ba: 90 nop

0048c8bb: 90 nop

0048c8bc: 90 nop

0048c8bd: 90 nop

0048c8be: 90 nop

0048c8bf: 90 nop



Windows 4.10 (Windows 98 build 2222) [ A ]



EAX = 00000000

EBX = 00000000

ECX = 00000000

EDX = 4057dd80

EBP = 4068fe94

DS:ESI = 007b:4085b5b0

ES:EDI = 007b:00000000

SS:ESP = 007b:4068fe28

CS:EIP = 0073:0048c855

FS = 003b

GS = 0033

EFLAGS = 00210246

FPUCW = 4068fb48

FPUTW = 0001



MM0 = 4068fb6c00000001

MM1 = fb64000000000000

MM2 = 0000000000000000

MM3 = 91914068fb900000

MM4 = 0000000000000000

MM5 = 22006c6c642e4068

MM6 = 000000014057e20c

MM7 = 8e554068fc780000

russofris
24th June 2004, 23:25
Submitted bug to SF site. Perhaps I should check to see if they want a WINE/VDUBMOD tester (and whether they have the bandwidth to make the application WINE friendly)

Thank you for your time,
Frank Russo

pcjco04
27th June 2004, 11:11
Maybe you can try to launch vdubmod with the flag -w from the command line.

On the help of VirtualDubMod (virtualdubmod.chm), i read that :

============
Option : /w
Comment : Set the global g_fWine flag to true, which make some display function behave differently.
Maybe fix some issues when running the program under Wine ...
============

russofris
27th June 2004, 19:34
Thanx, I missed that.

Same result as before though.

Thank you for your time,
Frank Russo