Space Engineers Crash at Launch - Not like usual

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
GrenadeMoose
Newbie
Newbie
Posts: 3
Joined: Fri Jan 16, 2015 3:07 pm

Space Engineers Crash at Launch - Not like usual

Post by GrenadeMoose »

I have a fresh install of Manjaro Linux, wine, winetricks and steam. Wine is version 1.7.33.
My steam install is under a 32-bit wineprefix.

For steam to work, I have disabled dwrite, and installed corefonts.

I have noticed that with the current version of steam, it hangs on login if I do not set my Windows version to Windows 7 (which may be due to a recent update?). Apart from that, everything works flawlessly on that end.

For Space Engineers, I have installed dotnet40, vcrun6, and set sound=disabled, oleaut32=native, and overlayrenderer=disable. According to WineHQ, everything should be working. I have run the .net verification tool and made sure that .net4.0 was installed and working properly... However, when I execute Space Engineers, it immediately crashes. There is no black screen, or anything to show that the engine has started. It just crashes immediately, throws up a debug window asking to submit information to developers, and spits out a log file.

Here is the log file from space engineers:

Code: Select all

2015-01-16 12:51:02.858 - Thread:   1 ->  Log Started
2015-01-16 12:51:02.874 - Thread:   1 ->  Timezone (local - UTC): -5h
2015-01-16 12:51:02.874 - Thread:   1 ->  App Version: 01_065_015
2015-01-16 12:51:02.874 - Thread:   1 ->  Steam build: Always true
2015-01-16 12:51:02.874 - Thread:   1 ->  Steam demo: False
2015-01-16 12:51:02.874 - Thread:   1 ->  Is official: True [O][IS][NAMP]
2015-01-16 12:51:02.874 - Thread:   1 ->  Environment.ProcessorCount: 6
2015-01-16 12:51:02.876 - Thread:   1 ->  Environment.OSVersion: Microsoft Windows NT 6.1.7601 Service Pack 1
2015-01-16 12:51:02.877 - Thread:   1 ->  Environment.CommandLine: "C:\Program Files\Steam\steamapps\common\SpaceEngineers\Bin\SpaceEngineers.exe"
2015-01-16 12:51:02.877 - Thread:   1 ->  Environment.Is64BitProcess: False
2015-01-16 12:51:02.879 - Thread:   1 ->  Environment.Is64BitOperatingSystem: False
2015-01-16 12:51:02.883 - Thread:   1 ->  Environment.Version: 4.0.30319.1
2015-01-16 12:51:02.883 - Thread:   1 ->  Environment.CurrentDirectory: C:\Program Files\Steam\steamapps\common\SpaceEngineers\Bin
2015-01-16 12:51:02.894 - Thread:   1 ->  MainAssembly.ProcessorArchitecture: X86
2015-01-16 12:51:02.894 - Thread:   1 ->  ExecutingAssembly.ProcessorArchitecture: X86
2015-01-16 12:51:02.894 - Thread:   1 ->  IntPtr.Size: 4
2015-01-16 12:51:02.894 - Thread:   1 ->  Default Culture: en-US
2015-01-16 12:51:02.895 - Thread:   1 ->  Default UI Culture: en-US
2015-01-16 12:51:02.914 - Thread:   1 ->  IsAdmin: True
2015-01-16 12:51:03.038 - Thread:   1 ->  Exception occured: System.ArgumentException: Invalid parameter. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
   at System.Globalization.CultureInfo.nativeSetThreadLocale(String localeName)
   at System.Threading.Thread.set_CurrentCulture(CultureInfo value)
   at B337879D0C82A5F9C44D51D954769590.828C2DB8877F9AC404A8908ADBC077D6.709B894C8DE129AD443BBDCAD9BD939D(UInt32 31A0C28AB4457DBE8E68136F29372B44, String 8558F44C9FF0819C1B2A2D668E82F4CC, String E83EE62A4350C3FC1CDF7C68C537F40F, Boolean C717FFC86D53D10AEE7C5DD487792A63)
   at 83BCBFA49B3A2A6EC1BC99583DA2D399.49BCFF86BA276A9C7C0D269C2924DE2D.0D8AAA624C2EEA412F85ABB3AEFAF743(String[] 954514EA42AFFE4302240CE14E5D6683)
2015-01-16 12:51:03.038 - Thread:   1 ->  Hiding window
2015-01-16 12:51:03.038 - Thread:   1 ->  Hiding window done
2015-01-16 12:51:03.038 - Thread:   1 ->  Showing message
I will also include the terminal output while the game is loading. If it would be more helpful to include all of the terminal output, including while steam is running on its own, I can.

Code: Select all

