This object is in archive! 

Game crash when exiting game

KaiiKiller shared this bug 5 years ago
Won't Fix

Hello, the game crashes when exiting the game, this crash has been ongoing for quite a few builds now, and is still present in 1.187

Replies (8)

photo
1

i have this issue too doesn't really affect me too much so i just tend to ignore it

photo
1

Always remember to include the game logs when reporting crashes.


You can find them by pressing your Windows key and start typing %appdata%\SpaceEngineers or just pasting that into the path bar of a Windows Explorere (not Internet Explorer). There will be .log files there. Make sure you switch on the viewing of extensions, Windows hides them by default.

photo
1

Space Engineers crashed again in the same exact way when closing the game, getting really sick of this it's been happening for many many builds now.

Screenshot of game crash message : https://i.imgur.com/7F7TQsL.png

Also attached the .Log files mentioned by Malware

Files: Logs.zip
photo
1

Hello,

Could you please provide us with more information regarding the issue you reported? To report a bug into our system it is necessary to have reliable steps to reproduce in order for programmers to fix it. It could be also caused by some software or setting on your computer. I also into the logs and the exception is not visible there.

Any additional information would be greatly appreciated!

Thank you.

Kind Regards

Keen Software House: QA Department

photo
1

The steps I took were pretty basic, I played the game for about 30 minutes, the game mode was singleplayer offline, I then closed the game and then the game crashes on exit.... I've been playing the game since 2014, and I would have to say this crash on exit has only been present for about the last year, I can't remember the exact build it started with as this crash does not happen all the time, it's quite intermittent, this afternoon I played for about 40 minutes and it did not crash on exit this time.


I realize this is not exactly helpful information but the crash is just so random, I've even done fresh installations of Windows and Steam and the game from Scratch trying to figure it out.

photo
1

I also have had the game crash every time I exit a world. Not sure what the exact reason is however i do see the following details at the end of the SpaceEngineers.log file


2018-09-09 18:37:27.460 - Thread: 1 -> GC Memory: 1,521,949,880 B

2018-09-09 18:37:35.773 - Thread: 1 -> MyGuiScreenBase.UnloadContent - START

2018-09-09 18:37:35.773 - Thread: 1 -> MyGuiScreenBase.UnloadContent - END

2018-09-09 18:37:41.523 - Thread: 1 -> Saving world - START

2018-09-09 18:37:41.523 - Thread: 1 -> Making world state snapshot.

2018-09-09 18:37:41.523 - Thread: 1 -> Before snapshot.: GC Memory: 1,528,339,464 B

2018-09-09 18:37:41.576 - Thread: 1 -> After snapshot.: GC Memory: 1,535,766,024 B

2018-09-09 18:37:41.576 - Thread: 1 -> Directory cleanup: GC Memory: 1,535,838,952 B

2018-09-09 18:37:41.576 - Thread: 1 -> Saving world - END

2018-09-09 18:37:41.577 - Thread: 1 -> Session snapshot save - START

2018-09-09 18:37:41.578 - Thread: 1 -> Checking file access for files in target dir.

2018-09-09 18:37:42.471 - Thread: 1 -> Session snapshot save - END

2018-09-09 18:37:42.494 - Thread: 1 -> MyGuiScreenBase.UnloadContent - START

2018-09-09 18:37:42.494 - Thread: 1 -> MyGuiScreenBase.UnloadContent - END

2018-09-09 18:37:42.528 - Thread: 1 -> MyGuiScreenBase.UnloadContent - START

2018-09-09 18:37:42.529 - Thread: 1 -> MyGuiScreenBase.UnloadContent - END

2018-09-09 18:37:42.529 - Thread: 1 -> MyGuiScreenBase.UnloadContent - START

2018-09-09 18:37:42.529 - Thread: 1 -> MyGuiScreenBase.UnloadContent - END

2018-09-09 18:37:42.529 - Thread: 1 -> MyGuiScreenGamePlay.UnloadContent - START

2018-09-09 18:37:42.530 - Thread: 1 -> MyGuiScreenBase.UnloadContent - START

2018-09-09 18:37:42.530 - Thread: 1 -> MyGuiScreenBase.UnloadContent - END

2018-09-09 18:37:43.322 - Thread: 1 -> MyGuiScreenGamePlay.UnloadContent - END

2018-09-09 18:37:43.322 - Thread: 1 -> MyGuiScreenGamePlay.UnloadData - START

2018-09-09 18:37:43.323 - Thread: 1 -> MyGuiScreenGamePlay.UnloadData - END

2018-09-09 18:37:43.330 - Thread: 1 -> Used namespaces in scripts:

2018-09-09 18:37:43.334 - Thread: 1 -> MySession::Unload START

2018-09-09 18:37:43.334 - Thread: 1 -> AutoSaveInMinutes: 5

2018-09-09 18:37:43.334 - Thread: 1 -> MySandboxGame.IsDedicated: False

2018-09-09 18:37:43.334 - Thread: 1 -> IsServer: True

2018-09-09 18:37:43.336 - Thread: 1 -> MyAudio.UnloadData - START

2018-09-09 18:37:43.343 - Thread: 1 -> MyAudio.UnloadData - END

2018-09-09 18:37:43.343 - Thread: 1 -> MyAudio.LoadData - START

2018-09-09 18:37:43.393 - Thread: 1 -> MyAudio.CreateX3DAudio - Device: Speakers (Realtek High Definition Audio) - Channel #: 2 - Sample rate: 48000

2018-09-09 18:37:43.500 - Thread: 1 -> MyAudio.LoadData - END

2018-09-09 18:37:43.505 - Thread: 1 -> MyConfig.Save() - START

2018-09-09 18:37:43.505 - Thread: 1 -> Path: C:\Users\Marcus\AppData\Roaming\SpaceEngineers\SpaceEngineers.cfg

2018-09-09 18:37:43.545 - Thread: 1 -> MyConfig.Save() - END

2018-09-09 18:37:44.212 - Thread: 1 -> Unloading Procedural World Generator

2018-09-09 18:37:44.273 - Thread: 1 -> Network readers disposed

2018-09-09 18:37:44.292 - Thread: 1 -> Network readers disposed

2018-09-09 18:37:44.293 - Thread: 1 -> MyDefinitionManager.PreloadDefinitions() - START

2018-09-09 18:37:44.422 - Thread: 1 -> Loading sound definitions

2018-09-09 18:37:44.901 - Thread: 1 -> Loading shadow textures definitions

2018-09-09 18:37:44.901 - Thread: 1 -> WARNING: Unexpected behaviour may occur due to redefinition of 'Text shadow sets'

2018-09-09 18:37:44.901 - Thread: 1 -> MyDefinitionManager.PreloadDefinitions() - END

2018-09-09 18:37:45.397 - Thread: 1 -> MySession::Unload END

2018-09-09 18:37:45.410 - Thread: 1 -> Build Info had an error while logging message = 'Unloaded.'

Logger error: Cannot access a closed file.

at System.IO.__Error.FileNotOpen()

at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)

at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)

at Digi.Log.Handler.WriteMessage(String msg, String prefix)

2018-09-09 18:37:45.428 - Thread: 1 -> Exception occured: System.NullReferenceException: Object reference not set to an instance of an object.

at Digi.Log.Handler.Close()

at Digi.Log.Unload()

at Sandbox.MySandboxGame.ProcessInvoke()

at Sandbox.MySandboxGame.Update()

at Sandbox.Engine.Platform.Game.UpdateInternal()

at Sandbox.Engine.Platform.Game.RunSingleFrame()

at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass1.<Run>b__0()

at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)

at Sandbox.Engine.Platform.Game.RunLoop()

at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)

at SpaceEngineers.MyProgram.Main(String[] args)

2018-09-09 18:37:45.434 - Thread: 1 -> Hiding window

2018-09-09 18:37:45.434 - Thread: 1 -> Hiding window done

2018-09-09 18:37:45.434 - Thread: 1 -> Showing message

photo
1

Not sure if the reason is the same however here it is a crash on game exit

photo
1

Another crash on exit.

Screenshot of game crash message : https://i.imgur.com/JVeFZp2.png

Attached is log

Files: Logs.zip
photo
1

Crash on exit, going on a year, as mentioned above starts happening after about 30 minutes of play time.

-=-=-

Problem signature:

Problem Event Name:APPCRASH

Application Name:SpaceEngineers.exe

Application Version:1.0.0.0

Application Timestamp:5bcf39b9

Fault Module Name:KERNELBASE.dll

Fault Module Version:6.1.7601.24231

Fault Module Timestamp:5b6db5dd

Exception Code:c0020001

Exception Offset:000000000001a06d

OS Version:6.1.7601.2.1.0.256.1

Locale ID:1033

Additional Information 1:30f6

Additional Information 2:30f6789077fe9ac36219c400623d5f7a

Additional Information 3:d43f

Additional Information 4:d43f4f274b07d1e57e82b9937b5aa9fd

That's what's in the crash pop up window.

Attaches is the text log, which mentions something about an external debugger being interrupted.

photo
1

Hello, Engineers!

As this thread is rather old now, as well as last comments here. Can I ask whether any of you are still experiencing it? Or was the issue fixed through various game updates and fixes?

Please, let me know about the current state of this bug.

Thanks in advance.

Kind Regards

Keen Software House: QA Department

photo
1

Hello, Engineer!


Because there is no new comment from you, and we are unable to reproduce the issue on our own, I will close this thread now as outdated.


If you or any other player will experience this issue again, please make a new thread and provide all needed info there.


Thank you for understanding.


Kind Regards


Keen Software House: QA Department

photo
1

Issue has not been present for a few builds now.

Replies have been locked on this page!