Skip to content
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

Crash when entering VAB immediately after SimManager.StartSimulation() on KSP 1.0.2 #35

Open
jicksta opened this issue May 17, 2015 · 7 comments

Comments

@jicksta
Copy link

jicksta commented May 17, 2015

I've been getting this crash very often out of KER. It may have something to do with the interplay between mods but that's only a suspicion. I used to have just MechJeb and KER installed and I don't think I got this crash as frequently as I do now. Here's what's in the log:

[WRN 13:38:59.362] [HighLogic]: =========================== Scene Change : From FLIGHT to EDITOR =====================
[LOG 13:38:59.382] 5/17/2015 1:38:59 PM,KerbalAlarmClock,Scene Change from 'FLIGHT' to 'EDITOR'
[LOG 13:39:00.384] KerbalEngineer -> SimManager.StartSimulation() //
[LOG 13:39:00.385] KerbalEngineer ->   at (wrapper managed-to-native) UnityEngine.Component:InternalGetTransform ()
  at UnityEngine.Component.get_transform () [0x00000] in <filename unknown>:0
  at KerbalEngineer.VesselSimulator.PartSim.Initialise (.Part thePart, Int32 id, Double atmosphere, KerbalEngineer.LogMsg log) [0x00000] in <filename unknown>:0
  at KerbalEngineer.VesselSimulator.Simulation.PrepareSimulation (System.Collections.Generic.List`1 parts, Double theGravity, Double theAtmosphere, Double theMach, Boolean dumpTree, Boolean vectoredThrust, Boolean fullThrust) [0x00000] in <filename unknown>:0
  at KerbalEngineer.VesselSimulator.SimManager.StartSimulation () [0x00000] in <filename unknown>:0
[LOG 13:39:00.385] KerbalEngineer -> Object reference not set to an instance of an object
[LOG 13:39:00.385] KerbalEngineer ->   at KerbalEngineer.Flight.Readouts.Vessel.SuicideBurnProcessor.Update () [0x00000] in <filename unknown>:0
  at KerbalEngineer.Flight.FlightEngineerCore.UpdateModules () [0x00000] in <filename unknown>:0
[LOG 13:39:00.566] [FlightEngineer]: Destroying Floating Window for HUD 1
[LOG 13:39:00.566] [FlightEngineer]: Destroying Floating Window for HUD 2
[LOG 13:39:00.566] [FlightEngineer]: Destroying Floating Window for HUD 1
[LOG 13:39:00.566] [FlightEngineer]: Destroying Floating Window for HUD 2
[LOG 13:39:00.572] 5/17/2015 1:39:00 PM,KerbalAlarmClock,Destroying the KerbalAlarmClock-KACFlight
[LOG 13:39:00.572] 5/17/2015 1:39:00 PM,KerbalAlarmClock,AppLauncher: Destroying Button-BEFORE NULL CHECK

This is with KSP 1.0.2 and KER 1.0.16.6 on Mac OS X 10.10.1.

@Gerry1135
Copy link
Contributor

When you say "crash" what do you actually mean? Does the game as a whole, or KER itself, stop working or do you just get the message in the log?

It looks like various parts of the code are being run after the scene change but before the new scene is fully set up.

@jicksta
Copy link
Author

jicksta commented May 17, 2015

Looks like a segfault. Hard crash of the process and OS X reports "The program Kerbal Space Program has crashed." (wording may be inexact) in a popup window. Lemme know if there's any other info you'd like me to provide.

@Gerry1135
Copy link
Contributor

Well, there's no way I know of for KER to cause a hard crash of KSP like that so I suspect this is more likely to be the fairly common problem that lots of Macs running 10.10 appear to have. Are you able to upload a complete player.log file from one of these crashes?

@jicksta
Copy link
Author

jicksta commented May 17, 2015

Perhaps. Where do I find that? I don't see it.

~/Library/Application Support/Steam/SteamApps/common/Kerbal Space Program % find . -name '*.log'
./GameData/KerbalEngineer/KerbalEngineer.log
./GameData/MechJeb2/Plugins/MechJeb2.log
./KSP.log
./MiniAVC.log

@Gerry1135
Copy link
Contributor

Errr, I believe it's in ~/.config/unity3d

@jicksta
Copy link
Author

jicksta commented May 17, 2015

Ok, I found it in ~/Library/Logs/Unity/Player.log. Lots of KER errors at the bottom.

https://gist.githubusercontent.com/jicksta/7edbd61740db61e5ddaf/raw/Player.log

@arekbulski
Copy link

Is this still open? Its 2 years old and KSP 1.0.2 is ancient by now.

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

No branches or pull requests

3 participants