Jump to content

Frequent CTDs (mainly on scene change)


Recommended Posts

Been getting these a lot recently. 95% of the time they happen on scene-change. They're a lot like out of RAM crashes, but mostly seem to be happening at only ~3.2gb or so.

I think these have only been happening since I installed FAR, although it's possible there were one or two other smaller mods I installed at around the same time. I'm running a lot of mods, so likely it's some sort of conflict, but I don't really know where to start. Will try disabling FAR and seeing if that makes any difference, but given how widely used FAR is, it seems unlikely to be the culprit presumably ?

Mod list is here according to AVC anyway, although I feel like that might be a conservative estimate.

I've had a look at the logs, but I've not seen much that's meaningful to me. The toolbar errors (or some of them anyway) are because I set toolbar-settings.dat to read-only to stop it resetting, but I'd done that before the CTDs started happening.

I'd really appreciate it if anyone more knowledgeable with time to kill could just have a quick scan of the logs and let me know if there are any obvious smoking guns https://www.dropbox.com/sh/xl7jmwy3hvnt0iq/AACGzECS5Iedsso-BIoqdTHQa?dl=0

Thanks!

Link to comment
Share on other sites

Well, your first exception is with KOS:

kOS: Exception Loading TelnetMainServer.xml (maybe the first time you ran and its not there yet): Object reference not set to an instance of an object

So you might want to look at that first, then look at Mechjeb:

MechJeb module MechJebModuleWaypointWindow threw an exception in OnLoad: System.NullReferenceException: Object reference not set to an instance of an object

at MuMech.MechJebModuleWaypointWindow.OnLoad (.ConfigNode local, .ConfigNode type, .ConfigNode global) [0x00000] in <filename unknown>:0

at MuMech.MechJebCore.OnLoad (.ConfigNode sfsNode) [0x00000] in <filename unknown>:0

It did this quite a few times, then smartparts:

Exception when attempting to register listener: Lib.Stager, SmartParts, Version=1.6.6.0, Culture=neutral, PublicKeyToken=null.changeListener

(Filename: C:/buildslave/unity/build/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 56)

ArgumentException: Message argument is null

at KSPAPIExtensions.PartMessage.PartMessageListener..ctor (System.Type delegateType, PartRelationship relations, GameSceneFilter scenes) [0x00000] in <filename unknown>:0

Then your drag cubes broke:

NullReferenceException: Object reference not set to an instance of an object

at ModuleDeployableSolarPanel.AssumeDragCubePosition (System.String name) [0x00000] in <filename unknown>:0

at DragCubeSystem+

.MoveNext () [0x00000] in <filename unknown>:0

UnityEngine.MonoBehaviour:StartCoroutine_Auto(IEnumerator)

UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)

:MoveNext()

UnityEngine.MonoBehaviour:StartCoroutine_Auto(IEnumerator)

UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)

:MoveNext()

UnityEngine.MonoBehaviour:StartCoroutine_Auto(IEnumerator)

UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)

:MoveNext()

Then Tantares:

UnityException: Texture 'Tantares/Agencies/Tantares' is not readable, the texture memory can not be accessed from scripts. You can make the texture readable in the Texture Import Settings.

at (wrapper managed-to-native) UnityEngine.Texture2D:GetPixels (int,int,int,int,int)

Then the roster:

NullReferenceException: Object reference not set to an instance of an object

at CrewQueue.CrewQueueRoster.RestoreVacationingCrew () [0x00000] in <filename unknown>:0

at CrewQueue.CrewQueue.OnLevelWasLoaded (GameScenes scene) [0x00000] in <filename unknown>:0

at EventData`1[GameScenes].Fire (GameScenes data) [0x00000] in <filename unknown>:0

at HighLogic+.MoveNext () [0x00000] in <filename unknown>:0

Then contractconfigurator:

MissingMethodException: Cannot find function 'planet' for class 'String'.

at ContractConfigurator.ExpressionParser.ExpressionParser`1[T].GetCalledFunction (System.String functionName, Function& selectedMethod, Boolean isFunction) [0x00000] in <filename unknown>:0

