Civ4 on Ubuntu doesn't work anymore after upgrade

Eul_Bofo

Stubborn Linux user
Joined
Jul 5, 2008
Messages
53
Location
France
Hi.

I upgraded my Ubuntu installation to 10.04 this morning and now I can't make Civ4 work anymore (Beyond the Sword, patched 3.19, with last BUG mod).

The application starts OK, but when I click "New Game", it crashes with this console message :

Code:
wine: Unhandled page fault on read access to 0x18868000 at address 0x7c3428fa (thread 0009), starting debugger...
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:7c3428fa ESP:0032f668 EBP:188101ac EFLAGS:00210206(  R- --  I   - -P- )
 EAX:18849269 EBX:00000010 ECX:00c92980 EDX:00006f4d
 ESI:18868000 EDI:188492cc
Stack dump:
0x0032f668:  00000000 00000010 188492c8 00527741
0x0032f678:  188492cc 00c92980 0032f9a8 188101ac
0x0032f688:  00000364 0032f8f0 1880fdac 1880fd3c
0x0032f698:  00000030 0032f6b0 7bc47076 7bc4613e
0x0032f6a8:  18810558 7bc46e71 7bc4613e 00000002
0x0032f6b8:  7bc46e71 7bc46e71 18810680 00000002
Backtrace:
=>0 0x7c3428fa in msvcr71 (+0x28fa) (0x188101ac)
  1 0x18810430 (0x65646c69)
  2 0x00000000 (0x00000000)
0x7c3428fa: movb    0x0(%esi),%al
Modules:
Module    Address            Debug info    Name (127 modules)
PE      330000-  343000    Deferred        zlib1
PE      350000-  35e000    Deferred        hapdbg
PE      3f0000-  3fd000    Deferred        msssrs.flt
PE      400000- 100a000    Deferred        civ4beyondsword
PE     1010000- 137f000    Deferred        d3dx9_33
PE     1a50000- 1f7f000    Deferred        cvgamecoredll
PE     b4f0000- b51e000    Deferred        mssmp3.asi
PE     b630000- b66a000    Deferred        mssvoice.asi
PE     b890000- b89c000    Deferred        mssds3d.flt
PE     b9b0000- b9d0000    Deferred        msseax.flt
PE     bae0000- bafe000    Deferred        mssdsp.flt
PE     bc10000- bc1a000    Deferred        mssdolby.flt
PE    10000000-1002b000    Deferred        boost_python-vc71-mt-1_32
PE    18000000-18038000    Deferred        binkw32
PE    1d310000-1d577000    Deferred        d3dx9_31
PE    1e000000-1e1ca000    Deferred        python24
PE    21100000-2118c000    Deferred        mss32
ELF    68000000-6801d000    Deferred        ld-linux.so.2
ELF    6801d000-68158000    Deferred        libwine.so.1
ELF    68158000-68171000    Deferred        libpthread.so.0
ELF    68171000-682cb000    Deferred        libc.so.6
ELF    682cb000-682cf000    Deferred        libdl.so.2
ELF    682cf000-682f5000    Deferred        libm.so.6
ELF    682f5000-6830c000    Deferred        libnsl.so.1
ELF    6830c000-68316000    Deferred        libnss_nis.so.2
ELF    68316000-68322000    Deferred        libnss_files.so.2
ELF    68322000-68431000    Deferred        user32<elf>
  \-PE    68330000-68431000    \               user32
ELF    68431000-684bb000    Deferred        gdi32<elf>
  \-PE    68440000-684bb000    \               gdi32
ELF    684bb000-6852c000    Deferred        rpcrt4<elf>
  \-PE    684d0000-6852c000    \               rpcrt4
ELF    6852c000-686c0000    Deferred        shell32<elf>
  \-PE    68540000-686c0000    \               shell32
ELF    686c0000-6878e000    Deferred        comctl32<elf>
  \-PE    686d0000-6878e000    \               comctl32
ELF    6878e000-687fe000    Deferred        msvcrt<elf>
  \-PE    687a0000-687fe000    \               msvcrt
ELF    687fe000-68885000    Deferred        winmm<elf>
  \-PE    68810000-68885000    \               winmm
ELF    68885000-688b1000    Deferred        ws2_32<elf>
  \-PE    68890000-688b1000    \               ws2_32
ELF    688b1000-688ca000    Deferred        version<elf>
  \-PE    688c0000-688ca000    \               version
