Jump to content

Access Violation caused by Unknown (modded ksp 1.12.5)


Recommended Posts

SOLVED, i just reinstalled Dynamic Battery Storage (without changing version)

 

I have an issue with KSP, after a few minutes playing game (or when loading VAB) is crashing with unity crash handler, here's specs, modlist and full error logs:

Specs:

i5-9600kf, 16gb ddr4-3200 and 1050 ti

Spoiler

Modlist:

  1. 000_AT_Utils
  2. 000_ClickThroughBlocker
  3. 000_Harmony
  4. 000_KSPBurst
  5. 000_NiakoUtils
  6. 000_TexturesUnlimited
  7. 001_ToolbarControl
  8. 999_KSP-Recall
  9. ASET
  10. AtmosphereAutopilot
  11. B9PartSwitch
  12. BasicDeltaV
  13. Benjee10_sharedAssets
  14. BetterTimeWarp
  15. BonVoyage
  16. BoosterGuidance
  17. CameraTools
  18. CommunityCategoryKit
  19. CommunityResourcePack
  20. CommunityTechTree
  21. ConformalDecals
  22. ContractConfigurator
  23. ContractPacks
  24. CryoTanks
  25. CTTP
  26. CustomBarnKit
  27. DE_IVAExtension
  28. DeadlyReentry
  29. DecayingRTGs
  30. DECQ_R7
  31. DeployableEngines
  32. DestructionEffects
  33. DistantObject
  34. DynamicBatteryStorage
  35. EditorExtensionsRedux
  36. Endurance
  37. EngineConfigs
  38. FMRS
  39. FreeIva
  40. FShangarExtender
  41. HabTech2
  42. HabTechProps
  43. htRobotics
  44. HUDReplacer
  45. HullCameraVDS
  46. JSI
  47. KcalbelohSystem (v1.1.7)
  48. KcalbelohTextures
  49. KerbalAtomics
  50. KerbalEngineer
  51. KerbalJointReinforcement
  52. KerbalReusabilityExpansion
  53. Kerbaltek
  54. KerbalTelemetry
  55. Kerbulator
  56. Kopernicus
  57. KopernicusExpansion
  58. kOS
  59. Kronometer
  60. KWRocketry
  61. LShipPartsModern
  62. LShipPartsRequired
  63. Mechjeb2
  64. ModularFlightIntegrator
  65. ModularLaunchPads
  66. ModuleManagesWatchDog
  67. MPE
  68. NearFutureAeronautics
  69. NearFutureConstruction
  70. NearFutureElectrical
  71. NearFutureExploration
  72. NearFutureLaunchVehicles
  73. NearFutureProps
  74. NearFuturePropulsion
  75. NearFutureSolar
  76. NearFutureSpacecraft
  77. NeptuneCamera
  78. OfCourseIStillLoveYou
  79. OPM
  80. ParkingBrake
  81. PersistentRotation
  82. Planetshine
  83. PoodsOPMVO
  84. ProceduralFairings
  85. ProceduralParts
  86. ReentryParticleEffectRenewed
  87. REPOSoftTech
  88. Restock
  89. RestockPlus
  90. RestockRigidLegs
  91. RSSDateTume
  92. SCANsat
  93. Scatterer
  94. Shabby
  95. Shaddy
  96. ShipManifest
  97. Sigma
  98. SimpleAdjustableFairings
  99. SimpleAdjustableFairings-KWRocketry
  100. Singularity
  101. SmokeScreen
  102. SOYUZ_SPACECRAFT
  103. SpaceTuxLibrary
  104. Squad
  105. SquadExpansion
  106. SSTU
  107. StagedAnimation
  108. StarshipExpansionProject
  109. StarshipInterface
  110. StarshipLaunchExpansion
  111. StationKeeping
  112. StationPartsExpansionRedux
  113. StationPartsExpansionReduxIVAs
  114. Tantares
  115. Templates
  116. TheGoldStandard
  117. TrackingStationEvolved
  118. Trajectories
  119. TriggerTech
  120. TundraExploration
  121. TundraTechnologies
  122. TweakScale
  123. TweakScaleCompanion
  124. UniversalStorage2
  125. VaporVent
  126. VesselView
  127. Waterfall
  128. WaterfallRestock
  129. WildBlueIndusties
  130. XenonHallThrusters
  131. ZeroMiniAVC
  132. ZTheme
  1.  

There's link to google drive with logs:

https://drive.google.com/drive/folders/1uuJQBCi7Dc1fKLALT-QIX3Ul_ThRZA2O?usp=sharing

Edited by Wilhelm von Hermann
added spoiler, cuz modlist is beefy
Link to comment
Share on other sites

  • 2 months later...
48 minutes ago, adriangm44 said:

How did you find the solution?
I've been having this problem for months! I'll see if it works.

Probably reinstalling everything out of exasperation.

