Project

General

Profile

Bug #3896

Broken save keeps getting broken

Added by barnaba about 10 years ago. Updated almost 10 years ago.

Status:
Duplicate
Severity:
Normal
Assignee:
-
Category:
Application
Target version:
-
Start date:
12/24/2014
% Done:

100%

Version:
Platform:
Linux
Expansion:
Language:
English (US)
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

Description

Hello,
I've been playing hard mode for a while with a bunch of mods. Somewhere after an unmanned mission to duna and before my mission to eve the save file started getting corrupted every few hours.

How is the save broken: After loading the saved career mode I get to see the KSC. There I can't click in any way (LMB nor RMB) on VAB or SPH. I can enter some buildings (notably R&D building, which works - I can research tech - but doesn't return to KSC after leaving - I get a KSC top toolbar overlayed on R&D view. At this point everything becomes unresponsive). I can enter launchpad, but editing a vessel from there makes the game unresponsive.

What I do: Get the latest persistent.sfs file backup and rename it. This works for a while, most often enough time to create one more backup, before breaking persistent.sfs file again.

How the save game gets broken: The game sort of freezes. menus become unresponsive (although there's a click animation). I have to kill it with alt-f4 or xkill and restart. This always produces a broken persistent.sfs file.

I attach the career files from the saves directory as 'beta hard.tar.gz". The current persistent.sfs file is the broken one. The KSP.log is the logfile naturally. Tree.txt is the output of 'tree ~"/.local/share/Steam/SteamApps/common/Kerbal Space Program"'. The Gamedata folder won't fit here, so I've uploaded it to dropbox: https://dl.dropboxusercontent.com/u/10621643/gamedata.tar.gz

System:
lsb_release -a:
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

uname -a: Linux fasada 3.13.0-41-generic #70-Ubuntu SMP Tue Nov 25 14:40:34 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

lspci -vvnn: in a file lspci.txt

If you need any more info, just ask.

Thanks,
Barnaba

beta hard.tar.gz (1.94 MB) beta hard.tar.gz carreer directory barnaba, 12/24/2014 11:09 PM
KSP.log (266 KB) KSP.log barnaba, 12/24/2014 11:10 PM
tree.txt (135 KB) tree.txt list of all files I have in my KSP barnaba, 12/24/2014 11:13 PM
lspci.txt (9.46 KB) lspci.txt lspci -vvnn barnaba, 12/24/2014 11:19 PM
KSP.log (137 KB) KSP.log barnaba, 12/24/2014 11:37 PM
KSP.zip (143 KB) KSP.zip Scharnvirk, 12/25/2014 02:58 PM
Stormking-2.7z (13.2 KB) Stormking-2.7z Career Folder Ineluki, 12/28/2014 07:04 AM
KSP.log (138 KB) KSP.log latest Log Ineluki, 12/28/2014 07:04 AM

Related issues

Related to Kerbal Space Program - Bug #3243: Kerbals missing from the CrewRoster but referenced from ScenarioModules or Vessels break various parts of the game.Closed09/26/2014

History

#1 Updated by barnaba about 10 years ago

Oh, some clarifications:

• The save does the exact same thing even when I unload all of the mods (clear the gamedata folder leaving only stock stuff). i.e. you get an unresponsive KSC. So you shouldn't have to bother downloading the gamedata just to reproduce.
• If I exit the save without crashing it (by entering buildings) I can start a new career that works without restarting the game.
• This I believe is stated in OP, but is crucial: loading one of the late working backups fixes the problem, but it reappears.

#2 Updated by barnaba about 10 years ago

Sorry for another update, but I've just realized that the logfile only keeps the log of one game, and the one I've provided wasn't the one with a crash.

So here's the new KSP.log and step-by-step explanation of what I did:
1. removed everything from GameData folder except NASAmission and Squad dirs.
2. started the game.
3. loaded the beta hard carrer
4. clicked through all the popups telling me that vessels haven't loaded properly, because I've removed all the mods.
4. Tried to enter VAB, nothing.
5. Entered launchpad, clicked edit.
6. Tried clicking on stuff, and nothing was responding. I was free to move the camera though.
7. alt-f4

#3 Updated by Scharnvirk about 10 years ago

  • File KSP.zip KSP.zip added
  • Status changed from New to Confirmed
  • % Done changed from 0 to 10

Confirmed on windows.

Loaded up the game from the "beta hard" save state, got some errors due to missing parts but otherwise the game has loaded correctly.
Nothing happens when I click the VAB.
I was able to enter R&D and the facility itself seems to work properly, but it is impossible to exit it. It is also impossible to quit to menu from the popup-menu which appears after pressing ESC.

The problem is especially visible in KSP.log file, which constantly adds these three lines, even through the game is currently alt-tabbed:

[EXC 21:56:19.635] MissingFieldException: Field '.EditorLogic.editorLocked' not found.
KLF.KLFManager.drawGUI ()
KLF.KLFManager.OnGUI ()

(I've included this file zipped - it has quickly grown to over 5 MB).

My mods:
Ferram Aerospace Research,
Chatterer,
KerbalEngineer,
ProcedularFairings,
TextureReplacer,
VOID

System:
Windows 7 64 bit

#4 Updated by Ineluki almost 10 years ago

The same thing happened to me on Win7 x64, so I didn't want to open a new issue.

Issues that persistently appear after loading the last save (persistent):

- When trying to exit a facility via button, the campus-gui loads, but the old gui stays in place and overlaps
- Some facilities cannot be entered at all

Reproducable: always
Version: 0.90

#5 Updated by darkdimius almost 10 years ago

I'm consistently experiencing similar problems on OS X without any mods, this breaks whole game for me, as I'm not able to do more than 10 launches before game controls break.

#6 Updated by RexKramer almost 10 years ago

Everyone, I suspect bug #3243 is the cause here. It affects all platforms.

Claw has a couple of methods of correcting the issue, you can find links from #3243. That bug begins when a Kerbal is referenced by an achievement, but then is fired, or removed from the crew roster.

If possible, please take a look at #3243, and post back here if that sounds like what may be happening to you.

Edit- Claw's fixes are not linked in 3243. I'll post a link to the location later.

#7 Updated by RexKramer almost 10 years ago

Ok, here's a link to a forum page where Claw has a description of the issue, and a couple of ways to fix it.

http://forum.kerbalspaceprogram.com/threads/105651-FIX-KSC-Buildings-Lock-Up-Can-t-Click-on-Anything-Firing-Kerbal-Crashes-Game

Again, please post back if this helps or not.

#8 Updated by barnaba almost 10 years ago

quick way to see if that's what's at fault at your save:

cat <(grep "crews =" persistent.sfs | sed -e 's/^\s*crews = //') <(grep -i "kerbalName =" persistent.sfs | sed -e 's/^\s*kerbalName = //') | sort | uniq > used
grep "KERBAL" -A2 persistent.sfs | grep name | sed -e 's/^\s*name = //' | sort | uniq > crew
diff used crew | grep '^<'

If you get any lines out of this, you have some unlisted kerbals. Adding them to the roster fixed my save.

Thanks a lot RexKramer. Unless anyone else still has a problem, I think it really is a duplicate of #3243.

#9 Updated by RexKramer almost 10 years ago

  • Status changed from Confirmed to Duplicate
  • % Done changed from 10 to 100

Glad it worked! I'm marking this one as a duplicate.

Also available in: Atom PDF