ELF    688ca000-688de000    Deferred        lz32<elf>
  \-PE    688d0000-688de000    \               lz32
ELF    688de000-689da000    Deferred        ole32<elf>
  \-PE    68900000-689da000    \               ole32
ELF    689da000-68ac0000    Deferred        oleaut32<elf>
  \-PE    689f0000-68ac0000    \               oleaut32
ELF    68ac0000-68b08000    Deferred        dsound<elf>
  \-PE    68ad0000-68b08000    \               dsound
ELF    68b08000-68b7e000    Deferred        libfreetype.so.6
ELF    68b7e000-68bae000    Deferred        libfontconfig.so.1
ELF    68bae000-68bd5000    Deferred        libexpat.so.1
ELF    68bd5000-68c74000    Deferred        winex11<elf>
  \-PE    68be0000-68c74000    \               winex11
ELF    68c74000-68c7d000    Deferred        libsm.so.6
ELF    68c7d000-68c96000    Deferred        libice.so.6
ELF    68c96000-68ca6000    Deferred        libxext.so.6
ELF    68ca6000-68dc3000    Deferred        libx11.so.6
ELF    68dc3000-68dc8000    Deferred        libuuid.so.1
ELF    68dc8000-68de2000    Deferred        libxcb.so.1
ELF    68de2000-68de6000    Deferred        libxau.so.6
ELF    68de6000-68dec000    Deferred        libxdmcp.so.6
ELF    68dec000-68df0000    Deferred        libxinerama.so.1
ELF    68df0000-68df6000    Deferred        libxxf86vm.so.1
ELF    68df6000-68dfe000    Deferred        libxrandr.so.2
ELF    68dfe000-68e02000    Deferred        libxcomposite.so.1
ELF    68e02000-68e0c000    Deferred        libxcursor.so.1
ELF    68e0c000-68e3f000    Deferred        uxtheme<elf>
  \-PE    68e10000-68e3f000    \               uxtheme
ELF    68e3f000-68e65000    Deferred        winhttp<elf>
  \-PE    68e50000-68e65000    \               winhttp
ELF    68e65000-68e7a000    Deferred        wtsapi32<elf>
  \-PE    68e70000-68e7a000    \               wtsapi32
ELF    68e7a000-68eb1000    Deferred        winealsa<elf>
  \-PE    68e80000-68eb1000    \               winealsa
ELF    68eb1000-68f79000    Deferred        libasound.so.2
ELF    68f79000-68f82000    Deferred        librt.so.1
ELF    68f82000-68fc4000    Deferred        libpulse.so.0
ELF    68fc4000-68fd2000    Deferred        libxi.so.6
ELF    68fd2000-68fdb000    Deferred        libwrap.so.0
ELF    68fdb000-69043000    Deferred        libsndfile.so.1
ELF    69043000-6907c000    Deferred        libdbus-1.so.3
ELF    6907c000-69178000    Deferred        libvorbisenc.so.2
ELF    69178000-691a1000    Deferred        libvorbis.so.0
ELF    691a1000-691a8000    Deferred        libogg.so.0
ELF    691a8000-691c0000    Deferred        msacm32<elf>
  \-PE    691b0000-691c0000    \               msacm32
ELF    691c0000-691e6000    Deferred        msacm32<elf>
  \-PE    691d0000-691e6000    \               msacm32
ELF    691e6000-69223000    Deferred        rsaenh<elf>
  \-PE    691f0000-69223000    \               rsaenh
ELF    69223000-692b6000    Deferred        crypt32<elf>
  \-PE    69230000-692b6000    \               crypt32
ELF    692b6000-692ea000    Deferred        d3d9<elf>
  \-PE    692c0000-692ea000    \               d3d9
ELF    693ec000-694b1000    Deferred        libgl.so.1
ELF    694b1000-695e7000    Deferred        wined3d<elf>
  \-PE    694c0000-695e7000    \               wined3d
ELF    698b2000-69911000    Deferred        shlwapi<elf>
  \-PE    698c0000-69911000    \               shlwapi
ELF    69911000-6af21000    Deferred        libglcore.so.1
ELF    6b665000-6b6b2000    Deferred        libflac.so.8
ELF    6d114000-6d11a000    Deferred        libxtst.so.6
ELF    6dbea000-6dbec000    Deferred        libnvidia-tls.so.1
ELF    6e42f000-6e445000    Deferred        midimap<elf>
  \-PE    6e430000-6e445000    \               midimap
