mockingbirdnest/Principia

Game Crash sometimes when using Optimizer

Ballatik opened this issue · 1 comments

Testing the maneuver optimizer button, have attempted 4 lunar transfers, 3 venus transfers, and 3 venus correction burns. Of these, 3 have caused crashes. One was likely user error in attempting to optimize a maneuver that had no dV set yet, but the other two were already reasonably close to their destinations. I did not see any obvious differences between the maneuvers that worked vs. those that caused crashes.
Worth noting, the time saved fiddling with minute corrections in maneuvers is already noticeably more than the time lost to these crashes and restarts, so thank you.
FATAL.20231030-071205.17436.log
FATAL.20231030-210628.7056.log
FATAL.20231101-075002.7576.log
INFO.20231029-191309.17436.log
INFO.20231030-204510.7056.log
INFO.20231101-063056.7576.log

Thanks for testing this version and for reporting issues.

I was able to reproduce and fix two of the crashes (Check failed: index < number_of_manœuvres() (0 vs. 0) and Check failed: 'driver' Must be non NULL). To avoid them while the new release is not out, you just need, immediately after adding or removing a manoeuvre, to change a bit the optimization parameters. Any change, no matter how small, should avoid the crashes.