Project

General

Profile

Bug #28107

SolveClosestApproach/CheckEncounter log spam with certain patched conics settings causes crashes

Added by theaziz almost 3 years ago. Updated almost 3 years ago.

Status:
New
Severity:
Low
Assignee:
-
Category:
Settings
Target version:
-
Start date:
06/29/2021
% Done:

0%

Version:
Platform:
Windows
Expansion:
Breaking Ground, Core Game, Making History
Language:
English (US)
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

Description

On my way to Jool I prepared a maneuver node somewhere on the trajectory, focused on Tylo, set it as target and after a short while the game crashed. In fact, it crashed every time I tried to work with it. What I found in the log and console was hundreds of

CheckEncounter: failed to find any intercepts at all

After trying everything I deleted settings.cfg and that looked like a solution.

Problem is dependent on two settings. "Always show closest approach to target" and "conic patch limit". Conic patch limit too high (above 2 really) causes spam in console, most likely causing the game to crash, and turning on or off the first setting changes the output of said spam. It's either the above or

[Orbit] SolveClosestApproach: solve took too many iterations, result incorrect

Problem persists on 1.12.1
Makes creating any far encounters hard with conic limit set to only 2.
Attached the log and savefile. Orsat 1 POL is the vessel in question, although same thing happens with another one going in the same direction.

persistent.sfs (7.01 MB) persistent.sfs theaziz, 06/29/2021 10:26 PM
KSP.log (570 KB) KSP.log theaziz, 06/29/2021 10:26 PM
screenshot223.png (188 KB) screenshot223.png Always show closest approach to target theaziz, 06/29/2021 10:44 PM
screenshot224.png (1.78 MB) screenshot224.png conic patch limit >= 3 theaziz, 06/29/2021 10:44 PM
screenshot225.png (1.67 MB) screenshot225.png conic patch limit >= 4 theaziz, 06/29/2021 10:44 PM
57881
57882
57883

History

#1 Updated by theaziz almost 3 years ago

57881
57882
57883

Attaching screenshots. With the closest approach setting on, it begins to spam at patched conic limit set to 3. With the setting off, it happens at 4.

#2 Updated by jclovis3 almost 3 years ago

I could have sworn there was a bug report like this a long time ago. Specifically, the game would crash when you warp and have any ship on an intercept to one of Jools moons from outside of Jool (say a transfer from Kerbin to Bop directly). My workaround was to wait until the ship was within the SOI of Jool, set orbit, and then plot maneuvers to the moons. Not as efficient but it was better than having the game crash every time my ship entered Jool SOI with such a maneuver set.

I couldn't find any earlier bug reports that talked about this though. It has existed for quite some time.

Also available in: Atom PDF