Age of Empires III crashing

Questions about Wine on Linux
Locked
i_will_now_break_it
Level 2
Level 2
Posts: 33
Joined: Wed Apr 24, 2013 1:35 pm

Age of Empires III crashing

Post by i_will_now_break_it »

Hello
This is my first post here so i will probably do a lot wrong :wink: .
I have installed AoE3 with the method of copying the install directory over from windows and putting it in ~/.wine_aoe3/drive_c/Program Files/Microsoft Games/Age of Empires III/, It works fine and i didnt even have a problem with mp3 sounds. The problem is that at an apparently random moment during a game it will crash. Here is the debug backtrace:

Code: Select all

Unhandled exception: page fault on write access to 0x715ec000 in 32-bit code (0x01191220).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:01191220 ESP:0ba1e950 EBP:0ba1e990 EFLAGS:00210a02(  R- --O I   - - - )
 EAX:715ebfe0 EBX:0000ff7f ECX:0000ff40 EDX:00ff4042
 ESI:0000001c EDI:00000080
Stack dump:
0x0ba1e950:  48000020 48000042 48000040 4800007f
0x0ba1e960:  ff404220 bd748797 ff7f3a3f 715ebfe0
0x0ba1e970:  197d6c90 3e980000 055c2930 000000c3
0x0ba1e980:  bf7aa85a 7bcbdf01 0ba1e9d4 197d32a0
0x0ba1e990:  7bc37660 0040b5b6 0ba1e9d4 197d5430
0x0ba1e9a0:  715e9e5c 000000fd 197d32a0 0ba1e9d4
Backtrace:
=>0 0x01191220 in deformerdlly (+0x1220) (0x0ba1e990)
  1 0x0040b5b6 in age3y (+0xb5b5) (0x7bc37660)
  2 0xfff0e483 (0x04244c8d)
0x01191220: ???	
Modules:
Module	Address			Debug info	Name (154 modules)
PE	  340000-  3ee000	Deferred        dinput8
PE	  400000-  f22000	Export          age3y
PE	  f30000- 1183000	Deferred        d3dx9_25
PE	 1190000- 11a1000	Export          deformerdlly
PE	 4ff0000- 51a5000	Deferred        dxdiagn
PE	 bc70000- bc93000	Deferred        l3codecx.ax
PE	10000000-10014000	Deferred        rockalldll
PE	18000000-18038000	Deferred        binkw32
PE	35500000-35708000	Deferred        quartz
PE	50000000-50083000	Deferred        granny2
PE	51080000-510e1000	Deferred        dsound
PE	69b10000-69c5e000	Deferred        msxml4
PE	772b0000-7731c000	Deferred        riched20
ELF	7b800000-7ba45000	Deferred        kernel32<elf>
  \-PE	7b810000-7ba45000	\               kernel32
ELF	7bc00000-7bcda000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bcda000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7c219000-7c288000	Deferred        setupapi<elf>
  \-PE	7c220000-7c288000	\               setupapi
ELF	7c288000-7c400000	Deferred        libvorbisenc.so.2
ELF	7c7b7000-7c7dd000	Deferred        dxgi<elf>
  \-PE	7c7c0000-7c7dd000	\               dxgi
ELF	7c7dd000-7c80b000	Deferred        wbemprox<elf>
  \-PE	7c7e0000-7c80b000	\               wbemprox
ELF	7c80b000-7c813000	Deferred        libogg.so.0
ELF	7c813000-7c83f000	Deferred        libvorbis.so.0
ELF	7c83f000-7c88f000	Deferred        libflac.so.8
ELF	7c88f000-7c896000	Deferred        libasyncns.so.0
ELF	7c896000-7c90a000	Deferred        libsndfile.so.1
ELF	7c90a000-7c96e000	Deferred        libpulsecommon-2.1.so
ELF	7c96e000-7c978000	Deferred        libjson.so.0
ELF	7c978000-7c9c6000	Deferred        libpulse.so.0
ELF	7c9d9000-7ca01000	Deferred        winepulse<elf>
  \-PE	7c9e0000-7ca01000	\               winepulse
ELF	7ca01000-7ca23000	Deferred        mmdevapi<elf>
  \-PE	7ca10000-7ca23000	\               mmdevapi
