Skip to content

crash on minmus #1618

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
agustincaniglia opened this issue Nov 5, 2017 · 5 comments
Closed

crash on minmus #1618

agustincaniglia opened this issue Nov 5, 2017 · 5 comments
Labels
Milestone

Comments

@agustincaniglia
Copy link

I got to Minmmus, and landed. When I tried to go away from the surface, the game crashed.

Here is the glog archives: https://www.dropbox.com/s/yn3i35y8vkhn4cj/Principia.rar?dl=0

And here is the KSP.log https://www.dropbox.com/s/lq9jcl4o4m72yiw/KSP.rar?dl=0

@eggrobin
Copy link
Member

eggrobin commented Nov 5, 2017

Stack trace:

    @   000007FEEBC343C5  	principia__GetPlottingFrame [0x000007FEEBC343C4+230920]
    @   000007FEEBB9F13B  	principia__FlightPlanCreate [0x000007FEEBB9F13A+572970]
    @   000007FEEBBF5744  	principia__LogFatal [0x000007FEEBBF5743+111]
    @   000000013F363F0D  	(No symbol) [0x000000013F363F0C]
F1104 20:43:12.629523  1628 interface.cpp:668] System.NullReferenceException: 

  at (wrapper managed-to-native) UnityEngine.Component:get_gameObject ()

  at principia.ksp_plugin_adapter.PrincipiaPluginAdapter+<AdvanceAndNudgeVesselsAfterPhysicsSimulation>d__105.MoveNext () [0x00000] in <filename unknown>:0 

So this is an exception somewhere in the WaitForFixedUpdate block. This usually hard to track, fortunately we have one level of managed stack, which tells us we are getting the gameObject property.
That seems to narrow it down to either reference to collider.gameObject.
There is a null check before the second one (which was added to fix the very similar #1447), but the first one was added (in Chasles) before that null check; moving it down should resolve this issue.

@agustincaniglia
Copy link
Author

Moving it down? SOrry I don't understand much, was just trying to help, but I keep having CTDs in situations like EVA trying to enter cockpits, or transitions between surface and space...

@eggrobin
Copy link
Member

eggrobin commented Nov 7, 2017

The above was a note to ourselves, describing what we need to do to solve this issue. No action is required on your part.

@pleroy pleroy added the bug label Nov 7, 2017
@agustincaniglia
Copy link
Author

agustincaniglia commented Nov 7, 2017

OK, Here I have more logs in case it is helpful. This time tying to enter my cabin in space near mun.
https://www.dropbox.com/s/yn3i35y8vkhn4cj/Principia.rar?dl=0
https://www.dropbox.com/s/t3h8pmwg4fvvz3x/KSP.log?dl=0
Also a KSP crash log https://www.dropbox.com/s/ljpsx4qdpw4iath/output_log.txt?dl=0
I reloaded the game and can't get inside my cabin(It keeps crashing) I really don't want to lose this vessel... :(

eggrobin added a commit to eggrobin/Principia that referenced this issue Nov 11, 2017
@eggrobin eggrobin added this to the 陈景润 milestone Nov 11, 2017
@scimas
Copy link
Contributor

scimas commented Nov 13, 2017

Probably the same bug. The vessel on which the crash happened was Polar Mun Lander. Can't reproduce the bug on demand though. Adding these logs and save file just in case they are useful.
bug_report.zip

Sorry, something went wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants