how to resolve wine error in installation of Win XP game with latest patch in about 2005

Questions about Wine on Linux
Locked
sponsor61
Level 3
Level 3
Posts: 59
Joined: Tue Apr 07, 2020 10:05 pm

how to resolve wine error in installation of Win XP game with latest patch in about 2005

Post by sponsor61 »

Please help with this error message for a flight sim game with latest patch in 2005. What should I try next to get this classic great open source sim running under wine? (I am able to run this game under Windows 7 with compatibility set to Windows XP SP2.) Using wine 5.19 on Ubuntu 20.04 linux, I installed the free open source version of Rowan's Battle of Britain, fully patched with the v0.98 and v0.99 patches. I created the wine container with WINEARCH=win32. In winecfg I set the OS to Windows XP and activated virtual desktop. I got an error message saying mfc42 was missing so issued the command
winetricks mf42
This fixed the first error.

Now I get an error message dialog box. The terminal output is

main@bike3:~/Documents/201018/WP/drive_c/Program Files/Rowan Software/Battle Of Britain$ wine bob.exe
0024:fixme:file:NtLockFile I/O completion on lock not implemented yet
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0024:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work.
0024:fixme:ddraw:DirectDrawEnumerateExA flags 0x00000006 not handled
0024:fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}.
wine: Unhandled page fault on read access to 00000001 at address 7E52DB77 (thread 0024), starting debugger...

The text in the dialog box is:

