otya128 / winevdm

16-bit Windows (Windows 1.x, 2.x, 3.0, 3.1, etc.) on 64-bit Windows
GNU General Public License v2.0
2.69k stars 154 forks source link

Hugo: Czarodziejskie Zwierciadło doesn't run #983

Open MrPepka opened 3 years ago

MrPepka commented 3 years ago

Hugo Czarodziejskie Zwierciadło does not work under WineVDM crashing with the SEGV error. The errors indicate that the game has DOS elements, although it is a 16-bit Windows application. I am enclosing the logs of this game and a link to it - https://mirror.polish-abandonware.pl/Gry/HUGO%20-%20Czarodziejskie%20Zwierciad%C5%82o%20PL.7z version: 2090 6ec8:err:fixup:apply_relocations 183: No implementation for KERNEL.0, setting to 0xdeadbeef 6ec8:fixme:int31:DOSVM_Int31Handler 1187: Get Processor Exception Handler Vector (0x01) 6ec8:fixme:int31:DOSVM_Int31Handler 1202: Set Processor Exception Handler Vector (0x01) 6ec8:fixme:int31:DOSVM_Int31Handler 1202: Set Processor Exception Handler Vector (0x01) 6ec8:fixme:int31:DOSVM_Int31Handler 1187: Get Processor Exception Handler Vector (0x01) 6ec8:fixme:int31:DOSVM_Int31Handler 1202: Set Processor Exception Handler Vector (0x01) =====dump all modules===== Module Flags Name Flag 1257 800d CDCOPS SINGLEDATA | LIBMODULE 123f 8021 VER SINGLEDATA | BUILTIN | LIBMODULE 121f 8021 SHELL SINGLEDATA | BUILTIN | LIBMODULE 11af 0302 WINASM MULTIPLEDATA | FRAMEBUF | CONSOLE | GUI 1197 8021 SOUND SINGLEDATA | BUILTIN | LIBMODULE 117f 8021 MMSYSTEM SINGLEDATA | BUILTIN | LIBMODULE 1167 8021 MOUSE SINGLEDATA | BUILTIN | LIBMODULE 114f 8021 KEYBOARD SINGLEDATA | BUILTIN | LIBMODULE 1137 8021 DISPLAY SINGLEDATA | BUILTIN | LIBMODULE 1117 8021 USER SINGLEDATA | BUILTIN | LIBMODULE 10f7 8021 GDI SINGLEDATA | BUILTIN | LIBMODULE 10cf 8021 TIMER SINGLEDATA | BUILTIN | LIBMODULE 10b7 8021 COMM SINGLEDATA | BUILTIN | LIBMODULE 109f 8021 SYSTEM SINGLEDATA | BUILTIN | LIBMODULE 1007 8021 KERNEL SINGLEDATA | BUILTIN | LIBMODULE =====dump all modules===== 007B0000-007B9000 otvdm.exe 773C0000-77563000 ntdll.dll 755D0000-756C0000 KERNEL32.DLL 761C0000-763D4000 KERNELBASE.dll 76140000-761BA000 ADVAPI32.dll 76080000-7613F000 msvcrt.dll 75400000-75475000 sechost.dll 75EC0000-75F80000 RPCRT4.dll 76530000-76650000 ucrtbase.dll 705C0000-705D4000 VCRUNTIME140.dll 6D140000-6D17A000 libwine.dll 68500000-68584000 krnl386.exe16 76F20000-770B6000 USER32.dll 77380000-77398000 win32u.dll 55230000-552AF000 DSOUND.dll 770C0000-770E3000 GDI32.dll 770F0000-77372000 combase.dll 76E20000-76EFC000 gdi32full.dll 6FEF0000-6FF34000 powrprof.dll 75D80000-75DFB000 msvcp_win.dll 75760000-75D13000 SHELL32.dll 60ED0000-60EED000 winmmbase.dll 75710000-75755000 SHLWAPI.dll 6E4D0000-6E53D000 WINSPOOL.DRV 6FE10000-6FE1D000 UMPDC.dll 76650000-76675000 IMM32.DLL 70DF0000-70E19000 ntmarta.dll 6EF00000-6EF08000 system.drv16 6EEF0000-6EEF8000 comm.drv16 6EEE0000-6EEE8000 timer.drv16 681D0000-68257000 vm86.dll 75EA0000-75EB9000 imagehlp.dll 6ED20000-6ED43000 gdi.exe16 60F80000-6112A000 user.exe16 703A0000-703B9000 MPR.dll 6EDA0000-6EE14000 UxTheme.dll 75200000-75208000 VERSION.dll 76D30000-76E04000 MSCTF.dll 75E00000-75E96000 OLEAUT32.dll 75480000-75563000 ole32.dll 75040000-7504F000 kernel.appcore.dll 752F0000-7534D000 bcryptPrimitives.dll 6D130000-6D139000 display.drv16 6D120000-6D128000 keyboard.drv16 6D110000-6D118000 mouse.drv16 74250000-74859000 windows.storage.dll 74150000-74174000 Wldp.dll 6E800000-6E8C3000 PROPSYS.dll 6B2C0000-6B2DB000 mmsystem.dll16 70370000-70398000 WINMM.dll 6BDA0000-6BDA9000 sound.drv16 6B2B0000-6B2B8000 ctl3dv2.dll16 6B2A0000-6B2A8000 ctl3d.dll16 6B290000-6B29A000 shell.dll16 6AE40000-6AE49000 ver.dll16 03460000-03463000 LZ32.dll 65160000-652E8000 dbghelp.dll 21: vm86.dll!load_x87function+0x7141 - 0x6821bb40 0x68222c81 (null):0 20: ntdll.dll!LdrSetDllManifestProber+0xf8 - 0x7742ccb0 0x7742cda8 (null):0 19: ntdll.dll!RtlUnwind+0x1cb - 0x77428e60 0x7742902b (null):0 18: ntdll.dll!KiUserExceptionDispatcher+0x26 - 0x77434ea0 0x77434ec6 (null):0

17: krnl386.exe16!_wine_call_int_handler+0x15 - 0x6852dbd0 0x6852dbe5 (null):0 16: vm86.dll!load_x87function+0x657d - 0x6821bb40 0x682220bd (null):0 15: vm86.dll!wine_call_to_16_regs_vm86+0x53 - 0x68223300 0x68223353 (null):0 14: krnl386.exe16!K32WOWCallback16Ex+0x46c - 0x685559e0 0x68555e4c (null):0 13: krnl386.exe16!MapHModuleSL+0x1c8e - 0x6853c1d0 0x6853de5e (null):0 12: krnl386.exe16!MapHModuleSL+0x1d58 - 0x6853c1d0 0x6853df28 (null):0 11: krnl386.exe16!MapHModuleSL+0x1d3d - 0x6853c1d0 0x6853df0d (null):0 10: krnl386.exe16!InitTask16+0x17a - 0x68547ae0 0x68547c5a (null):0 9: krnl386.exe16!RegFlushKey16+0x703 - 0x6853f330 0x6853fa33 (null):0 8: krnl386.exe16!vm_debug_get_entry_point+0x80c - 0x6853fa90 0x6854029c (null):0 7: vm86.dll!disassemble_debug+0x11b5 - 0x68223630 0x682247e5 (null):0 6: vm86.dll!wine_call_to_16_regs_vm86+0x53 - 0x68223300 0x68223353 (null):0 5: krnl386.exe16!K32WOWCallback16Ex+0x46c - 0x685559e0 0x68555e4c (null):0 4: krnl386.exe16!LoadModule16+0x7a5 - 0x68539b70 0x6853a315 (null):0 3: krnl386.exe16!RestoreThunkLock+0xecf - 0x68546560 0x6854742f (null):0 2: KERNEL32.DLL!BaseThreadInitThunk+0x19 - 0x755efa10 0x755efa29 (null):0 1: ntdll.dll!RtlGetAppContainerNamedObjectPath+0x11e - 0x77427960 0x77427a7e (null):0 0: ntdll.dll!RtlGetAppContainerNamedObjectPath+0xee - 0x77427960 0x77427a4e (null):0 cs:ip=128f:0001 bp=bffc args(0044,1267,1287,0000,c048,c014,0000,0000,0000,0000) cs:ip=128f:52c6 bp=3102 args(1111,1111,1111,1111,1111,1111,1111,1111,1111,1111) cs:ip=1111:1111 bp=1111 args(6e20,746f,6120,7620,6c61,6469,6320,646f,0065,0000) cs:ip=1111:2073 bp=6968 args(2376,244a,cff1,51b4,4d29,ed29,c5ce,d0f6,998e,8fd2)