IPC client is in my process, could/should be using an in-process pipe.err:wineconsole:WCUSER_SetFont wrong font
err:wineconsole:WCUSER_SetFont wrong font
fixme:exec:SHELL_execute flags ignored: 0x00000100
fixme:ver:GetCurrentPackageId (0x33f79c (nil)): stub
fixme:advapi:EventRegister {47a9201e-73b0-42ce-9821-7e134361bc6f}, 0x100721e0, 0x101122c8, 0x101122c0
fixme:advapi:EventRegister {58a9201e-73b0-42ce-9821-7e134361bc70}, 0x100721e0, 0x10112300, 0x101122f8
fixme:advapi:EventRegister {3fa9201e-73b0-43fe-9821-7e145359bc6f}, 0x100721e0, 0x10112290, 0x10112288
fixme:advapi:EventRegister {1432afee-73b0-42ce-9821-7e134361b433}, 0x100721e0, 0x10112338, 0x10112330
fixme:advapi:EventRegister {4372afee-73b0-42ce-9821-7e134361b519}, 0x100721e0, 0x10112370, 0x10112368
fixme:imm:ImmGetOpenStatus (0x16fd20): semi-stub
fixme:ver:GetCurrentPackageId (0x33f15c (nil)): stub
fixme:thread:SetThreadStackGuarantee (0x33fbd4): stub
fixme:advapi:EventRegister {e13c0d23-ccbc-4e12-931b-d9cc2eee27e4}, 0x7932a40c, 0x797293b0, 0x79764880
fixme:advapi:EventRegister {763fd754-7086-4dfe-95eb-c01a46faf4ca}, 0x7932a40c, 0x797292f0, 0x79729998
fixme:advapi:EventRegister {a669021c-c450-4609-a035-5af59af4df18}, 0x7932a40c, 0x79764890, 0x79764888
fixme:advapi:EventRegister {cc2bcbba-16b6-4cf3-8990-d74c2e8af500}, 0x7932a40c, 0x797648c0, 0x797292e8
fixme:wer:WerRegisterRuntimeExceptionModule (L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscordacwks.dll", 0x79140000) stub!
fixme:nls:LCIDToLocaleName unsupported flags 8000000
fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x000003fe,0x1e36f8,0x0001,0x00000000,0x41be444,(nil)): stub
err:eventlog:ReportEventW L".NET Runtime version 4.0.30319.1 - There was a failure initializing profiling API attach infrastructure.  This process will not allow a profiler to attach.  HRESULT: 0x800706a9.  Process ID (decimal): 115.  Message ID: [0x2509]."
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:shell:URL_ParseUrl failed to parse L"VRage.Common"
fixme:shell:URL_ParseUrl failed to parse L"Sandbox.Game"
fixme:shell:URL_ParseUrl failed to parse L"System"
fixme:shell:URL_ParseUrl failed to parse L"System.Core"
fixme:shell:URL_ParseUrl failed to parse L"Sandbox.Common"
fixme:shell:URL_ParseUrl failed to parse L"VRage.Math"
fixme:shell:URL_ParseUrl failed to parse L"VRage.Library"
fixme:shell:URL_ParseUrl failed to parse L"Sandbox.Graphics"
fixme:shell:URL_ParseUrl failed to parse L"System.Windows.Forms"
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:nls:LCIDToLocaleName unsupported flags 8000000
fixme:nls:GetUserPreferredUILanguages stub: 0 0x33c8c0 (nil) 0x33c8bc
fixme:thread:GetThreadPreferredUILanguages 0, 0x33c8c0, (nil) 0x33c8bc
fixme:time:GetDynamicTimeZoneInformation (0x33eca0) stub!
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:advapi:EventRegister {8e9f5090-2d75-4d03-8a81-e5afbf85daf1}, 0x1cd0502, (nil), 0x205a188
fixme:shell:URL_ParseUrl failed to parse L"SharpDX"
fixme:shell:URL_ParseUrl failed to parse L"SteamSDK"
fixme:advapi:EventRegister {47a9201e-73b0-42ce-9821-7e134361bc6f}, 0x100721e0, 0x101122c8, 0x101122c0
fixme:advapi:EventRegister {58a9201e-73b0-42ce-9821-7e134361bc70}, 0x100721e0, 0x10112300, 0x101122f8
fixme:advapi:EventRegister {3fa9201e-73b0-43fe-9821-7e145359bc6f}, 0x100721e0, 0x10112290, 0x10112288
fixme:advapi:EventRegister {1432afee-73b0-42ce-9821-7e134361b433}, 0x100721e0, 0x10112338, 0x10112330
fixme:advapi:EventRegister {4372afee-73b0-42ce-9821-7e134361b519}, 0x100721e0, 0x10112370, 0x10112368
fixme:imm:ImmGetOpenStatus (0x16fea0): semi-stub
fixme:ver:GetCurrentPackageId (0x33f15c (nil)): stub
fixme:thread:SetThreadStackGuarantee (0x33fbd4): stub
fixme:advapi:EventRegister {e13c0d23-ccbc-4e12-931b-d9cc2eee27e4}, 0x7932a40c, 0x797293b0, 0x79764880
fixme:advapi:EventRegister {763fd754-7086-4dfe-95eb-c01a46faf4ca}, 0x7932a40c, 0x797292f0, 0x79729998
fixme:advapi:EventRegister {a669021c-c450-4609-a035-5af59af4df18}, 0x7932a40c, 0x79764890, 0x79764888
fixme:advapi:EventRegister {cc2bcbba-16b6-4cf3-8990-d74c2e8af500}, 0x7932a40c, 0x797648c0, 0x797292e8
fixme:wer:WerRegisterRuntimeExceptionModule (L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscordacwks.dll", 0x79140000) stub!
fixme:nls:LCIDToLocaleName unsupported flags 8000000
fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x000003fe,0x1e3a00,0x0001,0x00000000,0x41be444,(nil)): stub
err:eventlog:ReportEventW L".NET Runtime version 4.0.30319.1 - There was a failure initializing profiling API attach infrastructure.  This process will not allow a profiler to attach.  HRESULT: 0x800706a9.  Process ID (decimal): 119.  Message ID: [0x2509]."
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:shell:URL_ParseUrl failed to parse L"VRage.Common"
fixme:shell:URL_ParseUrl failed to parse L"Sandbox.Game"
fixme:shell:URL_ParseUrl failed to parse L"System"
fixme:shell:URL_ParseUrl failed to parse L"System.Core"
fixme:shell:URL_ParseUrl failed to parse L"Sandbox.Common"
fixme:shell:URL_ParseUrl failed to parse L"VRage.Math"
fixme:shell:URL_ParseUrl failed to parse L"VRage.Library"
fixme:shell:URL_ParseUrl failed to parse L"Sandbox.Graphics"
fixme:shell:URL_ParseUrl failed to parse L"System.Windows.Forms"
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:nls:LCIDToLocaleName unsupported flags 8000000
fixme:nls:GetUserPreferredUILanguages stub: 0 0x33c8c0 (nil) 0x33c8bc
fixme:thread:GetThreadPreferredUILanguages 0, 0x33c8c0, (nil) 0x33c8bc
fixme:process:FlushProcessWriteBuffers : stub
fixme:imm:ImmReleaseContext ((nil), (nil)): stub
fixme:advapi:EventUnregister deadbeef: stub
fixme:advapi:EventUnregister deadbeef: stub
fixme:advapi:EventUnregister deadbeef: stub
fixme:advapi:EventUnregister deadbeef: stub
fixme:advapi:EventUnregister deadbeef: stub
While running steam with WINEDEBUG=fixme-all, this is something that is constantly repeating:

