DoC on Wine Crashing Halfway through Load

1SDANi

Sister Lady
Joined
Oct 27, 2014
Messages
2,932
I just got a Linux computer and decided to run DoC with WINE but found that I keep crashing halfway through loading the game. The RFC mod included with Civ 4 itself loads fine.

My CvAltRoot contains the following in both the Python and Info folders
rootDir = "C:/Users/[UserName]/My Documents/My Games/Beyond the Sword"
I've also tried using
rootDir = "/home/[UserName]/Documents/My Games/Beyond the Sword"

My civ 4 version is 3.1.9.0

The log is as follows:
Unhandled exception: page fault on write access to 0x66207473 in 32-bit code (0x7bc722ce).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:7bc722ce ESP:0032ea60 EBP:0032ea78 EFLAGS:00210202( R- -- I - - - )
EAX:21190000 EBX:28b959f8 ECX:00000040 EDX:28b959b8
ESI:6620746f EDI:646e756f
Stack dump:
0x0032ea60: 28b959c8 00000002 28b959f8 21190000
0x0032ea70: 28b959b8 28b959c0 0032ea98 7bc72499
0x0032ea80: 00000040 00000002 28b959d0 789ace00
0x0032ea90: 015a0000 00000002 0032ead8 7bc72698
0x0032eaa0: 322b7a20 015a0060 00000000 015a0000
0x0032eab0: 0032eb98 28b954b4 21190000 789ace00
Backtrace:
=>0 0x7bc722ce RtlIsValidIndexHandle+0x169e() in ntdll (0x0032ea78)
1 0x7bc72499 RtlIsValidIndexHandle+0x1868() in ntdll (0x0032ea98)
2 0x7bc72698 RtlIsValidIndexHandle+0x1a67() in ntdll (0x0032ead8)
3 0x7bc737d5 RtlFreeHeap+0x34() in ntdll (0x0032eb18)
4 0x7dbf7d0e MSVCRT__setmaxstdio+0x10d() in msvcr71 (0x0032eb48)
5 0x7dbf8244 MSVCRT_operator_delete+0x43() in msvcr71 (0x0032eb58)
6 0x0068fd27 EntryPoint+0xffffffff() in civ4beyondsword (0x287aab80)
7 0x015a0100 (0x00b1436c)
8 0x6d6f6323 in dsound (+0x136322) (0x0068f090)
9 0x00000018 (0xe8f18b56)
0x7bc722ce RtlIsValidIndexHandle+0x169e in ntdll: movl %edi,0x4(%esi)
Modules:
Module Address Debug info Name (123 modules)
PE 330000- 343000 Deferred zlib1
PE 350000- 35e000 Deferred hapdbg
PE 400000- 100a000 Export civ4beyondsword
PE 1010000- 137f000 Deferred d3dx9_33
PE 1ec0000- 2400000 Deferred cvgamecoredll
PE ffb0000- ffba000 Deferred mssdolby.flt
PE 10000000-1002b000 Deferred boost_python-vc71-mt-1_32
PE 18000000-18038000 Deferred binkw32
PE 19ea0000-19ece000 Deferred mssmp3.asi
PE 19fe0000-1a01a000 Deferred mssvoice.asi
PE 1a240000-1a24c000 Deferred mssds3d.flt
PE 1a360000-1a37e000 Deferred mssdsp.flt
PE 1a490000-1a4b0000 Deferred msseax.flt
PE 1a5c0000-1a5cd000 Deferred msssrs.flt
PE 1e000000-1e1ca000 Deferred python24
PE 21100000-2118c000 Deferred mss32
PE 62140000-6215b000 Deferred wtsapi32
PE 62340000-623be000 Deferred uxtheme
PE 62800000-628bb000 Deferred usp10
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 66700000-66781000 Deferred rsaenh
PE 67640000-676bb000 Deferred msvcp71
PE 68c40000-68d3d000 Deferred shlwapi
PE 69b10000-69c14000 Deferred msxml3
PE 6a300000-6a64d000 Deferred oleaut32
PE 6a900000-6aa74000 Deferred setupapi
PE 6aec0000-6aecf000 Deferred psapi
PE 6b200000-6b283000 Deferred gameux
PE 6c0c0000-6c0fb000 Deferred imm32
PE 6d5c0000-6d733000 Dwarf dsound
PE 6e8c0000-6ec8c000 Deferred comctl32
PE 6fdc0000-6ff8e000 Deferred rpcrt4
PE 70340000-703b4000 Deferred mmdevapi
PE 7b000000-7b274000 Deferred kernelbase
ELF 7b400000-7b672000 Deferred kernel32<elf>
\-PE 7b420000-7b672000 \ kernel32
ELF 7bc00000-7beb2000 Dwarf ntdll<elf>
\-PE 7bc30000-7beb2000 \ ntdll
ELF 7c000000-7c004000 Deferred <wine-loader>
ELF 7d8ba000-7d8ec000 Deferred libexpat.so.1
ELF 7d8ec000-7d937000 Deferred libfontconfig.so.1
ELF 7d937000-7d956000 Deferred libz.so.1
ELF 7d956000-7d990000 Deferred libpng16.so.16
ELF 7d990000-7da4d000 Deferred libfreetype.so.6
ELF 7da4d000-7db69000 Deferred ucrtbase<elf>
\-PE 7da80000-7db69000 \ ucrtbase
ELF 7db69000-7dba5000 Deferred ws2_32<elf>
\-PE 7db80000-7dba5000 \ ws2_32
ELF 7dba5000-7dc73000 Dwarf msvcr71<elf>
\-PE 7dbd0000-7dc73000 \ msvcr71
ELF 7dc73000-7e686000 Deferred shell32<elf>
\-PE 7dca0000-7e686000 \ shell32
ELF 7e686000-7e75c000 Deferred msvcrt<elf>
\-PE 7e6b0000-7e75c000 \ msvcrt
ELF 7e75c000-7e7e0000 Deferred advapi32<elf>
\-PE 7e770000-7e7e0000 \ advapi32
ELF 7e7e0000-7e93b000 Deferred gdi32<elf>
\-PE 7e800000-7e93b000 \ gdi32
ELF 7e93b000-7eb72000 Deferred user32<elf>
\-PE 7e970000-7eb72000 \ user32
ELF 7eb72000-7eb86000 Deferred libnss_files.so.2
ELF 7eb86000-7eba1000 Deferred libnsl.so.1
ELF 7eba1000-7ebaf000 Deferred libnss_nis.so.2
ELF 7eee0000-7efe2000 Deferred libm.so.6
ELF e6906000-e690f000 Deferred libffi.so.6
ELF e690f000-e699a000 Deferred libgmp.so.10
ELF e699a000-e6b1b000 Deferred libunistring.so.2
ELF e6b1b000-e6c69000 Deferred libp11-kit.so.0
ELF e6c69000-e6e00000 Deferred libgnutls.so.30
ELF e6f07000-e7000000 Deferred crypt32<elf>
\-PE e6f20000-e7000000 \ crypt32
ELF f7106000-f713c000 Deferred libhogweed.so.4
ELF f713c000-f7178000 Deferred libnettle.so.6
ELF f7178000-f7197000 Deferred libidn2.so.0
ELF f7197000-f71bc000 Deferred bcrypt<elf>
\-PE f71a0000-f71bc000 \ bcrypt
ELF f71bc000-f71da000 Deferred libgcc_s.so.1
ELF f71f8000-f7210000 Deferred libgpg-error.so.0
ELF f7210000-f7228000 Deferred libresolv.so.2
ELF f7228000-f72b4000 Deferred libvorbisenc.so.2
ELF f72b4000-f72df000 Deferred libvorbis.so.0
ELF f72df000-f733e000 Deferred libflac.so.8
ELF f733e000-f741f000 Deferred libgcrypt.so.20
ELF f741f000-f7435000 Deferred liblz4.so.1
ELF f7435000-f7461000 Deferred liblzma.so.5
ELF f7461000-f74f0000 Deferred libsndfile.so.1
ELF f74f0000-f7580000 Deferred libsystemd.so.0
ELF f7580000-f75db000 Deferred libdbus-1.so.3
ELF f75db000-f7668000 Deferred libpulsecommon-11.1.so
ELF f7668000-f76c2000 Deferred libpulse.so.0
ELF f76c4000-f76d9000 Deferred libtasn1.so.6
ELF f76e0000-f7713000 Deferred winepulse<elf>
\-PE f76f0000-f7713000 \ winepulse
ELF f782d000-f7834000 Deferred libxfixes.so.3
ELF f7834000-f7840000 Deferred libxcursor.so.1
ELF f7840000-f7853000 Deferred libxi.so.6
ELF f7853000-f7857000 Deferred libxcomposite.so.1
ELF f7857000-f7864000 Deferred libxrandr.so.2
ELF f7864000-f7870000 Deferred libxrender.so.1
ELF f7870000-f7877000 Deferred libxxf86vm.so.1
ELF f7877000-f7881000 Deferred librt.so.1
ELF f7881000-f789c000 Deferred libbsd.so.0
ELF f789c000-f78c8000 Deferred libxcb.so.1
ELF f78c8000-f7a12000 Deferred libx11.so.6
ELF f7a12000-f7a27000 Deferred libxext.so.6
ELF f7a28000-f7a31000 Deferred libogg.so.0
ELF f7a31000-f7a38000 Deferred libasyncns.so.0
ELF f7a38000-f7a43000 Deferred libwrap.so.0
ELF f7a45000-f7b00000 Deferred winex11<elf>
\-PE f7a60000-f7b00000 \ winex11
ELF f7b0e000-f7b13000 Deferred libdl.so.2
ELF f7b13000-f7cef000 Deferred libc.so.6
ELF f7cef000-f7d0e000 Deferred libpthread.so.0
ELF f7d11000-f7d15000 Deferred libxinerama.so.1
ELF f7d15000-f7d1c000 Deferred libxdmcp.so.6
ELF f7d1c000-f7d20000 Deferred libxau.so.6
ELF f7d20000-f7d2a000 Deferred libnss_compat.so.2
ELF f7d2c000-f7edf000 Dwarf libwine.so.1
ELF f7ee1000-f7f09000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
0000000e services.exe
00000026 0
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
0000002a 0
00000029 0
00000028 0
0000001f 0
00000021 winedevice.exe
00000027 0
00000025 0
00000024 0
00000022 0
00000048 (D) C:\Program Files (x86)\GOG Games\Civilization IV Complete\Civ4\Beyond the Sword\Civ4BeyondSword.exe
00000066 0
00000063 0
00000062 15
00000061 15
0000005f 15
0000005e 0
00000049 0 <==
System information:
Wine build: wine-5.0
Platform: i386 (WOW64)
Version: Windows 7
Host system: Linux
Host version: 5.5.1-050501-generic