at ContractConfigurator.ExpressionParser.ExpressionParser`1[system.String].ParseMethod[string] (ContractConfigurator.ExpressionParser.Token token, System.String obj, Boolean isFunction) [0x00000] in <filename unknown>:0

Rethrow as Exception: Error parsing statement.

Error occurred near '*':

Put a new outpost on any planet(Orbited) surface.

................................* <-- HERE

at ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ParseExpression (System.String key, System.String expression, ContractConfigurator.ExpressionParser.DataNode dataNode) [0x00000] in <filename unknown>:0

at ContractConfigurator.ConfigNodeUtil.ParseSingleValue[string] (System.String key, System.String stringValue, Boolean allowExpression) [0x00000] in <filename unknown>:0

Then things get really weird:

UnauthorizedAccessException: Access to the path "C:\Games\KSP\Kerbal Space Program - SETI\GameData\toolbar-settings.dat" is denied.

at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0

at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0

at System.IO.File.Open (System.String path, FileMode mode) [0x00000] in <filename unknown>:0

at ConfigNode.Save (System.String fileFullName, System.String header) [0x00000] in <filename unknown>:0

at ConfigNode.Save (System.String fileFullName) [0x00000] in <filename unknown>:0

at Toolbar.ToolbarManager.saveSettings (ToolbarGameScene scene) [0x00000] in <filename unknown>:0

at Toolbar.ToolbarManager.saveSettings () [0x00000] in <filename unknown>:0

at Toolbar.ToolbarManager.toolbarChanged () [0x00000] in <filename unknown>:0

at Toolbar.Toolbar.fireChange () [0x00000] in <filename unknown>:0

at Toolbar.Toolbar.forceAutoSizeIfButtonVisibilitiesChanged () [0x00000] in <filename unknown>:0

at Toolbar.Toolbar.draw () [0x00000] in <filename unknown>:0

at Toolbar.ToolbarManager.OnGUI () [0x00000] in <filename unknown>:0

(Filename: Line: -1)

ArgumentNullException: Argument cannot be null.

Parameter name: key

at System.Collections.Generic.Dictionary`2[Vessel,FerramAerospaceResearch.FARGUI.FARFlightGUI.FlightGUI].TryGetValue (.Vessel key, FerramAerospaceResearch.FARGUI.FARFlightGUI.FlightGUI& value) [0x00000] in <filename unknown>:0

at FerramAerospaceResearch.FARAeroComponents.FARAeroPartModule.Update () [0x00000] in <filename unknown>:0

(Filename: Line: -1)

So I think you're going to have to try the steps here, find which find which addons or combination of addons is causing this, and note down your exact reproduction steps for a consistent crash, ie: exactly what you click, which order, how many times you have to revert to the editor, what other programs you have running and your memory levels.

Sorry I can't be of any real help on this one.

Link to comment
Share on other sites

Well, your first exception is with KOS:

That message is harmless. The settings it talks about are actually stored in the config.xml file, though, so the message needs to be corrected. There is no such thing as the TelnetMainServer.xml file.

But it's definitely not going to cause any sort of crash. When it can't find the setting it just assumes you've never caused that popup question to appear yet (the warning that you're about to activate a telnet server, and the warning if you take it off of loopback mode) and it presumes the default setting of "do remind me next time" for both of those popups.

Link to comment
Share on other sites

Thanks. The odd thing is, though, I've only been getting these crashes recently but I've had most of the mods you mention installed for ages. Tantares was more recent though, so I guess I ought to start by testing that.

Btw, is it significant that these crashes always seem to occur when I'm at about 3.2-3.3gb of RAM usage?

Link to comment
Share on other sites

Because the crashes seem to happen most frequently on my busier saves and and when I'm using larger vessels, but disabling a whole bunch of mods breaks most of my saves and most of my craft files, this becomes extremely frustrating to debug. Even doing a binary search is actually quite tricky like this :huh:

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...