Jump to content

Having "unexpected mark stack overflow" and other unexpected crashes in a modded install


Recommended Posts

Hi,

I started encountering frequent crashes since last week after installing and updating a few mods

mods.png

Initially thought this was due to "Kerbal Engineering Redux" so I uninstalled it but the crashes have continued occurring once in a while.

Here's the full log of my last session (which ended in a crash at 4:28 PM UTC+1):

https://file.io/erBRbCSa9eTq

Edited by Kerburettor
Link to comment
Share on other sites

There are various problems in the log, but it's hard to tell which ones might be serious. FAR is throwing this:

[EXC 16:28:19.888] ArgumentException: Illegal characters in path.
	System.IO.Path.Combine (System.String path1, System.String path2) (at <9577ac7a62ef43179789031239ba8798>:0)
	FerramAerospaceResearch.FARGUI.FARFlightGUI.FlightDataLogger.GetFilename () (at <5703ae4062a541a09eeee98e1716f5d5>:0)
	FerramAerospaceResearch.FARGUI.FARFlightGUI.FlightDataLogger.CreateLogger (Vessel vessel) (at <5703ae4062a541a09eeee98e1716f5d5>:0)
	FerramAerospaceResearch.FARGUI.FARFlightGUI.FlightGUI.OnStart () (at <5703ae4062a541a09eeee98e1716f5d5>:0)
	VesselModule.Start () (at <39c0323fb6b449a4aaf3465c00ed3c8d>:0)
	UnityEngine.DebugLogHandler:LogException(Exception, Object)
	ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
	UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

That's happening because these crafts have quote characters in their names, FAR is trying to use the vessel name in a file name, and you're on Windows where quote characters aren't allowed in filenames:

[LOG 16:28:19.891] [FAR v0.16.0.4]: FARVesselAero on XR6 Launcher "amphibia" (unloaded) reporting startup
[LOG 16:28:19.891] [FAR v0.16.0.4]: FARVesselAero on XR6 Launcher "amphibia" Debris (unloaded) reporting startup
[LOG 16:28:19.892] [FAR v0.16.0.4]: FARVesselAero on XR6 Launcher "amphibia" Debris (unloaded) reporting startup
[LOG 16:28:19.892] [FAR v0.16.0.4]: FARVesselAero on XR6 Launcher "amphibia" Debris (unloaded) reporting startup

At least one other mod is complaining about that as well:

[LOG 16:28:11.920] [AtmosphereAutopilot]: Serialization exception in path D:/Steam/steamapps/common/Kerbal Space Program/KSP_x64_Data/../GameData/AtmosphereAutopilot/designs/XR6 Launcher "amphibia".txt message Illegal characters in path.

So one thing to try is to only use vessel names that are also legal filenames on your operating system.

Link to comment
Share on other sites

Thanks a lot, your answer may help. I have indeed noticed strange behavior on the behalf of FAR (as in the GUI not displaying any information) but it never dawned on me that it was due to quote characters. I'll test changing the names of these crafts and report back if there's any improvement.

Link to comment
Share on other sites

  1. Copy your save files to your desktop.
  2. Save installed modpack in CKAN and put that on the desktop too.
  3. Completely uninstall KSP through Steam.
  4. Reinstall KSP through Steam.
  5. Verify the game files through Steam (right click KSP > Properties > local files > verify)
  6. Make a copy of KSP by copying Steam/steamapps/common/Kerbal Space Program and pasting that somewhere outside of Steam’s folders (desktop would do).
  7. Add that new copy to CKAN, reinstall mods using the modpack and put your saves back in.

Don’t ever put mods in the Steam copy of KSP, it just doesn’t work- Steam has a habit of breaking things and then you get weird stuff like this happening.

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...