http://bugs.winehq.org/show_bug.cgi?id=34643
Bug #: 34643 Summary: The Bureau XCOM Declassified crashes immediately Product: Wine Version: 1.7.3 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: arathorn2nd@gmail.com Classification: Unclassified
Created attachment 46171 --> http://bugs.winehq.org/attachment.cgi?id=46171 crash backtrace
When starting the game, wine crashes imediately. Installed correctly, thou, using a clean wineprefix created with WINEARCH="win32" Seems related to wxWidgets.
$ env WINEPREFIX="$(pwd)/wine" wine TheBureau.exe wine: Unhandled page fault on read access to 0xfffffff8 at address 0x3ba5a1a (thread 0009), starting debugger... ... Backtrace: =>0 0x03ba5a1a in wxmsw28u_vc_custom (+0x5a1a) (0x0386f688) ...
http://bugs.winehq.org/show_bug.cgi?id=34643
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com 2013-10-02 15:28:01 CDT --- The game seems to required .net 4.
Try "winetricks dotnet40"
http://bugs.winehq.org/show_bug.cgi?id=34643
--- Comment #2 from arathorn2nd arathorn2nd@gmail.com 2013-10-03 10:41:09 CDT --- I'm having issues with dotnet40, winetricks fails silently and running the installer manually gives Unhandled exception. Will come back to this when dotnet40 is installed. Thanks for the tip.
http://bugs.winehq.org/show_bug.cgi?id=34643
arathorn2nd arathorn2nd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #3 from arathorn2nd arathorn2nd@gmail.com 2013-10-03 11:45:09 CDT --- Installing dotnet4 stops crash. Doesn't work yet thou.
http://bugs.winehq.org/show_bug.cgi?id=34643
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Component|-unknown |mscoree Resolution|FIXED | Ever Confirmed|0 |1
--- Comment #4 from Austin English austinenglish@gmail.com 2013-10-03 13:02:21 CDT --- (In reply to comment #3)
Installing dotnet4 stops crash. Doesn't work yet thou.
Nothing was changed in wine. It's a mono/mscoree bug.
http://bugs.winehq.org/show_bug.cgi?id=34643
--- Comment #5 from arathorn2nd arathorn2nd@gmail.com 2013-10-03 13:11:39 CDT --- (In reply to comment #4)
(In reply to comment #3)
Installing dotnet4 stops crash. Doesn't work yet thou.
Nothing was changed in wine. It's a mono/mscoree bug.
Actually, it's working flawlessly in my setup, albeit a bit slow, but I've got an ancient GPU. Start with a clean win32 prefix and check the AppDB for instructions:
http://appdb.winehq.org/objectManager.php?sClass=version&iId=28979
I had problems installing dotnet4, mscoree.dll missing, in Arch Linux with wine-1.7.3, so I created the wineprefix in Ubuntu 12.04 and copied over.
http://bugs.winehq.org/show_bug.cgi?id=34643
--- Comment #6 from Vincent Povirk madewokherd@gmail.com 2013-10-03 17:43:11 CDT --- This may be related to the Unreal engine. I saw a similar stack trace in Unmechanical.
I have reason to hope this will be improved by thiscall support in Mono.
http://bugs.winehq.org/show_bug.cgi?id=34643
--- Comment #7 from arathorn2nd arathorn2nd@gmail.com 2013-10-04 07:21:13 CDT --- (In reply to comment #6)
This may be related to the Unreal engine. I saw a similar stack trace in Unmechanical.
I have reason to hope this will be improved by thiscall support in Mono.
The mono crash is related to wxWidgets used in the game, and is FIXED by installing dotnet4 using winetricks.
The one issue with this procedure is in winetricks itself that for some reason doesn't install mscoree.dll in some versions and the game refuses to run because winetricks sets this dll to native. This is unrelated to this bug.
Again, the game is running flawlessly just by installing dotnet4.
http://bugs.winehq.org/show_bug.cgi?id=34643
arathorn2nd arathorn2nd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED
--- Comment #8 from arathorn2nd arathorn2nd@gmail.com 2013-10-04 07:21:48 CDT --- Really guys, it's fixed.
http://bugs.winehq.org/show_bug.cgi?id=34643
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |focht@gmx.net Resolution|FIXED | Summary|The Bureau XCOM |The Bureau XCOM |Declassified crashes |Declassified doesn't work |immediately |with Mono, crashes | |immediately
--- Comment #9 from Anastasius Focht focht@gmx.net 2013-10-04 07:39:46 CDT --- Hello folks,
using MS .NET Framework 4 to run the game is fine.
But you could let the Mono guys have their part ... The component is already 'mscoree' so let's keep it as "doesn't work with Mono".
Regards
https://bugs.winehq.org/show_bug.cgi?id=34643
--- Comment #10 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.37 or newer) wine? If so, please attach the terminal output in 1.7.37 (see http://wiki.winehq.org/FAQ#get_log).
https://bugs.winehq.org/show_bug.cgi?id=34643
Adam Bolte abolte@systemsaviour.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |abolte@systemsaviour.com
--- Comment #11 from Adam Bolte abolte@systemsaviour.com --- Created attachment 52587 --> https://bugs.winehq.org/attachment.cgi?id=52587 the_bureau_xcom_declassified-1.7.53-backtrace.txt
Backtrace from a fresh completely clean wine prefix.
https://bugs.winehq.org/show_bug.cgi?id=34643
--- Comment #12 from Adam Bolte abolte@systemsaviour.com --- Created attachment 52588 --> https://bugs.winehq.org/attachment.cgi?id=52588 the_bureau_xcom_declassified-1.7.53-console_out.txt
Console output associated with the 1.7.53 backtrace.
https://bugs.winehq.org/show_bug.cgi?id=34643
--- Comment #13 from Adam Bolte abolte@systemsaviour.com --- Created attachment 52589 --> https://bugs.winehq.org/attachment.cgi?id=52589 the_bureau_xcom_declassified-1.7.53-console_out_with_dotnet40.txt
I installed dotnet40 via winetricks in a copy of the same clean wineprefix, and the game crashed without a backtrace. This is the console output, in case it is of any interest.
https://bugs.winehq.org/show_bug.cgi?id=34643
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW Summary|The Bureau XCOM |The Bureau XCOM |Declassified doesn't work |Declassified (.NET 4.0 |with Mono, crashes |managed C++/CLI game) |immediately |crashes with Wine-Mono
--- Comment #14 from Anastasius Focht focht@gmx.net --- Hello folks,
--- quote --- I installed dotnet40 via winetricks in a copy of the same clean wineprefix, and the game crashed without a backtrace. This is the console output, in case it is of any interest. --- quote ---
I found a distributed "backup" for testing purpose and the game works fine for me after installing .NET Framework 4.0 in the same 32-bit WINEPREFIX ('winetricks -q dotnet40').
Also the original bug reporter confirmed it working with MS .NET so it's likely something wrong with your WINEPREFIX or Wine package.
I scanned the main executable with ILSpy (after unwrapping):
--- snip --- // c:\Program Files\The Bureau\Binaries\Win32\TheBureau.exe // TheBureau, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// Global type: <Module> // Entry point: <Module>._WinMainCRTStartup // Architecture: AnyCPU (64-bit preferred) // This assembly contains unmanaged code. // Runtime: .NET 4.0
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Security; using System.Security.Permissions;
[assembly: AssemblyVersion("1.0.0.0")] [assembly: CLSCompliant(true)] [assembly: AssemblyCompany("Epic Games, Inc")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCopyright("Copyright 1998-2011 Epic Games, Inc. All Rights Reserved.")] [assembly: AssemblyDescription("")] [assembly: AssemblyProduct("Unreal Engine")] [assembly: AssemblyTitle("Unreal Engine")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: SecurityRules(SecurityRuleSet.Level1)] [assembly: SecurityPermission(SecurityAction.RequestMinimum, UnmanagedCode = true)] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
// mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // P4API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // p4dn_x86, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a // System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a // System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 // PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 // WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 // UnrealEdCSharp, Version=1.0.4973.33049, Culture=neutral, PublicKeyToken=null // AgentInterface, Version=1.0.4906.40498, Culture=neutral, PublicKeyToken=null // TTPWebProxy, Version=1.0.4973.32903, Culture=neutral, PublicKeyToken=null // Microsoft.VisualC, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a // System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // KERNEL32.dll // MSVCR100.dll // --- snip ---
which confirms the needed prerequisites.
Anyway, Bugzilla is not meant for diagnosing people's broken prefixes. This bug report is targeting Wine-Mono insufficiencies.
The only thing worthwhile to mention is continuous spam of following message sequence in terminal during gameplay (which can be suppressed):
--- snip --- fixme:xinput:XInputSetState (0 0x386ed1c) Stub! fixme:xinput:XInputSetState (1 0x386ed1c) Stub! fixme:xinput:XInputSetState (2 0x386ed1c) Stub! fixme:xinput:XInputSetState (3 0x386ed1c) Stub! --- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=34643
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #15 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 55002 --> https://bugs.winehq.org/attachment.cgi?id=55002 terminal output (Wine 1.9.13)
Still present in Wine 1.9.13 (Wine Mono 4.6.3 installed).
Some more games, that were built on the Unreal Engine 3, also hit this bug: Antichamber, A Story about My Uncle, Brothers-A Tale of Two Sons, Goat Simulator, Orion:Prelude, Rock of Ages, Viscera: Cleanup Details.
https://bugs.winehq.org/show_bug.cgi?id=34643
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #16 from fjfrackiewicz@gmail.com --- I have a .NET 4.0/ XNA game that crashes if I let it use Wine-Mono but works fine when using "winetricks dotnet40". It's not an Unreal 3 game so should I file a separate bug report or add my info to this one?
https://bugs.winehq.org/show_bug.cgi?id=34643
--- Comment #17 from Adam Bolte abolte@systemsaviour.com --- Created attachment 60657 --> https://bugs.winehq.org/attachment.cgi?id=60657 terminal output (Wine 3.3)
Still an issue in Wine 3.3 in a clean 32-bit wineprefix.
https://bugs.winehq.org/show_bug.cgi?id=34643
zzzzzyzz@hacari.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzzzzyzz@hacari.org
https://bugs.winehq.org/show_bug.cgi?id=34643
Joaquin Otsoa jayerza@bol.com.br changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jayerza@bol.com.br
--- Comment #18 from Joaquin Otsoa jayerza@bol.com.br --- I remember some versions ago it worked now it's broken again even with dotnet40
i think this is the relevant part
91:fixme:imm:ImmGetOpenStatus (0x15b530): semi-stub 0095:fixme:shell:CustomDestinationList_QueryInterface not implemented for {00000003-0000-0000-c000-000000000046} (unknown) 0095:fixme:shell:CustomDestinationList_QueryInterface not implemented for {00000003-0000-0000-c000-000000000046} (unknown) 0095:fixme:shell:CustomDestinationList_QueryInterface not implemented for {00000019-0000-0000-c000-000000000046} (unknown) 0095:fixme:shell:CustomDestinationList_BeginList 0x10b1fc30 (0x1a37fa28 {92ca9dcd-5622-4bba-a805-5e9f541bd8c9} 0x1a37fa34): stub 0091:fixme:thread:SetThreadStackGuarantee (0x386fc64): stub 0091:fixme:ntdll:EtwEventRegister ({e13c0d23-ccbc-4e12-931b-d9cc2eee27e4}, 0x7932a40c, 0x797293b0, 0x79764880) stub. 0091:fixme:ntdll:EtwEventRegister ({763fd754-7086-4dfe-95eb-c01a46faf4ca}, 0x7932a40c, 0x797292f0, 0x79729998) stub. 0091:fixme:ntdll:EtwEventRegister ({a669021c-c450-4609-a035-5af59af4df18}, 0x7932a40c, 0x79764890, 0x79764888) stub. 0091:fixme:ntdll:EtwEventRegister ({cc2bcbba-16b6-4cf3-8990-d74c2e8af500}, 0x7932a40c, 0x797648c0, 0x797292e8) stub. 0091:fixme:wer:WerRegisterRuntimeExceptionModule (L"C:\windows\Microsoft.NET\Framework\v4.0.30319\mscordacwks.dll", 0x79140000) stub! 0097:err:ole:CoGetContextToken apartment not initialised 0091:fixme:nls:LocaleNameToLCID unsupported flags 8000000 0091:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
https://bugs.winehq.org/show_bug.cgi?id=34643
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=34643
Paul Gofman gofmanp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=34643
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #19 from Gijs Vermeulen gijsvrm@gmail.com --- This seems to be fixed with wine-6.11 and wine-mono 6.2.0. I tested the GOG version of the game and checked with +mscoree and WINE_MONO_TRACE=wrapper to make sure wine-mono was being used (the installer tries to install native .NET).
Marking FIXED, feel free to reopen if you can still reproduce.
https://bugs.winehq.org/show_bug.cgi?id=34643
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #20 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.12.