ELF	7cd77000-7cd81000	Deferred        libwrap.so.0
ELF	7cd81000-7cdb5000	Deferred        libtxc_dxtn.so
ELF	7cdb5000-7cdc0000	Deferred        libpciaccess.so.0
ELF	7cdc0000-7cdde000	Deferred        libgcc_s.so.1
ELF	7cec7000-7cee9000	Deferred        libdrm_intel.so.1
ELF	7cee9000-7d2cc000	Deferred        libdricore9.2.0.so.1
ELF	7d2cc000-7d3af000	Deferred        i965_dri.so
ELF	7d3af000-7d3bc000	Deferred        libdrm.so.2
ELF	7d3bc000-7d3c1000	Deferred        libxcb-dri2.so.0
ELF	7d3c1000-7d3d9000	Deferred        libxcb-glx.so.0
ELF	7d3d9000-7d3de000	Deferred        libgpg-error.so.0
ELF	7d3de000-7d3f5000	Deferred        libresolv.so.2
ELF	7d3f5000-7d3f9000	Deferred        libkeyutils.so.1
ELF	7d3f9000-7d443000	Deferred        libdbus-1.so.3
ELF	7d443000-7d457000	Deferred        libp11-kit.so.0
ELF	7d457000-7d4db000	Deferred        libgcrypt.so.11
ELF	7d4db000-7d4ed000	Deferred        libtasn1.so.3
ELF	7d4ed000-7d4f6000	Deferred        libkrb5support.so.0
ELF	7d4f6000-7d4fb000	Deferred        libcom_err.so.2
ELF	7d4fb000-7d523000	Deferred        libk5crypto.so.3
ELF	7d523000-7d5f1000	Deferred        libkrb5.so.3
ELF	7d5f1000-7d6b5000	Deferred        libgnutls.so.26
ELF	7d6b5000-7d6f2000	Deferred        libgssapi_krb5.so.2
ELF	7d6f3000-7d70a000	Deferred        libglapi.so.0
ELF	7d70a000-7d763000	Deferred        libgl.so.1
ELF	7d763000-7d7d9000	Deferred        ddraw<elf>
  \-PE	7d770000-7d7d9000	\               ddraw
ELF	7d7d9000-7d80d000	Deferred        msctf<elf>
  \-PE	7d7e0000-7d80d000	\               msctf
ELF	7d990000-7d9a2000	Deferred        libavahi-client.so.3
ELF	7d9a2000-7da01000	Deferred        libcups.so.2
ELF	7da01000-7da14000	Deferred        gnome-keyring-pkcs11.so
ELF	7da16000-7da19000	Deferred        libx11-xcb.so.1
ELF	7da19000-7da1d000	Deferred        libxdamage.so.1
ELF	7da30000-7da54000	Deferred        gameux<elf>
  \-PE	7da40000-7da54000	\               gameux
ELF	7da54000-7da68000	Deferred        shfolder<elf>
  \-PE	7da60000-7da68000	\               shfolder
ELF	7da98000-7dace000	Deferred        uxtheme<elf>
  \-PE	7daa0000-7dace000	\               uxtheme
ELF	7dace000-7dad5000	Deferred        libxfixes.so.3
ELF	7dad5000-7dae0000	Deferred        libxcursor.so.1
ELF	7dae0000-7daf0000	Deferred        libxi.so.6
ELF	7daf0000-7daf4000	Deferred        libxcomposite.so.1
ELF	7daf4000-7daff000	Deferred        libxrandr.so.2
ELF	7daff000-7db09000	Deferred        libxrender.so.1
ELF	7db09000-7db0f000	Deferred        libxxf86vm.so.1
ELF	7db0f000-7db13000	Deferred        libxinerama.so.1
ELF	7db13000-7db1a000	Deferred        libxdmcp.so.6
ELF	7db1a000-7db1e000	Deferred        libxau.so.6
ELF	7db1e000-7db40000	Deferred        libxcb.so.1
ELF	7db40000-7db46000	Deferred        libuuid.so.1
ELF	7db46000-7db60000	Deferred        libice.so.6
ELF	7db60000-7dc96000	Deferred        libx11.so.6
ELF	7dc96000-7dca8000	Deferred        libxext.so.6
ELF	7dca8000-7dcb1000	Deferred        libsm.so.6
ELF	7dcb4000-7dcc2000	Deferred        libavahi-common.so.3
ELF	7dcc4000-7dd57000	Deferred        winex11<elf>
  \-PE	7dcd0000-7dd57000	\               winex11
ELF	7ddc7000-7ddef000	Deferred        libexpat.so.1
ELF	7ddef000-7de27000	Deferred        libfontconfig.so.1
ELF	7de27000-7de40000	Deferred        libz.so.1
ELF	7de40000-7deda000	Deferred        libfreetype.so.6
ELF	7deda000-7df06000	Deferred        msvfw32<elf>
  \-PE	7dee0000-7df06000	\               msvfw32
ELF	7df06000-7df4d000	Deferred        avifil32<elf>
  \-PE	7df10000-7df4d000	\               avifil32
ELF	7df4d000-7e086000	Deferred        oleaut32<elf>
  \-PE	7df60000-7e086000	\               oleaut32
