Jump to content

Crashing after a couple of scene changes


Recommended Posts

I'm playing KSP 1.8.1 with a relatively large modpack and, as stated in the title, the game crashes after a couple of scene changes. My modlist is as follows:

Spoiler

000_ClickThroughBlocker
000_FilterExtensions
000_FilterExtensions_Configs
000_TexturesUnlimited
000_Toolbar
000_USITools
001_ToolbarControl
AJE
ARPIcons
ASET
ATK_Propulsion_Pack
B9AnimationModules
B9PartSwitch
B9_Aerospace
B9_Aerospace_ProceduralWings
BetterBurnTime
Chatterer
Coatl Aerospace
CommunityCategoryKit
CommunityResourcePack
CommunityTechTree
ConnectedLivingSpace
ContractConfigurator
CryoEngines
CryoTanks
CST-100
CustomBarnKit
CustomPreLaunchChecks
DecayingRTGs
DeployableEngines
DistantObject
DMagicOrbitalScience
DMagicScienceAnimate
DMagicUtilities
DynamicBatteryStorage
EngineGroupController
EngineLightRelit
EnvironmentalVisualEnhancements
ExtraplanetaryLaunchpads
FerramAerospaceResearch
Firespitter
FShangarExtender
FTLDriveContinued
HeatControl
HideEmptyTechTreeNodes
HullCameraVDS
InterstellarFuelSwitch
JanitorsCloset
JSI
KAS
KerbalAtomics
KerbalConstructionTime
KerbalEngineer
KerbalFoundries
Kerbalism
KerbalismConfig
KerbalJointReinforcement
KerbalKonstructs
KerbalReusabilityExpansion
KerbalStats
Kerbaltek
KIS
Kopernicus
kOS
KronalVesselViewer
KSCSwitcher
KSP-AVC
KSPWheel
LackMisc
MagiCore
MagicSmokeIndustries
MechJeb2
ModularFlightIntegrator
ModularLaunchPads
NavyFish
NearFutureConstruction
NearFutureElectrical
NearFutureExploration
NearFutureLaunchVehicles
NearFutureProps
NearFuturePropulsion
NearFutureSolar
NearFutureSpacecraft
NEBULA
PatchManager
PersistentRotation
PhotonSail
PhysicsRangeExtender
PlanetaryBaseInc
PoodsSkyboxes
PreciseManeuver
ProceduralFairings
ProceduralFairings-ForEverything
ProceduralParts
RCSBuildAid
RealAntennas
RealChute
RealFuels
RealHeat
RealismOverhaul
RealISRU
RealPlume
RealSolarSystem
ReentryParticleEffectRenewed
REPOSoftTech
ROCapsules
ROEngines
ROLib
ROSolar
ROTanks
RP-0
RSS-Textures
RSSDateTime
RSSVE
SCANsat
scatterer
SmokeScreen
SolverEngines
Stock folder: Squad

SSTU
StationPartsExpansionRedux
Stockalike_Inclinations
TarsierSpaceTech
TestFlight
TextureReplacer
TrackingStationEvolved
Trajectories
TriggerTech
TundraSpaceCenter
TweakScale
TWRLS
UmbraSpaceIndustries
UnKerballedStart
VaporVent
VenStockRevamp
WarpPlugin
ZeroMiniAVC
zzPatches
zzzContracts
999_Scale_Redist.dll
ModuleManager.4.1.3.dll
ModuleManager.ConfigCache
ModuleManager.ConfigSHA
ModuleManager.Physics
ModuleManager.TechTree

Note: the above list doesn't include RealExoplanets and RealExpansion, which I sinced removed to test for the culprit.

Most of the crashes I've had seem to point out a method located in scatterer.ScattererCelestialBodiesManager.findCelestialBodies(), which then calls a default Unity method called UnityEngine.Object.FindObjectsOfType(). Now, I posted this issue to the mod's GitHub page and, as I ended up agreeing with, the author said this problem was impossible to solve for the time being, as the memory access violation occured deep within the Unity engine internals. Memory usage on all those crashes was at about 75~80% of the total, which is not unusual for my regular playsessions.