There's this nasty problem with modern storages as SSDs: any failure happening while installing something can lead to data loss due how SSD operates (read a whole macrocell, change only the bits in need to change, write the macrocell back - anything bad, you lose the whole macrocell). Lots and lots of problems related to stock Assemblies (like KSPUtil) can be fixed by verifying the installation on Steam, or just reinstalling manually.

Now,  if stock Assemblies can get corrupted due storage mishaps, so any other file too - as add'ons. So, by logical consequence, if you fixed your rig by verifying the game installation you should do the same to the add'ons installed too.

Link to comment
Share on other sites

On 8/28/2024 at 6:55 PM, Lisias said:

Probably reinstalling everything out of exasperation.

There's this nasty problem with modern storages as SSDs: any failure happening while installing something can lead to data loss due how SSD operates (read a whole macrocell, change only the bits in need to change, write the macrocell back - anything bad, you lose the whole macrocell). Lots and lots of problems related to stock Assemblies (like KSPUtil) can be fixed by verifying the installation on Steam, or just reinstalling manually.

Now,  if stock Assemblies can get corrupted due storage mishaps, so any other file too - as add'ons. So, by logical consequence, if you fixed your rig by verifying the game installation you should do the same to the add'ons installed too.

nah i just re-installed dynamic battery storage

Edited by Wilhelm von Hermann
Link to comment
Share on other sites

3 hours ago, Wilhelm von Hermann said:

nah i just re-installed dynamic battery storage

How do.you knew it was it?

How do you know there's not more corrupted files in your rig?

Link to comment
Share on other sites

1 hour ago, Wilhelm von Hermann said:

i just googled problem for 5 minutes, and in one topic somebody said "oh i solved this problem just by re-installing dynamic battery storage"

That's pretty odd. I gave a peek on the log, and DynamicBatteryStorage didn't caused any Exceptions. MJ2 was getting some (most of the time, it's being victimized by another problem and borking by colateral effect - I bet it was the cause here) and Deep Freeze:

DeepFreezer OnDestroy
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Uploading Crash Report
NullReferenceException: Object reference not set to an instance of an object
  at DF.DeepFreezer.OnDestroy () [0x000db] in <72233efaa3ee4936a15201f98fac7b68>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
UnityEngine.Object:DestroyImmediate(Object, Boolean)
UnityEngine.Object:DestroyImmediate(Object)
PartLoader:StripComponent(GameObject)
PartLoader:CreatePartIcon(GameObject, Single&)
PartLoader:ParsePart(UrlConfig, ConfigNode)
<CompileParts>d__56:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

And someone complaining about a missing RunSharp.dll before uploading a crash report:

ADDON BINDER: Cannot resolve assembly: RunSharp, Culture=neutral, PublicKeyToken=be9f22c3116c2290
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Uploading Crash Report
FileNotFoundException: Could not load file or assembly 'RunSharp, Version=1.0.0.19, Culture=neutral, PublicKeyToken=be9f22c3116c2290' or one of its dependencies

Being the reason I concluded it could be a flash storage related problem! :)

Well, if it's working, it's working. But check your KSP.log against such Exceptions now and then - sometimes they kill a thread or two inside KSP, and then some things is left unfinished, and this more than often leads to corrupted savegames.

Link to comment
Share on other sites

2 hours ago, Lisias said:

That's pretty odd. I gave a peek on the log, and DynamicBatteryStorage didn't caused any Exceptions. MJ2 was getting some (most of the time, it's being victimized by another problem and borking by colateral effect - I bet it was the cause here) and Deep Freeze:

DeepFreezer OnDestroy
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Uploading Crash Report
NullReferenceException: Object reference not set to an instance of an object
  at DF.DeepFreezer.OnDestroy () [0x000db] in <72233efaa3ee4936a15201f98fac7b68>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
UnityEngine.Object:DestroyImmediate(Object, Boolean)
UnityEngine.Object:DestroyImmediate(Object)
PartLoader:StripComponent(GameObject)
PartLoader:CreatePartIcon(GameObject, Single&)
PartLoader:ParsePart(UrlConfig, ConfigNode)
<CompileParts>d__56:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

And someone complaining about a missing RunSharp.dll before uploading a crash report:

ADDON BINDER: Cannot resolve assembly: RunSharp, Culture=neutral, PublicKeyToken=be9f22c3116c2290
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Uploading Crash Report
FileNotFoundException: Could not load file or assembly 'RunSharp, Version=1.0.0.19, Culture=neutral, PublicKeyToken=be9f22c3116c2290' or one of its dependencies

Being the reason I concluded it could be a flash storage related problem! :)

Well, if it's working, it's working. But check your KSP.log against such Exceptions now and then - sometimes they kill a thread or two inside KSP, and then some things is left unfinished, and this more than often leads to corrupted savegames.

I'm using different modpack, with KSRSS Reborn now, but thanks for info! I didn't saw any problems with my new modpack.

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