ELF	7e086000-7e18e000	Deferred        comctl32<elf>
  \-PE	7e090000-7e18e000	\               comctl32
ELF	7e18e000-7e207000	Deferred        shlwapi<elf>
  \-PE	7e1a0000-7e207000	\               shlwapi
ELF	7e207000-7e436000	Deferred        shell32<elf>
  \-PE	7e210000-7e436000	\               shell32
ELF	7e436000-7e45c000	Deferred        iphlpapi<elf>
  \-PE	7e440000-7e45c000	\               iphlpapi
ELF	7e45c000-7e56a000	Deferred        opengl32<elf>
  \-PE	7e480000-7e56a000	\               opengl32
ELF	7e56a000-7e6a3000	Deferred        wined3d<elf>
  \-PE	7e580000-7e6a3000	\               wined3d
ELF	7e6a3000-7e6e0000	Deferred        d3d9<elf>
  \-PE	7e6b0000-7e6e0000	\               d3d9
ELF	7e6e0000-7e704000	Deferred        imm32<elf>
  \-PE	7e6f0000-7e704000	\               imm32
ELF	7e704000-7e7ac000	Deferred        msvcrt<elf>
  \-PE	7e720000-7e7ac000	\               msvcrt
ELF	7e7ac000-7e7e2000	Deferred        ws2_32<elf>
  \-PE	7e7b0000-7e7e2000	\               ws2_32
ELF	7e7e2000-7e80d000	Deferred        msacm32<elf>
  \-PE	7e7f0000-7e80d000	\               msacm32
ELF	7e80d000-7e948000	Deferred        ole32<elf>
  \-PE	7e820000-7e948000	\               ole32
ELF	7e948000-7e962000	Deferred        version<elf>
  \-PE	7e950000-7e962000	\               version
ELF	7e962000-7ea7d000	Deferred        gdi32<elf>
  \-PE	7e970000-7ea7d000	\               gdi32
ELF	7ea7d000-7ebd7000	Deferred        user32<elf>
  \-PE	7ea90000-7ebd7000	\               user32
ELF	7ebd7000-7ec8c000	Deferred        winmm<elf>
  \-PE	7ebe0000-7ec8c000	\               winmm
ELF	7ec8c000-7ecfb000	Deferred        advapi32<elf>
  \-PE	7eca0000-7ecfb000	\               advapi32
ELF	7ecfb000-7ed7c000	Deferred        rpcrt4<elf>
  \-PE	7ed10000-7ed7c000	\               rpcrt4
ELF	7ed7c000-7ed89000	Deferred        libnss_files.so.2
ELF	7ed89000-7ed95000	Deferred        libnss_nis.so.2
ELF	7ed95000-7edaf000	Deferred        libnsl.so.1
ELF	7edaf000-7edb8000	Deferred        libnss_compat.so.2
ELF	7efb8000-7efe4000	Deferred        libm.so.6
ELF	7efe4000-7efed000	Deferred        librt.so.1
ELF	b74a2000-b74a7000	Deferred        libdl.so.2
ELF	b74a7000-b7651000	Deferred        libc.so.6
ELF	b7652000-b766d000	Deferred        libpthread.so.0
ELF	b7680000-b77c4000	Dwarf           libwine.so.1
ELF	b77c6000-b77e8000	Deferred        ld-linux.so.2
ELF	b77e8000-b77e9000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
	00000038    0
	0000001c    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	00000020    0
	00000019    0
	00000017    0
	00000013    0
0000001a plugplay.exe
	0000001f    0
	0000001e    0
	0000001b    0
00000023 explorer.exe
	00000024    0
00000039 (D) Z:\home\matthew\.wine_aoe3\drive_c\Program Files\Microsoft Games\Age of Empires III\age3y.exe
	00000041    0
	00000040    1
	0000003f   15
	00000009    0
	0000000b    0 <==
	00000030    0
	0000002f   15
	0000002e   15
	00000046   15
	0000003e    0
	0000003d    0
	0000003c    0
	0000003b   15
	0000003a    0
System information:
    Wine build: wine-1.5.28
    Platform: i386
    Host system: Linux
    Host version: 3.5.0-17-generic
I am running Xubuntu 12.10 32bit, Intel i3 2100 @3.1GHz, Intel HD 2000, 4gb Corsair vengance RAM @1333MHz, Seagate barracuda 1TB HDD. I do not belive that this is due to hardware not being able to run the game because a) i can run it on my 2006 tin can (the one i copied the install directory from if it is important) with an Nvidia Geforce fx5200, Celeron 336 @2.8GHz, 768MB RAM, and b) because it runs fine with the graphics on mid-high settings, the framerate is fine, it just crashes. I have tried so many things i have literaly lost count, and i have reinstalled it to a new, clean wineprefix before reporting this. I was going to report this as a bug but i am reporting it here incase it is something I have done wrong and not a problem with wine.
I hope someone can help me with this as it is very annoying.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Age of Empires III crashing