address=00000000 access address=00000000 VM context EAX:500E884,ECX:0200,EDX:F9C4,EBX:FFFC ESP:BFFE,EBP:BFFC,ESI:08F8,EDI:0100 ES:12BF,CS:128F,SS:1217,DS:12B7,FS:0000,GS:0000 IP:0001, address:6823AC21 EFLAGS:00003102

SEGV 6ec8:fixme:int31:DOSVM_Int31Handler 1187: Get Processor Exception Handler Vector (0x01) 6ec8:fixme:int31:DOSVM_Int31Handler 1202: Set Processor Exception Handler Vector (0x01) =====dump all modules===== Module Flags Name Flag 1257 800d CDCOPS SINGLEDATA | LIBMODULE 123f 8021 VER SINGLEDATA | BUILTIN | LIBMODULE 121f 8021 SHELL SINGLEDATA | BUILTIN | LIBMODULE 11af 0302 WINASM MULTIPLEDATA | FRAMEBUF | CONSOLE | GUI 1197 8021 SOUND SINGLEDATA | BUILTIN | LIBMODULE 117f 8021 MMSYSTEM SINGLEDATA | BUILTIN | LIBMODULE 1167 8021 MOUSE SINGLEDATA | BUILTIN | LIBMODULE 114f 8021 KEYBOARD SINGLEDATA | BUILTIN | LIBMODULE 1137 8021 DISPLAY SINGLEDATA | BUILTIN | LIBMODULE 1117 8021 USER SINGLEDATA | BUILTIN | LIBMODULE 10f7 8021 GDI SINGLEDATA | BUILTIN | LIBMODULE 10cf 8021 TIMER SINGLEDATA | BUILTIN | LIBMODULE 10b7 8021 COMM SINGLEDATA | BUILTIN | LIBMODULE 109f 8021 SYSTEM SINGLEDATA | BUILTIN | LIBMODULE 1007 8021 KERNEL SINGLEDATA | BUILTIN | LIBMODULE =====dump all modules===== 007B0000-007B9000 otvdm.exe 773C0000-77563000 ntdll.dll 755D0000-756C0000 KERNEL32.DLL 761C0000-763D4000 KERNELBASE.dll 76140000-761BA000 ADVAPI32.dll 76080000-7613F000 msvcrt.dll 75400000-75475000 sechost.dll 75EC0000-75F80000 RPCRT4.dll 76530000-76650000 ucrtbase.dll 705C0000-705D4000 VCRUNTIME140.dll 6D140000-6D17A000 libwine.dll 68500000-68584000 krnl386.exe16 76F20000-770B6000 USER32.dll 77380000-77398000 win32u.dll 55230000-552AF000 DSOUND.dll 770C0000-770E3000 GDI32.dll 770F0000-77372000 combase.dll 76E20000-76EFC000 gdi32full.dll 6FEF0000-6FF34000 powrprof.dll 75D80000-75DFB000 msvcp_win.dll 75760000-75D13000 SHELL32.dll 60ED0000-60EED000 winmmbase.dll 75710000-75755000 SHLWAPI.dll 6E4D0000-6E53D000 WINSPOOL.DRV 6FE10000-6FE1D000 UMPDC.dll 76650000-76675000 IMM32.DLL 70DF0000-70E19000 ntmarta.dll 6EF00000-6EF08000 system.drv16 6EEF0000-6EEF8000 comm.drv16 6EEE0000-6EEE8000 timer.drv16 681D0000-68257000 vm86.dll 75EA0000-75EB9000 imagehlp.dll 6ED20000-6ED43000 gdi.exe16 60F80000-6112A000 user.exe16 703A0000-703B9000 MPR.dll 6EDA0000-6EE14000 UxTheme.dll 75200000-75208000 VERSION.dll 76D30000-76E04000 MSCTF.dll 75E00000-75E96000 OLEAUT32.dll 75480000-75563000 ole32.dll 75040000-7504F000 kernel.appcore.dll 752F0000-7534D000 bcryptPrimitives.dll 6D130000-6D139000 display.drv16 6D120000-6D128000 keyboard.drv16 6D110000-6D118000 mouse.drv16 74250000-74859000 windows.storage.dll 74150000-74174000 Wldp.dll 6E800000-6E8C3000 PROPSYS.dll 6B2C0000-6B2DB000 mmsystem.dll16 70370000-70398000 WINMM.dll 6BDA0000-6BDA9000 sound.drv16 6B2B0000-6B2B8000 ctl3dv2.dll16 6B2A0000-6B2A8000 ctl3d.dll16 6B290000-6B29A000 shell.dll16 6AE40000-6AE49000 ver.dll16 03460000-03463000 LZ32.dll 65160000-652E8000 dbghelp.dll 60D60000-60DF4000 TextShaping.dll 60530000-605E9000 textinputframework.dll 60210000-6048E000 CoreUIComponents.dll 60490000-6052B000 CoreMessaging.dll 76860000-768E7000 SHCORE.dll 76680000-766E3000 WS2_32.dll 632F0000-633CB000 wintypes.dll 75160000-751FF000 apphelp.dll 20: vm86.dll!load_x87function+0x7141 - 0x6821bb40 0x68222c81 (null):0 19: ntdll.dll!LdrSetDllManifestProber+0xf8 - 0x7742ccb0 0x7742cda8 (null):0 18: ntdll.dll!RtlUnwind+0x1cb - 0x77428e60 0x7742902b (null):0 17: ntdll.dll!KiUserExceptionDispatcher+0x26 - 0x77434ea0 0x77434ec6 (null):0

