https://bugs.winehq.org/show_bug.cgi?id=42629
Bug ID: 42629 Summary: Calactic Civ 3 fails to run Product: Wine Version: 2.3 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: travissidelinger@gmail.com Distribution: ---
I tested both a working previous install (wine 2.0) and a clean install. Both get the same error. Here is my output below:
[galciv3]$ WINEDEBUG=warn+all WINEPREFIX=/games/galciv3 wine GalCiv3.exe ... ... warn:ntdll:FILE_CreateFile L"\??\C:\galciv3\DLC\DLC9_ClassicShips\Maps\" not found (c000003a) warn:ntdll:FILE_CreateFile L"\??\C:\galciv3\DLC\DLC9_ClassicShips\Maps\" not found (c000003a) fixme:win:DisableProcessWindowsGhosting : stub warn:winsock:WS_gethostname Windows supports NetBIOS name length up to 15 bytes! warn:ntdll:NtQueryAttributesFile L"\??\C:\galciv3\iphlpapi.dll" not found (c0000034) warn:ntdll:NtQueryAttributesFile L"\??\C:\galciv3\iphlpapi.dll" not found (c0000034) warn:winsock:wsaErrno errno 92, (Protocol not available). warn:winsock:WS_gethostname Windows supports NetBIOS name length up to 15 bytes! warn:winsock:WS_gethostname Windows supports NetBIOS name length up to 15 bytes! warn:winsock:wsaErrno errno 92, (Protocol not available). fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x24f710 1 C) semi-stub warn:ntdll:NtQueryAttributesFile L"\??\C:\galciv3\Galaxy.ini" not found (c0000034) warn:sync:SetNamedPipeHandleState semi-stub: 0xbc 0x24ebd4/2 (nil) (nil) warn:rpc:RPCRT4_default_receive_fragment Short read of header, -1 bytes warn:rpc:RPCRT4_io_thread receive failed with error 6be warn:sync:SetNamedPipeHandleState semi-stub: 0xbc 0x24ebd4/2 (nil) (nil) warn:rpc:RPCRT4_default_receive_fragment Short read of header, -1 bytes warn:rpc:RPCRT4_io_thread receive failed with error 6be fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x24ef00 1 C) semi-stub fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x24efa0 1 C) semi-stub fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x24ecc0 1 C) semi-stub fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x24e750 1 C) semi-stub fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x24f048 1 C) semi-stub err:seh:cxx_local_unwind invalid trylevel 1932422252
abnormal program termination fixme:ntdll:EtwEventUnregister (deadbeef) stub. fixme:ntdll:EtwEventUnregister (0) stub. fixme:msvcrt:__clean_type_info_names_internal (0x1804dbbd8) stub [talin@strahd galciv3]$ warn:rpc:RPCRT4_default_receive_fragment Short read of header, -1 bytes warn:rpc:RPCRT4_io_thread receive failed with error 6be warn:rpc:RPCRT4_default_receive_fragment Short read of header, -1 bytes warn:rpc:RPCRT4_io_thread receive failed with error 6be warn:rpc:RPCRT4_default_receive_fragment Short read of header, -1 bytes warn:rpc:RPCRT4_io_thread receive failed with error 6be
https://bugs.winehq.org/show_bug.cgi?id=42629
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Calactic Civ 3 fails to run |Galactic Civilization 3 | |fails to run
--- Comment #1 from Matteo Bruni matteo.mystral@gmail.com --- FWIW there is also bug 40826 but your crash looks different.
https://bugs.winehq.org/show_bug.cgi?id=42629
--- Comment #2 from Travis Sidelinger travissidelinger@gmail.com --- I'm working on compiling wine 2.1 and 2.2 to see if they work. Note, this worked back on wine 2.0.
-Travis
https://bugs.winehq.org/show_bug.cgi?id=42629
--- Comment #3 from Travis Sidelinger travissidelinger@gmail.com --- Created attachment 57584 --> https://bugs.winehq.org/attachment.cgi?id=57584 wine debug seh trace
https://bugs.winehq.org/show_bug.cgi?id=42629
--- Comment #4 from Travis Sidelinger travissidelinger@gmail.com --- I've now compiled both wine 2.0 and 2.1. Both versions get the same error. Thus, this may be an issue with Fedora 25.
$ WINEPREFIX=/games/galciv3 /games/wine/wine-2.0/wine64 GalCiv3.exe fixme:dwmapi:DwmIsCompositionEnabled 0x6dcf45d4 fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69ed0eb8, context 0x8c6e90, init_notify 0, handle 0x11ae1e0): stub wine client error:0: version mismatch 524/525. Your wineserver binary was not upgraded correctly, or you have an older one somewhere in your PATH. Or maybe the wrong wineserver is still running? wine: configuration in '/games/galciv3' has been updated. fixme:heap:RtlSetHeapInformation 0xa20000 0 0x23fd50 4 stub fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:ntdll:EtwEventRegister ({5eec90ab-c022-44b2-a5dd-fd716a222a15}, 0x6e107c, 0x73a150, 0x73a170) stub. fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x731ac0, 43) stub fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:heap:RtlSetHeapInformation 0xc40000 0 0x23fd50 4 stub fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:system:SetProcessDPIAware stub! Running data compiler. Current error level is 0 fixme:ver:GetCurrentPackageId (0x228710 (nil)): stub
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders Personal REG_SZ C:\users\talin\My Documents
Running data compiler. fixme:ver:GetCurrentPackageId (0x228710 (nil)): stub
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders Personal REG_SZ C:\users\talin\My Documents
Running data compiler. Current error level is 0 fixme:ver:GetCurrentPackageId (0x228710 (nil)): stub fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:ver:GetCurrentPackageId (0x196e590 (nil)): stub
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders Personal REG_SZ C:\users\talin\My Documents
Running data compiler. fixme:ver:GetCurrentPackageId (0x228710 (nil)): stub fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:win:DisableProcessWindowsGhosting : stub fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x23f730 1 C) semi-stub fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x23ef20 1 C) semi-stub fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x23efc0 1 C) semi-stub fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x23ed00 1 C) semi-stub fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x23e7d0 1 C) semi-stub fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x23f068 1 C) semi-stub err:seh:cxx_local_unwind invalid trylevel 2099742728
abnormal program termination fixme:ntdll:EtwEventUnregister (deadbeef) stub. fixme:ntdll:EtwEventUnregister (0) stub. fixme:msvcrt:__clean_type_info_names_internal (0x1804dbbd8) stub
I take it "seh" stands for "System Event Handling". So what was it doing that lead to seh? Attached is a trace with WINEDEBUG=trace+seh enabled. A full trace was taking forever, or may have just been looping. I will keep working on this, but if I can learn to trace these, I'm not afraid to attempt a code patch.
https://bugs.winehq.org/show_bug.cgi?id=42629
Ker noa blue-t@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |blue-t@web.de
--- Comment #5 from Ker noa blue-t@web.de --- https://www.winehq.org/docs/winedev-guide/seh Structured Exception Handling Not uncommon to be used for copy protection tricks.
https://bugs.winehq.org/show_bug.cgi?id=42629
--- Comment #6 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Travis Sidelinger from comment #4)
I've now compiled both wine 2.0 and 2.1. Both versions get the same error. Thus, this may be an issue with Fedora 25.
$ WINEPREFIX=/games/galciv3 /games/wine/wine-2.0/wine64 GalCiv3.exe fixme:dwmapi:DwmIsCompositionEnabled 0x6dcf45d4 fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69ed0eb8, context 0x8c6e90, init_notify 0, handle 0x11ae1e0): stub wine client error:0: version mismatch 524/525. Your wineserver binary was not upgraded correctly, or you have an older one somewhere in your PATH. Or maybe the wrong wineserver is still running?
That's a local issue which should fix first. Either you ran the newer wine without waiting for the wineserver process from the previous version to terminate itself or your Wine build is broken.
BTW, please don't paste logs in comments but attach them.
https://bugs.winehq.org/show_bug.cgi?id=42629
--- Comment #7 from Travis Sidelinger travissidelinger@gmail.com ---
That's a local issue which should fix first. Either you ran the newer wine without waiting for the wineserver process from the previous version to terminate itself or your Wine build is broken.
Maybe in my multiple times of testing this error, I copied a "bad" results. I have not other wine processes running, and I can repeatability get this failure.
Running data compiler. fixme:ver:GetCurrentPackageId (0x2286f0 (nil)): stub fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:win:DisableProcessWindowsGhosting : stub fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x23f710 1 C) semi-stub fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x23ef00 1 C) semi-stub fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x23efa0 1 C) semi-stub fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x23ecc0 1 C) semi-stub fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x23e750 1 C) semi-stub fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x23f048 1 C) semi-stub err:seh:cxx_local_unwind invalid trylevel 1159750761
abnormal program termination fixme:ntdll:EtwEventUnregister (deadbeef) stub. fixme:ntdll:EtwEventUnregister (0) stub. fixme:msvcrt:__clean_type_info_names_internal (0x1804dbbd8) stub
https://bugs.winehq.org/show_bug.cgi?id=42629
Travis Sidelinger travissidelinger@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #8 from Travis Sidelinger travissidelinger@gmail.com --- Fixed with wine 2.4
https://bugs.winehq.org/show_bug.cgi?id=42629
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.5.