[GAME] HOMM3 page faults after playing a while

Questions about Wine on Linux
Locked
jonasrsv
Newbie
Newbie
Posts: 2
Joined: Sat Jun 20, 2020 8:17 am

[GAME] HOMM3 page faults after playing a while

Post by jonasrsv »

I Downloaded HOMM3 from https://www.gog.com/game/heroes_of_migh ... te_edition and I manage to get it working using wine. Everything works perfectly until it page faults. I have tried playing it 4 times now and it keeps page faulting about 30 minutes into the game. I provide the logs below, I would be super thankful for a fix to this, I really enjoy the game and not crashing every 30 minutes would improve the experience a lot! :)

❯ wine Heroes3.exe
libGL error: failed to create dri screen
libGL error: failed to load driver: iris
libGL error: failed to create dri screen
libGL error: failed to load driver: iris
0009:fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "llvmpipe (LLVM 9.0, 256 bits)").
0009:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0009:err:ole:CoGetClassObject class {5959df60-2911-11d1-b049-0020af30269a} not registered
0009:err:ole:CoGetClassObject no class object {5959df60-2911-11d1-b049-0020af30269a} could be created for context 0x1
0009:fixme:dplay:IDirectPlayLobby3AImpl_RegisterApplication :stub
wine: Unhandled page fault on write access to 00000D00 at address 220076F1 (thread 002f), starting debugger...
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
Unhandled exception: page fault on write access to 0x00000d00 in 32-bit code (0x220076f1).
00bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:220076f1 ESP:0312fd80 EBP:0312fe34 EFLAGS:00010203( R- -- I - - -C)
EAX:02613500 EBX:00000010 ECX:22017e88 EDX:00000667
ESI:02609bb8 EDI:00000d00
Stack dump:
0x0312fd80: 026122c0 00000008 02609bb8 00000000
0x0312fd90: bcb2d613 be327fee 3ea90fee be98342a
0x0312fda0: bdf2f71a bce08a34 bd365a7e bf2b3f6c
0x0312fdb0: 3d608407 be13a8d6 be0c955f 3d760424
0x0312fdc0: 3e43dc84 3e22de34 be82077d be52d3f7
0x0312fdd0: be36132c 3d680532 be0aba2e 3f143555
Backtrace:
=>0 0x220076f1 EntryPoint+0xffffffff() in mp3dec.asi (0x0312fe34)
0x220076f1 EntryPoint+0xffffffff in mp3dec.asi: movw %dx,0x0(%edi)
Modules:
Module Address Debug info Name (124 modules)
PE 330000- 35b000 Deferred binkw32
PE 360000- 383000 Deferred ifc20
PE 400000- 6b6000 Deferred heroes3
PE 10000000-1001b000 Deferred smackw32
PE 21000000-21058000 Deferred mss32
PE 22000000-22027000 Export mp3dec.asi
PE 639c0000-63b08000 Deferred winmm
PE 64b40000-64b78000 Deferred shcore
PE 65200000-6567b000 Deferred ole32
PE 65980000-6599a000 Deferred version
PE 66640000-66696000 Deferred msacm32
PE 66cc0000-66ec0000 Deferred ddraw
PE 687c0000-688a4000 Deferred dplayx
PE 68c40000-68d3d000 Deferred shlwapi
PE 6a300000-6a64e000 Deferred oleaut32
PE 6a900000-6aa75000 Deferred setupapi
PE 6c0c0000-6c0fb000 Deferred imm32
PE 6c2c0000-6c2e3000 Deferred wsock32
PE 6d5c0000-6d733000 Deferred dsound
PE 6fdc0000-6ff8e000 Deferred rpcrt4
PE 70340000-703b4000 Deferred mmdevapi
ELF 70e68000-70ef4000 Deferred libvorbisenc.so.2
ELF 70ef4000-70fd5000 Deferred libgcrypt.so.20
ELF 70fd5000-71064000 Deferred libsndfile.so.1
ELF 71064000-7117d000 Deferred ucrtbase<elf>
\-PE 710a0000-7117d000 \ ucrtbase
ELF 75384000-7913e000 Deferred libllvm-9.so.1
ELF 7913e000-7a800000 Deferred swrast_dri.so
ELF 7a800000-7a949000 Deferred opengl32<elf>
\-PE 7a840000-7a949000 \ opengl32
ELF 7a970000-7aa00000 Deferred libsystemd.so.0
PE 7b000000-7b274000 Deferred kernelbase
ELF 7b276000-7b2a1000 Deferred libvorbis.so.0
ELF 7b2a1000-7b300000 Deferred libflac.so.8
ELF 7b400000-7b671000 Deferred kernel32<elf>
\-PE 7b420000-7b671000 \ kernel32
ELF 7b673000-7b700000 Deferred libpulsecommon-11.1.so
ELF 7bc00000-7beae000 Deferred ntdll<elf>
\-PE 7bc30000-7beae000 \ ntdll
ELF 7bed4000-7bf00000 Deferred liblzma.so.5
ELF 7c000000-7c004000 Deferred <wine-loader>
ELF 7c025000-7c080000 Deferred libdbus-1.so.3
ELF 7c411000-7c429000 Deferred libgpg-error.so.0
ELF 7cc2a000-7cc61000 Deferred libedit.so.2
ELF 7cc61000-7cc6a000 Deferred libffi.so.6
ELF 7cc6a000-7cc73000 Deferred libatomic.so.1
ELF 7cc73000-7cc91000 Deferred libgcc_s.so.1
ELF 7ce17000-7ce21000 Deferred libdrm_nouveau.so.2
ELF 7ce21000-7ce2d000 Deferred libdrm_amdgpu.so.1
ELF 7ce2d000-7ce4b000 Deferred libelf.so.1
ELF 7ce5c000-7ce74000 Deferred libresolv.so.2
ELF 7cf74000-7cf7c000 Deferred libxcb-sync.so.1
ELF 7cf7c000-7cf80000 Deferred libxcb-present.so.0
ELF 7cf80000-7cf85000 Deferred libxcb-dri3.so.0
ELF 7cf85000-7cf89000 Deferred libxdamage.so.1
ELF 7cf89000-7cfa6000 Deferred libxcb-glx.so.0
ELF 7cfa6000-7cfba000 Deferred libdrm.so.2
ELF 7cfba000-7cfe2000 Deferred libglapi.so.0
ELF 7cfe2000-7d05b000 Deferred libglx_mesa.so.0
ELF 7d05f000-7d06d000 Deferred libdrm_radeon.so.1
ELF 7d06d000-7d07d000 Deferred libsensors.so.4
ELF 7d084000-7d0e3000 Deferred libgldispatch.so.0
ELF 7d0e3000-7d106000 Deferred libglx.so.0
ELF 7d106000-7d167000 Deferred libgl.so.1
ELF 7d16a000-7d173000 Deferred libogg.so.0
ELF 7d173000-7d189000 Deferred liblz4.so.1
ELF 7d189000-7d190000 Deferred libasyncns.so.0
ELF 7d190000-7d19b000 Deferred libwrap.so.0
ELF 7d19b000-7d1f5000 Deferred libpulse.so.0
ELF 7d21e000-7d251000 Deferred winepulse<elf>
\-PE 7d230000-7d251000 \ winepulse
ELF 7d3c8000-7d3cb000 Deferred libxshmfence.so.1
ELF 7d3cb000-7d3d1000 Deferred libxcb-dri2.so.0
ELF 7d433000-7d43a000 Deferred libxfixes.so.3
ELF 7d43a000-7d446000 Deferred libxcursor.so.1
ELF 7d446000-7d459000 Deferred libxi.so.6
ELF 7d459000-7d45d000 Deferred libxcomposite.so.1
ELF 7d45d000-7d46a000 Deferred libxrandr.so.2
ELF 7d46a000-7d476000 Deferred libxrender.so.1
ELF 7d476000-7d47d000 Deferred libxxf86vm.so.1
ELF 7d47d000-7d481000 Deferred libxinerama.so.1
ELF 7d481000-7d48b000 Deferred librt.so.1
ELF 7d48b000-7d4a6000 Deferred libbsd.so.0
ELF 7d4a6000-7d4ad000 Deferred libxdmcp.so.6
ELF 7d4ad000-7d4b1000 Deferred libxau.so.6
ELF 7d4b1000-7d4dd000 Deferred libxcb.so.1
ELF 7d4dd000-7d627000 Deferred libx11.so.6
ELF 7d627000-7d63c000 Deferred libxext.so.6
ELF 7d63c000-7d63f000 Deferred libx11-xcb.so.1
ELF 7d665000-7d71e000 Deferred winex11<elf>
\-PE 7d680000-7d71e000 \ winex11
ELF 7d853000-7d885000 Deferred libexpat.so.1
ELF 7d885000-7d8d0000 Deferred libfontconfig.so.1
ELF 7d8d0000-7d8ef000 Deferred libz.so.1
ELF 7d8ef000-7d929000 Deferred libpng16.so.16
ELF 7d929000-7d9e6000 Deferred libfreetype.so.6
ELF 7d9e6000-7da09000 Deferred libtinfo.so.5
ELF 7da09000-7da2f000 Deferred libncurses.so.5
ELF 7da2f000-7e43f000 Deferred shell32<elf>
\-PE 7da60000-7e43f000 \ shell32
ELF 7e43f000-7e47a000 Deferred ws2_32<elf>
\-PE 7e450000-7e47a000 \ ws2_32
ELF 7e47a000-7e4a6000 Deferred iphlpapi<elf>
\-PE 7e480000-7e4a6000 \ iphlpapi
ELF 7e4a6000-7e635000 Deferred wined3d<elf>
\-PE 7e4f0000-7e635000 \ wined3d
ELF 7e635000-7e78c000 Deferred gdi32<elf>
\-PE 7e650000-7e78c000 \ gdi32
ELF 7e78c000-7e9be000 Deferred user32<elf>
\-PE 7e7b0000-7e9be000 \ user32
ELF 7e9be000-7ea41000 Deferred advapi32<elf>
\-PE 7e9d0000-7ea41000 \ advapi32
ELF 7ea41000-7eb15000 Deferred msvcrt<elf>
\-PE 7ea70000-7eb15000 \ msvcrt
ELF 7ee98000-7eeac000 Deferred libnss_files.so.2
ELF 7eeac000-7eec7000 Deferred libnsl.so.1
ELF 7eec7000-7eed5000 Deferred libnss_nis.so.2
ELF 7eed5000-7efd7000 Deferred libm.so.6
ELF f7be4000-f7be9000 Deferred libdl.so.2
ELF f7be9000-f7dc5000 Deferred libc.so.6
ELF f7dc5000-f7de4000 Deferred libpthread.so.0
ELF f7e03000-f7e0d000 Deferred libnss_compat.so.2
ELF f7e0d000-f7fc0000 Dwarf libwine.so.1
ELF f7fc2000-f7fea000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\GOG Games\HoMM 3 Complete\Heroes3.exe
000000b6 0
000000b4 0
0000002f 15 <==
0000002e 15
0000002c 15
0000002b 0
0000002a 0
00000009 0
0000000e services.exe
00000023 0
0000001a 0
00000013 0
00000010 0
0000000f 0
00000011 plugplay.exe
00000017 0
00000016 0
00000012 0
00000018 winedevice.exe
00000020 0
0000001d 0
0000001c 0
0000001b 0
00000019 0
0000001e explorer.exe
00000029 0
00000028 0
00000027 0
0000001f 0
00000021 winedevice.exe
00000026 0
00000025 0
00000024 0
00000022 0
System information:
Wine build: wine-5.0.1
Platform: i386 (WOW64)
Version: Windows 7
Host system: Linux
Host version: 5.3.0-59-generic
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: [GAME] HOMM3 page faults after playing a while

Post by spoon0042 »

Sounds like https://bugs.winehq.org/show_bug.cgi?id=14055

tl;dr is to try running as 'taskset -c 0 wine Heroes3.exe'
jonasrsv
Newbie
Newbie
Posts: 2
Joined: Sat Jun 20, 2020 8:17 am

Re: [GAME] HOMM3 page faults after playing a while

Post by jonasrsv »

Thanks so much! :)
Locked