Unhandled exception: page fault on read access to 0x00000001 in 32-bit code (0x7e52db77).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:7e52db77 ESP:0031fc70 EBP:0031fc70 EFLAGS:00210202( R- -- I - - - )
EAX:00000001 EBX:00000000 ECX:0000000a EDX:00000000
ESI:00000001 EDI:005e76c0
Stack dump:
0x0031fc70: 0031fcd4 0040b9ca 00000001 0000000a
0x0031fc80: 01a83da4 005e76dc 0062ef98 7e83ad5e
0x0031fc90: 5f4039fa 01a80454 5f4018f4 01a80454
0x0031fca0: 01000001 004d00d8 61697241 0000006c
0x0031fcb0: 00000000 00000000 00000000 00000000
0x0031fcc0: 00000000 00000000 00000000 0062f4a0
Backtrace:
=>0 0x7e52db77 (0x0031fc70)
1 0x0040b9ca timeSetEvent+0xffffffff() in bob (0x0031fcd4)
2 0x0040c977 timeSetEvent+0xffffffff() in bob (0x0031fe68)
3 0x5f40999f EntryPoint+0xffffffff() in mfc42 (0x0031ff28)
4 0x7b631c9c EntryPoint+0xffffffff() in kernel32 (0x0031ff5c)
5 0x7bc5a907 EntryPoint+0xffffffff() in ntdll (0x0031ff5c)
6 0x7bc5ab40 EntryPoint+0xffffffff() in ntdll (0x0031ffec)
0x7e52db77: movzbl 0x0(%eax),%edx
Modules:
Module Address Debug info Name (45 modules)
PE 400000- c2b000 PDB bob
PE c30000- 1093000 Deferred ole32
PE 26f0000- 2793000 Deferred boblang
PE 10000000-10084000 Deferred lib3d
PE 10700000-1070b000 Deferred rscrlbar
PE 5f400000-5f4f2000 Export mfc42
PE 61740000-61820000 Deferred advapi32
PE 62fc0000-631ee000 Deferred rpcrt4
PE 63480000-6349c000 Deferred version
PE 63bc0000-63c00000 Deferred shcore
PE 64a40000-64b59000 Deferred shlwapi
PE 64ec0000-65296000 Deferred oleaut32
PE 65bc0000-65bdb000 Deferred midimap
PE 67d40000-67dc4000 Deferred mmdevapi
PE 682c0000-6844c000 Deferred dsound
PE 68500000-68646000 Deferred combase
PE 68700000-68790000 Deferred uxtheme
PE 68fc0000-691d9000 Deferred msvcp60
PE 697c0000-69a0c000 Deferred ddraw
PE 6a040000-6a0a2000 Deferred msacm32
PE 6a400000-6a571000 Deferred winmm
PE 6aa40000-6ab24000 Deferred usp10
PE 6bc00000-6bc9d000 Deferred sechost
PE 6bcc0000-6be8e000 Deferred setupapi
PE 6cc40000-6d0bb000 Deferred comctl32
PE 6db40000-6db6e000 Deferred imagehlp
PE 6eb40000-6eb59000 Deferred olepro32
PE 6ed00000-6f38f000 Deferred user32
PE 6fa80000-6fb51000 Deferred dbghelp
PE 70040000-70064000 Deferred msacm32
PE 71200000-71246000 Deferred imm32
PE 780a0000-780b2000 Deferred msvcirt
PE 7a840000-7a844000 Deferred opengl32
PE 7b000000-7b33b000 Deferred kernelbase
PE 7b600000-7b954000 Dwarf kernel32
PE 7bc00000-7bede000 Dwarf ntdll
PE 7bfb0000-7bfb3000 Deferred winealsa
PE 7d270000-7d273000 Deferred winepulse
PE 7d5c0000-7d5c4000 Deferred winex11
PE 7dad0000-7e3a7000 Deferred shell32
PE 7e4d0000-7e4d4000 Deferred msvcrt
PE 7e5c0000-7e5c4000 Deferred wined3d
PE 7e740000-7e74b000 Deferred dinput
PE 7e7b0000-7e7b7000 Deferred gdi32
PE 7e920000-7e924000 Deferred ucrtbase
Threads:
process tid prio (all id:s are in hex)
00000020 (D) C:\Program Files\Rowan Software\Battle Of Britain\bob.exe
00000024 0 <==
000000fc 15
00000100 0
00000104 0
00000108 15
0000010c 0
00000110 15
0000011c 0
00000128 0
00000038 services.exe
0000003c 0
00000040 0
0000004c 0
00000070 0
00000088 0
000000b0 0
000000dc 0
00000044 winedevice.exe
00000048 0
00000054 0
00000058 0
0000005c 0
00000060 plugplay.exe
00000064 0
00000074 0
00000078 0
0000007c 0
00000098 0
00000068 explorer.exe
0000006c 0
000000bc 0
000000c8 0
000000cc 0
00000080 winedevice.exe
00000084 0
0000008c 0
00000090 0
00000094 0
000000a0 0
000000a4 0
000000a8 svchost.exe
000000ac 0
000000b4 0
000000b8 0
000000c0 conhost.exe
000000c4 0
000000d4 rpcss.exe
000000d8 0
000000e4 0
000000e8 0
000000ec 0
000000f0 0
000000f4 0
System information:
Wine build: wine-5.19
Platform: i386
Version: Windows XP
Host system: Linux
Host version: 5.4.0-51-generic
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: how to resolve wine error in installation of Win XP game with latest patch in about 2005

Post by jkfloris »

I installed the free open source version of Rowan's Battle of Britain
Maybe my Google skills are not that good, but I can only find the source code. Did you compile the game yourself?
sponsor61
Level 3
Level 3
Posts: 59
Joined: Tue Apr 07, 2020 10:05 pm

Re: how to resolve wine error in installation of Win XP game with latest patch in about 2005

Post by sponsor61 »

No, I'm not set up to compile windows code. I use binaries available on the internet. I solved the problem in this post, but I have two other open issues. Can I send you a link to a test case, where you can quickly run the case in linux/wine and reproduce the error?

Thanks
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: how to resolve wine error in installation of Win XP game with latest patch in about 2005

Post by jkfloris »

Can I send you a link to a test case, where you can quickly run the case in linux/wine and reproduce the error?
If the link does not point to pirated software, then it is allowed here.
And since the game's source code is public, I don't think it's a problem.
sponsor61
Level 3
Level 3
Posts: 59
Joined: Tue Apr 07, 2020 10:05 pm

Re: how to resolve wine error in installation of Win XP game with latest patch in about 2005

Post by sponsor61 »

Here's the link to the test case. Please take a look:

viewtopic.php?f=8&t=34544&p=130173#p130173
Locked