So, in any case, this is really a matter of speculation. Could the problem be caused by a broken planet pack - either Real Exoplanets or Real Expansion? High memory usage that increases the likelihood of threads stomping on eachother's feet? Some obscure issue with Kopernicus? The crashes aren't exactly deterministic, so I'm inclined to believe in something related to memory management. I run the game on a laptop with 16 Gb of RAM.

Link to comment
Share on other sites

I am running across the same problem with scatterer.

 

 

  

Scatterer unfortunately still crashes the game for me after scene changes, despite running v.0.0610 (as seen below in KSP.log).

[LOG 19:14:26.849] [AddonLoader]: Instantiating addon 'Scatterer' from assembly 'scatterer'
[LOG 19:14:26.851] [Scatterer][Debug] Core instance created
[LOG 19:14:26.851] [Scatterer][Info] Version:0.0610
[LOG 19:14:26.851] [Scatterer][Info] Running on Direct3D 11.0 [level 11.1] on Windows 10  (10.0.0) 64bit
[LOG 19:14:26.851] [Scatterer][Info] Game resolution 2560x1440
[LOG 19:14:26.851] [AddonLoader]: Instantiating addon 'ShaderProperties' from assembly 'scatterer'

It runs just fine for about an hour and then crashes upon scene change.

The last line in KSP.log before the crash is:

[LOG 20:48:17.846] [AddonLoader]: Instantiating addon 'Scatterer' from assembly 'scatterer'

 

And in my error log it says:

Read from location 00000262423B70F7 caused an access violation.

Context:
RDI:    0x0000000000000000  RSI: 0x00000261ec97bdb0  RAX:   0x0000000000000000
RBX:    0x0000000000000001  RCX: 0x00000262423b70a0  RDX:   0x0000000000000000
RIP:    0x00007ffd3e3485e6  RBP: 0x000000dd07b7dc40  SegCs: 0x0000000000000033
EFlags: 0x0000000000010202  RSP: 0x000000dd07b7dbe0  SegSs: 0x000000000000002b
R8:     0x00007ffd3d650000  R9:  0xfffffffffffffff0  R10:   0x00000000000a62f0
R11:    0x000000dd07b7dba0  R12: 0x0000000000000000  R13:   0x0000000000000001
R14:    0x0000000000003233  R15: 0x0000025f7e3ad0a0


Bytes at CS:EIP:
0f b6 41 57 48 8b d9 3c ff 0f 85 96 00 00 00 80 

...

ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF68ACF11F2)
0x00007FF68ACF11F2 (KSP_x64) (function-name not available)
0x00007FFD99CF7974 (KERNEL32) BaseThreadInitThunk
0x00007FFD9A71A271 (ntdll) RtlUserThreadStart

 

I am running KSP 1.9.1, with about 200 mods installed through CKAN (all the most common ones). 

Although while quite a few mods are the same, there are also many differences between our mod-lists. But as written above, it seems to be related to scatterer causing an access violation.

I am not sure whether that is down to some mod conflicting with scatterer or whether it is scatterer running into memory problems.

Edited by FasterThanFlourite
Link to comment
Share on other sites

  • 2 weeks later...

After removing some of the mods, I have now about 20 less and the crashes seem to have gone away.

Likely it was caused by an incompatible mod. Probably one of these:

  • AtmosphereAutopilot
  • CommNet Constellation
  • CommNet Manager
  • CommNet Relays
  • Contract Pack: Giving Aircraft a Purpose
  • Contract Pack: Kerbal Academy
  • Decal Stickers
  • Double Tap Brakes
  • Engine Lighting
  • Engineering Roles - Final Frontier Ribbon Pack
  • EVA Handrails Continued
  • Firespitter Resources config
  • Hangar Extender
  • KSP Rank Ribbons - Final Frontier Add-On
  • Lithobrake Exploration Technologies
  • Near Future Propulsion Extras: Hydrogen NTR Configs
  • NEBULA Decals Continued
  • Operations Roles - Final Frontier Ribbon Pack
  • Persistent Thrust
  • QuickBrake
  • QuickContracts
  • QuickHide
  • QuickMute
  • RasterPropMonitor
  • RasterPropMonitor Core
  • RLA Stockalike
  • Science Roles - Final Frontier Ribbon Pack
  • Smart Parts
  • STM's Expedition Ribbons - Final Frontier Ribbon Pack
  • Surface Experiment Pack

 

 

Edited by FasterThanFlourite
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...