16: krnl386.exe16!_wine_call_int_handler+0x15 - 0x6852dbd0 0x6852dbe5 (null):0 15: vm86.dll!load_x87function+0x657d - 0x6821bb40 0x682220bd (null):0 14: vm86.dll!wine_call_to_16_regs_vm86+0x53 - 0x68223300 0x68223353 (null):0 13: krnl386.exe16!K32WOWCallback16Ex+0x46c - 0x685559e0 0x68555e4c (null):0 12: user.exe16!call_native_wndproc_context+0x332 - 0x60f91150 0x60f91482 (null):0 11: user.exe16!call_native_wndproc_context+0x63fc - 0x60f91150 0x60f9754c (null):0 10: user.exe16!call_native_wndproc_context+0x60aa - 0x60f91150 0x60f971fa (null):0 9: krnl386.exe16!RegFlushKey16+0x703 - 0x6853f330 0x6853fa33 (null):0 8: krnl386.exe16!vm_debug_get_entry_point+0x80c - 0x6853fa90 0x6854029c (null):0 7: vm86.dll!disassemble_debug+0x11b5 - 0x68223630 0x682247e5 (null):0 6: vm86.dll!wine_call_to_16_regs_vm86+0x53 - 0x68223300 0x68223353 (null):0 5: krnl386.exe16!K32WOWCallback16Ex+0x46c - 0x685559e0 0x68555e4c (null):0 4: krnl386.exe16!LoadModule16+0x7a5 - 0x68539b70 0x6853a315 (null):0 3: krnl386.exe16!RestoreThunkLock+0xecf - 0x68546560 0x6854742f (null):0 2: KERNEL32.DLL!BaseThreadInitThunk+0x19 - 0x755efa10 0x755efa29 (null):0 1: ntdll.dll!RtlGetAppContainerNamedObjectPath+0x11e - 0x77427960 0x77427a7e (null):0 0: ntdll.dll!RtlGetAppContainerNamedObjectPath+0xee - 0x77427960 0x77427a4e (null):0 cs:ip=128f:0001 bp=bfd2 args(03a0,1217,1217,1217,0000,0022,bff4,bfee,0006,ffff) cs:ip=128f:56d6 bp=3102 args(1111,1111,1111,1111,1111,1111,1111,1111,1111,1111) cs:ip=1111:1111 bp=1111 args(6e20,746f,6120,7620,6c61,6469,6320,646f,0065,0000) cs:ip=1111:2073 bp=6968 args(2376,244a,cff1,51b4,4d29,ed29,c5ce,d0f6,998e,8fd2)

address=00000000 access address=00000000 VM context EAX:F25A,ECX:0200,EDX:602A94A,EBX:FFFC ESP:BFD4,EBP:BFD2,ESI:08F8,EDI:0100 ES:1327,CS:128F,SS:1217,DS:131F,FS:0000,GS:0000 IP:0001, address:6823AC21 EFLAGS:00003102

SEGV

cracyc commented 3 years ago

Same as https://github.com/otya128/winevdm/issues/889. Cdcops is a copy protection that does things that won't work in any version of NT. This one also has a cracked win32 binary on the disk image.