Post by dimesio »

Copying a Windows install may work for some apps/games, but it is not a supported method. Install the game properly; the AppDB has detailed instructions. http://appdb.winehq.org/objectManager.p ... n&iId=3795
i_will_now_break_it
Level 2
Level 2
Posts: 33
Joined: Wed Apr 24, 2013 1:35 pm

Re: Age of Empires III crashing

Post by i_will_now_break_it »

I have tried all of the HowTos apart from "Alternative HowTo 1" because in step 4 i dont know whether to overwrite the files of the same name from disc 1 or not. The default HowTo and the Alternative HowTo 2 both give a "1628: Failed to complete installation" error when i run the installer. I would not have copied the install directory unless the others had not worked. I have the backtrace from the terminal from which the age3y.exe was run if it is useful and i cannot get the other install methds to work.
i_will_now_break_it
Level 2
Level 2
Posts: 33
Joined: Wed Apr 24, 2013 1:35 pm

Re: Age of Empires III crashing

Post by i_will_now_break_it »

Sorry to double post but i belive this is related to http://forum.winehq.org/viewtopic.php?f=8&t=17675 and http://bugs.winehq.org/show_bug.cgi?id=22910. Setting quartz to builtin did not solve the problem and i do not know what i would be doing modifying the source code. Also this may be (probably is) a stupid idea but would copying the entire contents of my system32 folder to the system32 folder in a new wineprefix where the install of aoe3 is located not work?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Age of Empires III crashing

Post by dimesio »

i_will_now_break_it wrote:Sorry to double post but i belive this is related to http://forum.winehq.org/viewtopic.php?f=8&t=17675 and http://bugs.winehq.org/show_bug.cgi?id=22910.
The problems in the forum post and the bug report are completely unrelated to one another. The bug was fixed a long time ago. The forum thread is more recent, and sounds more like your propblem. The poster invited anyone encountering the same problem to PM him for help. I would suggest doing that.
Also this may be (probably is) a stupid idea but would copying the entire contents of my system32 folder to the system32 folder in a new wineprefix where the install of aoe3 is located not work?
That will not help and may well break other things.
i_will_now_break_it
Level 2
Level 2
Posts: 33
Joined: Wed Apr 24, 2013 1:35 pm

Re: Age of Empires III crashing

Post by i_will_now_break_it »

In the interests of anyone finding this thread with the same problem as me, I have now tried Alternative HowTo 1 with overwrite and without and both return a 1628: Failed to complete installation at the same point as the other HowTos.
i_will_now_break_it
Level 2
Level 2
Posts: 33
Joined: Wed Apr 24, 2013 1:35 pm

Re: Age of Empires III crashing

Post by i_will_now_break_it »

I have now got wine 0.9.53 installed but now when i start AoE3 it says:
Your video hardware is below the recommended minimum requirements for Age of Empires III. If you wish to upgrade your computer, please contact your computer manufacturer for any necessary assistance.

System information: 3100 MHz, 3888 MB, 64 MB 915 (vendorID 8086, deviceID 2582)
Even though a know that i have an intel hd 2000 with 128mb of vram. I have set 3 registry keys; VideoMemorySize is set to 128, VideoPciDeviceID is set to 0x0102, VideoPciVendorID is set to 0x8086. As far as i know that should tell anything running in wine that i have an intel hd 2000 with 128mb of vram. When i click "Attempt to run" it continues to a black screen and stays there for a few minutes until it displays an error about not having sound before crashing. http://www.agecommunity.com/video_troubleshooting.aspx says nothing about the i915 being unsupported, not that i have an i915 anyway. Any ideas?
i_will_now_break_it
Level 2
Level 2
Posts: 33
Joined: Wed Apr 24, 2013 1:35 pm

Re: Age of Empires III crashing

Post by i_will_now_break_it »

To fix other problems I am now back on Xubuntu 12.10. I just installed AoE3 properly with the installer but now its back to crashing. It seems to be the same crash. I installed by putting the contents of my 3 CDs into one folder and then installing, this solved the crashes on 13.04. On 13.04 I had the problem of freezing and low fps as documented in another thread. This seems quite random. Im sure the registry is set up right (I havn't changed it after the install). The method I used to install is almost identical to the HowTo on the AppDB page. To solve the issue with white fog of war I have turned GLSL off, I dont beliieve that this would cause the crash. Any ideas?
Locked