ELF    6e937000-6e93e000    Deferred        libasound_module_pcm_pulse.so
ELF    7033d000-70352000    Deferred        libz.so.1
ELF    73723000-7376e000    Deferred        libpulsecommon-0.9.21.so
ELF    74467000-7446f000    Deferred        libnss_compat.so.2
PE    74980000-74ab0000    Deferred        msxml3
ELF    75b11000-75b32000    Deferred        imm32<elf>
  \-PE    75b20000-75b32000    \               imm32
ELF    7867b000-78685000    Deferred        libxrender.so.1
ELF    7b800000-7b93a000    Deferred        kernel32<elf>
  \-PE    7b810000-7b93a000    \               kernel32
ELF    7bc00000-7bcb6000    Deferred        ntdll<elf>
  \-PE    7bc10000-7bcb6000    \               ntdll
ELF    7bf00000-7bf04000    Deferred        <wine-loader>
PE    7c340000-7c396000    Export          msvcr71
PE    7c3a0000-7c41b000    Deferred        msvcp71
ELF    7c966000-7c96c000    Deferred        libxfixes.so.3
ELF    7d032000-7d08b000    Deferred        advapi32<elf>
  \-PE    7d040000-7d08b000    \               advapi32
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Civ4BeyondSword.exe
    00000033    0
    00000032    0
    00000031   15
    00000030   15
    0000002f    0
    00000009    0 <==
0000000e services.exe
    00000014    0
    00000010    0
    0000000f    0
00000011 winedevice.exe
    00000018    0
    00000016    0
    00000013    0
    00000012    0
00000019 explorer.exe
    0000001a    0
Backtrace:
=>0 0x7c3428fa in msvcr71 (+0x28fa) (0x188101ac)
  1 0x18810430 (0x65646c69)
  2 0x00000000 (0x00000000)
Can anyone help me on this one ? If I reinstall everything, will it work ? Or do I have to downgrade Wine (now 1.1.42), and if so, how do I do that ?

Thanks for any help, I NEED to play :cry: !!! And I don't want to reboot on Window$ :(
 
It seems that downgrading to Wine 1.1.25 solves part of the problems. Some things doesn't work, like sound, and city bars, but the game runs OK.

As I had to recompile Wine from sources, I'll try to do as well with the 1.1.43 version later today. Hope for the best.

\bye
 
I'll try to do as well with the 1.1.43 version later today. Hope for the best.

Nope, it doesn't work with the last wine version.

I'll try to find what version I used on Ubuntu 9.10.

\bye
 
I'll try to find what version I used on Ubuntu 9.10.

It seems that version 1.1.36 makes Civ4 work PERFECTLY : no crashes, everything works (city bars...), even reloading doesn't crash the game. Every other version I tested (from 1.1.39 to 1.1.43) doesn't start the game.

I think it comes from other libraries included in the last Ubuntu, not Wine itself. I just installed d3dx9, dotnet20, msxml{3,4} with winetricks as suggested by the Civ4 page of Wine AppDB.

Hope this helps others, sorry for the noise to the Window$ users :)

\bye
 
Im having some trouble getting BTS to work with the K-Mod. Game runs perfectly without any mods and even when using "Better BUG AI" mod, very strange.

This is what i get:

wine: Unhandled page fault on read access to 0x241de000 at address 0x7c3428fa (thread 0009)


I tried several versions of WINE from the 1.3 series.
 
I've switched to Debian Squeeze since my last post, and the wine version on the stable release is quite old (1.0.1), but Civ4 works allmost perfectly. I just have a problem reloading games (which is a bad habit, anyway ;)) after 1ad.

If I'm adventurous one day, I'll try to install a newer version of wine in /usr/local, to provide more infos.

I've tried installing Civ5, (with Steam), but I wasn't able to play the game. So I'll wait for a more powerfull PC, with more memory, a bigger processor, and maybe a virtual Window$ :p

\bye
 
Could you give K-Mod a try please? Using BTS atched to 3.19

Working fine, I think. Didn't play too long, but the game starts fine.

What problem do you have ?

\bye
 
When using any of the 1.3 series of WINE, after loading "K-Mod", clicking on the "single player" menu causes wine to crash freezing the game.

WINE 1.2.3 seems to be working fine though
 
Top Bottom