Code: Select all

err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:mmdevapi:DllGetClassObject Driver initialization failed
err:ole:apartment_getclassobject DllGetClassObject returned error 0x80004005
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x1

Thanks in advance for your help, guys!
GrenadeMoose
Newbie
Newbie
Posts: 3
Joined: Fri Jan 16, 2015 3:07 pm

Re: Space Engineers Crash at Launch - Not like usual

Post by GrenadeMoose »

I should also mention that I have deleted the checksum.xml file and it still crashes.
And I noticed that Space Engineers does not get to a point where it generates a config file. What would normally be in AppData\Roaming\SpaceEngineers is gone, in fact there is no Roaming folder yet, as the wineprefix is too new nothing has been generated...
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Space Engineers Crash at Launch - Not like usual

Post by dimesio »

GrenadeMoose wrote:I have noticed that with the current version of steam, it hangs on login if I do not set my Windows version to Windows 7 (which may be due to a recent update?). Apart from that, everything works flawlessly on that end.
Logging into Steam from real XP is nearly impossible, too; Valve seems to have dropped support for it. Any version higher than XP should work.

Unfortunately, the Windows version may well be what's causing the crash on start; all the AppDB tests were for XP. If this is a game that can be played offline, try setting the Windows version back to XP.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Space Engineers Crash at Launch - Not like usual

Post by dimesio »

I just tried a fresh wineprefix set to XP, and today it was able to connect to the Steam server without any problem, so perhaps the connection issue was just a temporary glitch that they've fixed. I would definitely try again with the Windows version set to XP (you may have to create a clean wineprefix for that if you've already connected at the higher version).
GrenadeMoose
Newbie
Newbie
Posts: 3
Joined: Fri Jan 16, 2015 3:07 pm

Re: Space Engineers Crash at Launch - Not like usual

Post by GrenadeMoose »

Solved!

It appears as though someone fixed xp logins overnight. I have been installing steam on fresh wineprefixes for three days now and every single time I went to log in through an xp wine, it would hang on account authentication. Today, everything works like it should...

So with that, I started a fresh wineprefix, installed steam, and did all the same that I had previously mentioned to install space engineers. I tried starting the game and it crashed a few times, as the AppDB tests had proved it was tricky to launch on the first try. But this time there were no crash logs from space engineers.

Then, on the fifth try, it launched perfectly. I guess it was a Windows 7 vs Windows XP wine problem... Thanks for your help guys!
Locked