Any ideas?
 
First things first, you didn't put DoC in the Documents folder, did you? Because that is a problem on Linux as well. You should be able to find your civ installation somewhere in ~/.wine/drive_c/ (~ means /home/UserName in the shell) if you didn't change the default wineprefix. So place it in the Mods folder you would on Windows.
If that's not the case, it'd be useful to know what native packages you winetricked (msxml3 and d3dx9 are recommended on winehq). Wine 5 does work for me, so the wine version shouldn't be a problem.
And what do you mean by civ 4 version? I only know of the latest BTS version's number, which is 3.19. So if you aren't talking about your vanilla version, that could be the issue as well.
(oh and btw I think the wine documents folder is symlinked to the default documents folder, so both paths you showed refer to the same directory. not sure what rootdir you're talking about though)
 
DoC is in the folder Civ 4 is installed in and thus not in Documents.

The issues is indeed 3.19, for some reason the ingame about page lists the version as both 3.19 and 3.1.9.0

I winetricked d3dx9, d3dx9_26, d3dx9_31, d3dx9_32, d3dx9_33, devenum, msxml3, msxml4, quartz, vcrun2003, and I copy and pasted msxml3r in both my Beyond the Sword and System32 folders

I saw some posts saying thata similar crashes can be fixed by changing the variable rootDir in CvAltRoot
 
I'm clueless then, sorry :( You could try re-downloading DoC (maybe it was corrupted somehow?) or removing the entire .wine folder and just installing msxml3 + d3dx9 (and civ 4+DoC ofc) but I doubt that would solve your problem. I'll check what I have winetricked when I get home, anyways.
Btw, do any other downloaded mods work, or are only mods included in BtS functional?
 
removing the entire .wine folder and just installing msxml3 + d3dx9 (and civ 4+DoC ofc) but I doubt that would solve your problem

...this worked.

I deleted the .wine folder, reinstalled CIV, installed msxml3 and d3dx9, and made a fresh clone of DOC.

Once again, "turn it off and on again" proves to be the most powerful tool in the IT arsenal.
 
here's the crash that occurs when trying to load the map branch of DoC

Unhandled exception: page fault on write access to 0x66207473 in 32-bit code (0x7bc722ce).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:7bc722ce ESP:0032ea60 EBP:0032ea78 EFLAGS:00210202( R- -- I - - - )
EAX:21190000 EBX:28a9ff30 ECX:00000040 EDX:28a9fef0
ESI:6620746f EDI:646e756f
Stack dump:
0x0032ea60: 28a9ff00 00000002 28a9ff30 21190000
0x0032ea70: 28a9fef0 28a9fef8 0032ea98 7bc72499
0x0032ea80: 00000040 00000002 28a9ff08 9b207600
0x0032ea90: 015a0000 00000002 0032ead8 7bc72698
0x0032eaa0: 322b7a20 015a0060 00000000 015a0000
0x0032eab0: 0032eb98 28a9f9ec 21190000 9b207600
Backtrace:
=>0 0x7bc722ce RtlIsValidIndexHandle+0x169e() in ntdll (0x0032ea78)
1 0x7bc72499 RtlIsValidIndexHandle+0x1868() in ntdll (0x0032ea98)
2 0x7bc72698 RtlIsValidIndexHandle+0x1a67() in ntdll (0x0032ead8)
3 0x7bc737d5 RtlFreeHeap+0x34() in ntdll (0x0032eb18)
4 0x7dbf7d0e MSVCRT__setmaxstdio+0x10d() in msvcr71 (0x0032eb48)
5 0x7dbf8244 MSVCRT_operator_delete+0x43() in msvcr71 (0x0032eb58)
6 0x0068fd27 EntryPoint+0xffffffff() in civ4beyondsword (0x28753728)
7 0x015a0100 (0x00b1436c)
8 0x6d6f6323 in dsound (+0x136322) (0x0068f090)
9 0x00000018 (0xe8f18b56)
0x7bc722ce RtlIsValidIndexHandle+0x169e in ntdll: movl %edi,0x4(%esi)
Modules:
Module Address Debug info Name (123 modules)
PE 330000- 343000 Deferred zlib1
PE 350000- 35e000 Deferred hapdbg
PE 400000- 100a000 Export civ4beyondsword
PE 1010000- 137f000 Deferred d3dx9_33
PE 1ec0000- 2400000 Deferred cvgamecoredll
PE ffb0000- ffba000 Deferred mssdolby.flt
PE 10000000-1002b000 Deferred boost_python-vc71-mt-1_32
PE 18000000-18038000 Deferred binkw32
PE 19ea0000-19ece000 Deferred mssmp3.asi
PE 19fe0000-1a01a000 Deferred mssvoice.asi
PE 1a240000-1a24c000 Deferred mssds3d.flt
PE 1a360000-1a37e000 Deferred mssdsp.flt
PE 1a490000-1a4b0000 Deferred msseax.flt
PE 1a5c0000-1a5cd000 Deferred msssrs.flt
PE 1e000000-1e1ca000 Deferred python24
PE 21100000-2118c000 Deferred mss32
PE 62140000-6215b000 Deferred wtsapi32
PE 62340000-623be000 Deferred uxtheme
PE 62800000-628bb000 Deferred usp10
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 66700000-66781000 Deferred rsaenh
PE 67640000-676bb000 Deferred msvcp71
PE 68c40000-68d3d000 Deferred shlwapi
PE 69b10000-69c14000 Deferred msxml3
PE 6a300000-6a64d000 Deferred oleaut32
PE 6a900000-6aa74000 Deferred setupapi
PE 6aec0000-6aecf000 Deferred psapi
PE 6b200000-6b283000 Deferred gameux
PE 6c0c0000-6c0fb000 Deferred imm32
PE 6d5c0000-6d733000 Dwarf dsound
PE 6e8c0000-6ec8c000 Deferred comctl32
PE 6fdc0000-6ff8e000 Deferred rpcrt4
PE 70340000-703b4000 Deferred mmdevapi
PE 7b000000-7b274000 Deferred kernelbase
ELF 7b400000-7b672000 Deferred kernel32<elf>
\-PE 7b420000-7b672000 \ kernel32
ELF 7bc00000-7beb2000 Dwarf ntdll<elf>
\-PE 7bc30000-7beb2000 \ ntdll
ELF 7c000000-7c004000 Deferred <wine-loader>
ELF 7d8ba000-7d8ec000 Deferred libexpat.so.1
ELF 7d8ec000-7d937000 Deferred libfontconfig.so.1
ELF 7d937000-7d956000 Deferred libz.so.1
ELF 7d956000-7d990000 Deferred libpng16.so.16
ELF 7d990000-7da4d000 Deferred libfreetype.so.6
ELF 7da4d000-7db69000 Deferred ucrtbase<elf>
\-PE 7da80000-7db69000 \ ucrtbase
ELF 7db69000-7dba5000 Deferred ws2_32<elf>
\-PE 7db80000-7dba5000 \ ws2_32
ELF 7dba5000-7dc73000 Dwarf msvcr71<elf>
\-PE 7dbd0000-7dc73000 \ msvcr71
ELF 7dc73000-7e686000 Deferred shell32<elf>
\-PE 7dca0000-7e686000 \ shell32
ELF 7e686000-7e75c000 Deferred msvcrt<elf>
\-PE 7e6b0000-7e75c000 \ msvcrt
ELF 7e75c000-7e7e0000 Deferred advapi32<elf>
\-PE 7e770000-7e7e0000 \ advapi32
ELF 7e7e0000-7e93b000 Deferred gdi32<elf>
\-PE 7e800000-7e93b000 \ gdi32
ELF 7e93b000-7eb72000 Deferred user32<elf>
\-PE 7e970000-7eb72000 \ user32
ELF 7eb72000-7eb86000 Deferred libnss_files.so.2
ELF 7eb86000-7eba1000 Deferred libnsl.so.1
ELF 7eba1000-7ebaf000 Deferred libnss_nis.so.2
ELF 7eee0000-7efe2000 Deferred libm.so.6
ELF e69d9000-e6a64000 Deferred libgmp.so.10
ELF e6a64000-e6a9a000 Deferred libhogweed.so.4
ELF e6a9a000-e6c1b000 Deferred libunistring.so.2
ELF e6c1b000-e6d69000 Deferred libp11-kit.so.0
ELF e6d69000-e6f00000 Deferred libgnutls.so.30
ELF e7007000-e7100000 Deferred crypt32<elf>
\-PE e7020000-e7100000 \ crypt32
ELF f7213000-f721c000 Deferred libffi.so.6
ELF f721c000-f7258000 Deferred libnettle.so.6
ELF f7258000-f7277000 Deferred libidn2.so.0
ELF f7277000-f729c000 Deferred bcrypt<elf>
\-PE f7280000-f729c000 \ bcrypt
ELF f729c000-f72ba000 Deferred libgcc_s.so.1
ELF f72d8000-f72f0000 Deferred libgpg-error.so.0
ELF f72f0000-f7308000 Deferred libresolv.so.2
ELF f7308000-f7394000 Deferred libvorbisenc.so.2
ELF f7394000-f73bf000 Deferred libvorbis.so.0
ELF f73bf000-f741e000 Deferred libflac.so.8
ELF f741e000-f74ff000 Deferred libgcrypt.so.20
ELF f74ff000-f7515000 Deferred liblz4.so.1
ELF f7515000-f7541000 Deferred liblzma.so.5
ELF f7541000-f75d0000 Deferred libsndfile.so.1
ELF f75d0000-f7660000 Deferred libsystemd.so.0
ELF f7660000-f76bb000 Deferred libdbus-1.so.3
ELF f76bb000-f7748000 Deferred libpulsecommon-11.1.so
ELF f7748000-f77a2000 Deferred libpulse.so.0
ELF f77a4000-f77b9000 Deferred libtasn1.so.6
ELF f77c0000-f77f3000 Deferred winepulse<elf>
\-PE f77d0000-f77f3000 \ winepulse
ELF f790d000-f7914000 Deferred libxfixes.so.3
ELF f7914000-f7920000 Deferred libxcursor.so.1
ELF f7920000-f7933000 Deferred libxi.so.6
ELF f7933000-f7937000 Deferred libxcomposite.so.1
ELF f7937000-f7944000 Deferred libxrandr.so.2
ELF f7944000-f7950000 Deferred libxrender.so.1
ELF f7950000-f7957000 Deferred libxxf86vm.so.1
ELF f7957000-f7961000 Deferred librt.so.1
ELF f7961000-f797c000 Deferred libbsd.so.0
ELF f797c000-f79a8000 Deferred libxcb.so.1
ELF f79a8000-f7af2000 Deferred libx11.so.6
ELF f7af2000-f7b07000 Deferred libxext.so.6
ELF f7b08000-f7b11000 Deferred libogg.so.0
ELF f7b11000-f7b18000 Deferred libasyncns.so.0
ELF f7b18000-f7b23000 Deferred libwrap.so.0
ELF f7b25000-f7be0000 Deferred winex11<elf>
\-PE f7b40000-f7be0000 \ winex11
ELF f7bee000-f7bf3000 Deferred libdl.so.2
ELF f7bf3000-f7dcf000 Deferred libc.so.6
ELF f7dcf000-f7dee000 Deferred libpthread.so.0
ELF f7df1000-f7df5000 Deferred libxinerama.so.1
ELF f7df5000-f7dfc000 Deferred libxdmcp.so.6
ELF f7dfc000-f7e00000 Deferred libxau.so.6
ELF f7e00000-f7e0a000 Deferred libnss_compat.so.2
ELF f7e0c000-f7fbf000 Dwarf libwine.so.1
ELF f7fc1000-f7fe9000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
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
00000047 (D) C:\GOG Games\Civilization IV Complete\Civ4\Beyond the Sword\Civ4BeyondSword.exe
00000065 0
00000062 0
00000061 15
00000060 15
0000005e 15
0000005d 0
00000048 0 <==
System information:
Wine build: wine-5.0
Platform: i386 (WOW64)
Version: Windows 7
Host system: Linux
Host version: 5.5.1-050501-generic
 
Top Bottom