Exception 0xc06d007f in Civ IV Warlords

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
jneem
Newbie
Newbie
Posts: 3
Joined: Sun Nov 13, 2011 6:20 pm

Exception 0xc06d007f in Civ IV Warlords

Post by jneem »

I've been successfully playing Civ IV in wine for some time, but recently I've been trying unsuccessfully to upgrade to the Warlords expansion. I tried various suggestions that I found through google, including those on wine's appdb. Basically, I've tried every combination of:
  • setting Direct3d 9 to be native
  • installing msxml3 via winetricks and making it native
  • disabling vertex and/or pixel shaders
  • deleting various dlls in the game folders (at least, those that also exist in system32)
No matter what I do, I always get an "Unhandled exception 0xc06d007f." Sometimes it happens when I start the game. Sometimes it lets me create a game and doesn't crash until I create my first city. But it always gives me the same exception (according to google, it's an "unknown software exception"). So my question is: how to debug this exception? Is there some information in the stack trace that tells me which software is unknown?

Thanks for any help. Wine version is 1.3.32 and a crash log follows:
fixme:system:SystemParametersInfoW Unimplemented action: 55 (SPI_SETMOUSEKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
err:ole:CoCreateInstance apartment not initialised
err:ole:CoCreateInstance apartment not initialised
err:ole:CoCreateInstance apartment not initialised
err:ole:CoCreateInstance apartment not initialised
err:ole:CoCreateInstance apartment not initialised
err:ole:CoCreateInstance apartment not initialised
err:ole:CoCreateInstance apartment not initialised
err:ole:CoCreateInstance apartment not initialised
err:ole:CoCreateInstance apartment not initialised
err:ole:CoCreateInstance apartment not initialised
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x10084 0x00000000
err:menubuilder:Process_Link unable to load L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Warlords\\Logs.lnk"
err:menubuilder:wWinMain failed to build menu item for L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Warlords\\Logs.lnk"
err:menubuilder:Process_Link unable to load L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Warlords\\Saves.lnk"
err:menubuilder:wWinMain failed to build menu item for L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Warlords\\Saves.lnk"
err:menubuilder:Process_Link unable to load L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Warlords\\CivilizationIV.ini.lnk"
err:menubuilder:wWinMain failed to build menu item for L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Warlords\\CivilizationIV.ini.lnk"
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
'import site' failed; use -v for traceback
fixme:win:EnumDisplayDevicesW ((null),0,0x32ee84,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f3e4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f3c8,0x00000000), stub!
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:event:wait_for_withdrawn_state window 0x30020/1e00001 wait timed out
fixme:win:EnumDisplayDevicesW ((null),0,0x32ef08,0x00000000), stub!
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
<snip>
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:wined3d_buffer_preload Too many declaration changes or converting dynamic buffer, stopping converting
fixme:d3d:state_lastpixel Last Pixel Drawing Disabled, not handled yet
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
<snip>
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
wine: Unhandled exception 0xc06d007f at address 0x7b83a332 (thread 0009), starting debugger...
fixme:event:wait_for_withdrawn_state window 0x140052/c00001 wait timed out
Unhandled exception: 0xc06d007f in 32-bit code (0x7b83a332).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:7b83a332 ESP:0032f504 EBP:0032f568 EFLAGS:00200283( - -- I S - - -C)
EAX:7b8264bd EBX:7b8a2ff4 ECX:0032f598 EDX:0032f528
ESI:c06d007f EDI:00000000
Stack dump:
0x0032f504: 0032f594 00000004 00be0cfc c06d007f
0x0032f514: 00000000 00000000 7b83a332 00000001
0x0032f524: 0032f598 c000007a 6d148000 7bc5240b
0x0032f534: 00000000 7bc40649 00000000 0032f570
0x0032f544: 7b8544cd c000007a 0032f55c 00000000
0x0032f554: 0032f564 00000a1b 7b83a2ea 00000000
Backtrace:
=>0 0x7b83a332 in kernel32 (+0x2a332) (0x0032f568)
1 0x004d7232 in civ4warlords (+0xd7231) (0x00bda3e0)
0x7b83a332: subl $4,%esp
Modules:
Module Address Debug info Name (117 modules)
PE 330000- 3ab000 Deferred msvcp71
PE 3b0000- 3c3000 Deferred zlib1
PE 3d0000- 3de000 Deferred hapdbg
PE 400000- d83000 Export civ4warlords
PE d90000- fda000 Deferred d3dx9_26
PE 1830000- 1be7000 Deferred cvgamecoredll
PE ffc0000- ffe0000 Deferred msseax.flt
PE ffe0000- ffea000 Deferred mssdolby.flt
PE 10000000-1002b000 Deferred boost_python-vc71-mt-1_32
PE 18000000-18038000 Deferred binkw32
PE 1e000000-1e1ca000 Deferred python24
PE 21100000-2118c000 Deferred mss32
PE 22300000-2230c000 Deferred mssds3d.flt
PE 23000000-2300d000 Deferred msssrs.flt
PE 24100000-2411e000 Deferred mssdsp.flt
PE 26400000-2643a000 Deferred mssvoice.asi
PE 26f00000-26f2e000 Deferred mssmp3.asi
PE 69b10000-69c14000 Deferred msxml3
ELF 7b800000-7b9c3000 Dwarf kernel32<elf>
\-PE 7b810000-7b9c3000 \ kernel32
ELF 7bc00000-7bcd2000 Deferred ntdll<elf>
\-PE 7bc10000-7bcd2000 \ ntdll
ELF 7bf00000-7bf04000 Deferred <wine-loader>
PE 7c340000-7c396000 Deferred msvcr71
ELF 7d246000-7d250000 Deferred libpciaccess.so.0
ELF 7d33f000-7d34c000 Deferred libdrm_intel.so.1
ELF 7d34c000-7d461000 Deferred libglsl.so
ELF 7d461000-7d6a3000 Deferred libdricore.so
ELF 7d6a3000-7d765000 Deferred i965_dri.so
ELF 7d765000-7d772000 Deferred libdrm.so.2
ELF 7d772000-7d783000 Deferred libxcb-glx.so.0
ELF 7d783000-7d7da000 Deferred libgl.so.1
ELF 7d811000-7d955000 Deferred wined3d<elf>
\-PE 7d820000-7d955000 \ wined3d
ELF 7d955000-7d992000 Deferred d3d9<elf>
\-PE 7d960000-7d992000 \ d3d9
ELF 7d992000-7da4c000 Deferred crypt32<elf>
\-PE 7d9a0000-7da4c000 \ crypt32
ELF 7da4c000-7da8e000 Deferred rsaenh<elf>
\-PE 7da50000-7da8e000 \ rsaenh
ELF 7dace000-7dad7000 Deferred librt.so.1
ELF 7dad7000-7dba4000 Deferred libasound.so.2
ELF 7dba7000-7dbaa000 Deferred libx11-xcb.so.1
ELF 7dbaa000-7dbc0000 Deferred libglapi.so.0
ELF 7dbc0000-7dbdb000 Deferred libgcc_s.so.1
ELF 7dbdb000-7dc07000 Deferred winealsa<elf>
\-PE 7dbe0000-7dc07000 \ winealsa
ELF 7dc07000-7dc2b000 Deferred mmdevapi<elf>
\-PE 7dc10000-7dc2b000 \ mmdevapi
ELF 7dcaa000-7dcc2000 Deferred wtsapi32<elf>
\-PE 7dcb0000-7dcc2000 \ wtsapi32
ELF 7dd77000-7ddad000 Deferred uxtheme<elf>
\-PE 7dd80000-7ddad000 \ uxtheme
ELF 7ddad000-7ddb6000 Deferred libxcursor.so.1
ELF 7ddb7000-7ddba000 Deferred libxdamage.so.1
ELF 7de09000-7de32000 Deferred libexpat.so.1
ELF 7de32000-7de60000 Deferred libfontconfig.so.1
ELF 7de60000-7de6d000 Deferred libxi.so.6
ELF 7de6d000-7de70000 Deferred libxcomposite.so.1
ELF 7de70000-7de77000 Deferred libxrandr.so.2
ELF 7de77000-7de7f000 Deferred libxrender.so.1
ELF 7de7f000-7de84000 Deferred libxxf86vm.so.1
ELF 7de84000-7de87000 Deferred libxinerama.so.1
ELF 7de87000-7deab000 Deferred imm32<elf>
\-PE 7de90000-7deab000 \ imm32
ELF 7deab000-7deb0000 Deferred libxdmcp.so.6
ELF 7deb0000-7deb3000 Deferred libxau.so.6
ELF 7deb3000-7decb000 Deferred libxcb.so.1
ELF 7decb000-7dee2000 Deferred libice.so.6
ELF 7dee2000-7e01a000 Deferred libx11.so.6
ELF 7e01a000-7e028000 Deferred libxext.so.6
ELF 7e028000-7e0d8000 Deferred winex11<elf>
\-PE 7e030000-7e0d8000 \ winex11
ELF 7e0d8000-7e0e8000 Deferred libbz2.so.1.0
ELF 7e0e8000-7e181000 Deferred libfreetype.so.6
ELF 7e182000-7e187000 Deferred libxfixes.so.3
ELF 7e1b8000-7e201000 Deferred dsound<elf>
\-PE 7e1c0000-7e201000 \ dsound
ELF 7e201000-7e30d000 Deferred oleaut32<elf>
\-PE 7e220000-7e30d000 \ oleaut32
ELF 7e30d000-7e341000 Deferred ws2_32<elf>
\-PE 7e310000-7e341000 \ ws2_32
ELF 7e341000-7e36d000 Deferred msacm32<elf>
\-PE 7e350000-7e36d000 \ msacm32
ELF 7e36d000-7e3eb000 Deferred rpcrt4<elf>
\-PE 7e380000-7e3eb000 \ rpcrt4
ELF 7e3eb000-7e512000 Deferred ole32<elf>
\-PE 7e400000-7e512000 \ ole32
ELF 7e512000-7e5bb000 Deferred winmm<elf>
\-PE 7e520000-7e5bb000 \ winmm
ELF 7e5bb000-7e656000 Deferred msvcrt<elf>
\-PE 7e5d0000-7e656000 \ msvcrt
ELF 7e656000-7e75c000 Deferred comctl32<elf>
\-PE 7e660000-7e75c000 \ comctl32
ELF 7e75c000-7e7cd000 Deferred shlwapi<elf>
\-PE 7e770000-7e7cd000 \ shlwapi
ELF 7e7cd000-7e9fb000 Deferred shell32<elf>
\-PE 7e7e0000-7e9fb000 \ shell32
ELF 7e9fb000-7ea63000 Deferred advapi32<elf>
\-PE 7ea10000-7ea63000 \ advapi32
ELF 7ea63000-7eb1e000 Deferred gdi32<elf>
\-PE 7ea70000-7eb1e000 \ gdi32
ELF 7eb1e000-7ec6e000 Deferred user32<elf>
\-PE 7eb30000-7ec6e000 \ user32
ELF 7ef9f000-7efc9000 Deferred libm.so.6
ELF 7efca000-7efd1000 Deferred libsm.so.6
ELF 7efd1000-7efe6000 Deferred libz.so.1
ELF 7efe6000-7f000000 Deferred version<elf>
\-PE 7eff0000-7f000000 \ version
ELF f7490000-f749d000 Deferred libnss_files.so.2
ELF f749f000-f74a4000 Deferred libdl.so.2
ELF f74a4000-f7620000 Deferred libc.so.6
ELF f7620000-f763b000 Deferred libpthread.so.0
ELF f763c000-f7640000 Deferred libuuid.so.1
ELF f7672000-f77b6000 Dwarf libwine.so.1
ELF f77b7000-f77d8000 Deferred ld-linux.so.2
ELF f77d8000-f77d9000 Deferred [vdso].so
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Warlords\Civ4Warlords.exe
0000003c 0
0000003b 15
0000003a 15
00000038 0
00000037 0
00000036 0
00000009 0 <==
0000000e services.exe
0000001d 0
0000001c 0
00000015 0
00000010 0
0000000f 0
00000012 winedevice.exe
00000018 0
00000014 0
00000013 0
00000019 plugplay.exe
0000001f 0
0000001b 0
0000001a 0
00000020 explorer.exe
00000021 0
Backtrace:
=>0 0x7b83a332 in kernel32 (+0x2a332) (0x0032f568)
1 0x004d7232 in civ4warlords (+0xd7231) (0x00bda3e0)
err:mmtime:TIME_MMTimeStop Timer still active?!
err:d3d:wined3d_wndproc Window 0x10084 is not registered with wined3d.
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Exception 0xc06d007f in Civ IV Warlords

Post by jjmckenzie »

On Sun, Nov 13, 2011 at 4:41 PM, jneem <[email protected]> wrote:
I've been successfully playing Civ IV in wine for some time, but recently I've been trying unsuccessfully to upgrade to the Warlords expansion. I tried
various suggestions that I found through google, including those on wine's appdb. Basically, I've tried every combination of:


        setting Direct3d 9 to be native
This should not be needed anymore and may actually break things.
        installing msxml3 via winetricks and making it native

        disabling vertex and/or pixel shaders

        deleting various dlls in the game folders (at least, those that also exist in system32)
Can you try starting over and following only the applications database
suggestions?

James
jneem
Newbie
Newbie
Posts: 3
Joined: Sun Nov 13, 2011 6:20 pm

Re: Exception 0xc06d007f in Civ IV Warlords

Post by jneem »

jjmckenzie wrote:On Sun, Nov 13, 2011 at 4:41 PM, jneem <[email protected]> wrote:
I've been successfully playing Civ IV in wine for some time, but recently I've been trying unsuccessfully to upgrade to the Warlords expansion. I tried
various suggestions that I found through google, including those on wine's appdb. Basically, I've tried every combination of:


        setting Direct3d 9 to be native
This should not be needed anymore and may actually break things.
I tried both with and without native Direct3d. It crashes both ways (with exception 0xc06d007f) but it lasts a little longer with native.
        installing msxml3 via winetricks and making it native

        disabling vertex and/or pixel shaders

        deleting various dlls in the game folders (at least, those that also exist in system32)
Can you try starting over and following only the applications database
suggestions?
I did try following only the suggestions on the appdb (before I started trying random combinations of things). Specifically, I tried following the dll overrides on this page, and then I also tried (with a clean .wine directory) following the instructions here (which are pretty much the same). You'll notice that someone on this page gets the same exception as me, but there is no resolution.
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Exception 0xc06d007f in Civ IV Warlords

Post by dimesio »

jneem wrote: I also tried (with a clean .wine directory) following the instructions here (which are pretty much the same). You'll notice that someone on this page gets the same exception as me, but there is no resolution.
Warlords doesn't crash for me, and the only native dlls I have are msxml3 and d3dx9_36. I also run it in a virtual desktop; you might try that, if you haven't. However, the version of Warlords I have is from Civ IV Complete, which had DRM removed. People using the older, DRM'd versions seem to have more problems.
jneem
Newbie
Newbie
Posts: 3
Joined: Sun Nov 13, 2011 6:20 pm

Post by jneem »

Thanks for the suggestion, but I just tried the virtual desktop and your dll overrides and it still crashes. I'm actually considering buying the complete edition (since I don't have BTS yet). But I haven't got around to it yet, and anyway I don't want to admit defeat :P
Locked