winevdm
winevdm copied to clipboard
Program doesn't run every time
I'm trying to encode a file with SonArc, but it doesn't start 50% of the time (~20% on windows sandbox) and instead just get's stuck for a few seconds before exiting.
Screenshots:
Expected help page:
Expected behavior It should print the help page every time.
Environment:
- OS: Windows 11 22621 & Windows Sandbox
- Version: 2483 & 2446
Additional context Errorcode: 3221225477 (0xc0000005)
Trace: (from windows sandbox)
1e4c:03b8:trace:winevdm:set_dll_path L"C:\\Users\\WDAGUtilityAccount\\Desktop\\otvdm-master-2483\\dll"
version: 2483
1e4c:03b8:trace:winevdm:main GetCommandLine = 'otvdm.exe SONARC.EXE '
1e4c:03b8:trace:winevdm:main appname = 'C:\Users\WDAGUtilityAccount\Desktop\otvdm-master-2483\SONARC.EXE'
1e4c:03b8:trace:winevdm:main cmdline = ''
1e4c:03b8:trace:winevdm:main argv[0]: 'otvdm.exe'
1e4c:03b8:trace:winevdm:main argv[1]: 'SONARC.EXE'
1e4c:03b8:trace:loaddll:MODULE_LoadModule16 Loaded module "krnl386.exe" : builtin
1e4c:03b8:trace:dll:fill_init_list (C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\KRNL386.EXE) - START
1e4c:03b8:trace:dll:fill_init_list (C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\KRNL386.EXE) - END
1e4c:03b8:trace:dll:NE_CallDllEntryPoint Calling C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\KRNL386.EXE DllEntryPoint, cs:ip=1017:4f36
1e4c:03b8:warn:dosmem:DOSMEM_Init First megabyte not available for DOS address space.
1e4c:03b8:trace:task:TASK_Create cmdline='SONARC.EXE ' task=104f
1e4c:03b8:trace:loaddll:MODULE_LoadModule16 Loaded module "system.drv" : builtin
1e4c:03b8:trace:dll:fill_init_list (C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\SYSTEM.DRV) - START
1e4c:03b8:trace:dll:fill_init_list (C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\SYSTEM.DRV) - END
1e4c:03b8:trace:loaddll:MODULE_LoadModule16 Loaded module "comm.drv" : builtin
1e4c:03b8:trace:dll:fill_init_list (C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\COMM.DRV) - START
1e4c:03b8:trace:dll:fill_init_list (C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\COMM.DRV) - END
1e4c:03b8:trace:loaddll:MODULE_LoadModule16 Loaded module "timer.drv" : builtin
1e4c:03b8:trace:dll:fill_init_list (timer.drv) - START
1e4c:03b8:trace:dll:fill_init_list (timer.drv) - END
1e4c:03b8:trace:shell:ShellDDEInit bInit = TRUE
1e4c:03b8:trace:loaddll:MODULE_LoadModule16 Loaded module "gdi.exe" : builtin
1e4c:03b8:trace:dll:fill_init_list (C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\GDI.EXE) - START
1e4c:03b8:trace:dll:fill_init_list (C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\GDI.EXE) - END
1e4c:03b8:trace:dll:NE_CallDllEntryPoint Calling C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\GDI.EXE DllEntryPoint, cs:ip=10ff:4e4e
1e4c:03b8:trace:gdi:AddFontResource16 ("C:\\Users\\WDAGUT~1\\Desktop\\OTVDM-~1\\WINDOWS\\system\\VGAOEM.FON"("C:\\Users\\WDAGUT~1\\Desktop\\OTVDM-~1\\WINDOWS\\system\\VGAOEM.FON"))
1e4c:03b8:trace:loaddll:MODULE_LoadModule16 Loaded module "user.exe" : builtin
1e4c:03b8:trace:dll:fill_init_list (C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\USER.EXE) - START
1e4c:03b8:trace:dll:fill_init_list (C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\USER.EXE) - END
1e4c:03b8:trace:dll:NE_CallDllEntryPoint Calling C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\USER.EXE DllEntryPoint, cs:ip=1117:5b46
1e4c:03b8:trace:loaddll:MODULE_LoadModule16 Loaded module "display.drv" : builtin
1e4c:03b8:trace:dll:fill_init_list (C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\DISPLAY.DRV) - START
1e4c:03b8:trace:dll:fill_init_list (C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\DISPLAY.DRV) - END
1e4c:03b8:trace:loaddll:MODULE_LoadModule16 Loaded module "keyboard.drv" : builtin
1e4c:03b8:trace:dll:fill_init_list (C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\KEYBOARD.DRV) - START
1e4c:03b8:trace:dll:fill_init_list (C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\KEYBOARD.DRV) - END
1e4c:03b8:trace:loaddll:MODULE_LoadModule16 Loaded module "mouse.drv" : builtin
1e4c:03b8:trace:dll:fill_init_list (C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\MOUSE.DRV) - START
1e4c:03b8:trace:dll:fill_init_list (C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\MOUSE.DRV) - END
1e4c:03b8:trace:loaddll:MODULE_LoadModule16 Loaded module "mmsystem.dll" : builtin
1e4c:03b8:trace:dll:fill_init_list (C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\MMSYSTEM.DLL) - START
1e4c:03b8:trace:dll:fill_init_list (C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\MMSYSTEM.DLL) - END
1e4c:03b8:trace:dll:NE_CallDllEntryPoint Calling C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\MMSYSTEM.DLL DllEntryPoint, cs:ip=1177:1776
1e4c:03b8:trace:loaddll:MODULE_LoadModule16 Loaded module "sound.drv" : builtin
1e4c:03b8:trace:dll:fill_init_list (C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\SOUND.DRV) - START
1e4c:03b8:trace:dll:fill_init_list (C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\SOUND.DRV) - END
1e4c:03b8:trace:loaddll:MODULE_LoadModule16 Loaded module "shell.dll" : builtin
1e4c:03b8:trace:dll:fill_init_list (C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\SHELL.DLL) - START
1e4c:03b8:trace:dll:fill_init_list (C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\SHELL.DLL) - END
1e4c:03b8:trace:dll:NE_CallDllEntryPoint Calling C:\USERS\WDAGUT~1\DESKTOP\OTVDM-~1\WINDOWS\SYSTEM\SHELL.DLL DllEntryPoint, cs:ip=11a7:04c2
1e4c:03b8:trace:file:OpenFile16 "C:\\Users\\WDAGUT~1\\Desktop\\OTVDM-~1\\SONARC.EXE" OF_READ OF_SHARE_DENY_WRITE
1e4c:03b8:trace:file:OpenFile16 found L"C:\\Users\\WDAGUT~1\\Desktop\\OTVDM-~1\\SONARC.EXE"
1e4c:03b8:trace:file:Win32HandleToDosFileHandle Got 5 for h32 000002BC
1e4c:03b8:trace:file:OpenFile16 (C:\Users\WDAGUT~1\Desktop\OTVDM-~1\SONARC.EXE): OK, return = 000002BC
1e4c:03b8:trace:file:_lclose16 5 (handle32=000002BC)
1e4c:03b8:trace:dosmem:DOSMEM_Available 9f9fh of 9fa0h paragraphs available
1e4c:03b8:trace:dosmem:DOSMEM_InitDosMemory DOS conventional memory initialized, 653808 bytes free.
1e4c:03b8:warn:dosmem:DOSMEM_MapDosLayout Need full access to the first megabyte for DOS mode
1e4c:03b8:trace:dosmem:DOSMEM_AllocBlock (0004h)
1e4c:03b8:trace:dosmem:DOSMEM_AllocBlock (0004h)
1e4c:03b8:trace:dosmem:DOSMEM_AllocBlock (0004h)
1e4c:03b8:trace:dosmem:DOSMEM_AllocBlock (0004h)
1e4c:03b8:trace:int:CDROM_FillHeap Installation check: 0 cdroms, starting at 26
1e4c:03b8:trace:dosmem:DOSMEM_AllocBlock (0004h)
1e4c:03b8:trace:dosmem:DOSMEM_AllocBlock (0004h)
1e4c:03b8:trace:dosmem:DOSMEM_AllocBlock (0752h)
1e4c:03b8:trace:dosmem:DOSMEM_Available 9f1ch of 9fa0h paragraphs available
1e4c:03b8:trace:dosmem:DOSMEM_AllocBlock (9f1c0h)
1e4c:03b8:trace:int:DOSVM_Loop waiting for action
1e4c:03b8:trace:int:DOSVM_ProcessConsole scan 1c, ascii 0d
1e4c:03b8:trace:int:DOSVM_QueueEvent new event queued, signalling (time=456171)
That's a dos program. Winevdm's dos support is incomplete, dosbox or msdos-player will give much better results.
That's a dos program. Winevdm's dos support is incomplete, dosbox or msdos-player will give much better results.
I need the output of the program which I can't get with dosbox and encoding for a single file takes over a minute with msdos-player & dosbox. It took about 10 seconds with Winevdm.
I've tried it again a few times but now it's not working at all anymore. It's either just the state I've described or it shows this message: 63e4:err:int:DOSVM_QueueEvent IRQ without DOS task: should not happen.
or it get's stuck in a loop where the program tries to print out the info about the input file with the error: 9eec:fixme:int:DOSVM_ProcessConsole unhandled FOCUS_EVENT.
.
It seems to work under vDos (https://vdos.info).
It seems to work under vDos (https://vdos.info).
Tried it and it also takes ~1 minute to encode something and I also can't get the command line output from it.
Try http://takeda-toshiya.my.coocan.jp/msdos/index.html.
Try http://takeda-toshiya.my.coocan.jp/msdos/index.html.
I already did, I wrote that it works but it takes a lot longer than Winevdm did.
As it's a DOS program, and therefore winevdm isn't designed to run it, maybe the best thing is to raise the issue in the DOSBox-X forum.
Are you using the whpx cpu support with winevdm? If you aren't I'm surprised that winevdm is so much faster.
Are you using the whpx cpu support with winevdm? If you aren't I'm surprised that winevdm is so much faster.
No I'm not, I haven't changed any settings.