Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game hangs deleting duplicate flight plan #3782

Closed
lpgagnon opened this issue Oct 23, 2023 · 2 comments · Fixed by #3784
Closed

Game hangs deleting duplicate flight plan #3782

lpgagnon opened this issue Oct 23, 2023 · 2 comments · Fixed by #3784
Milestone

Comments

@lpgagnon
Copy link

lpgagnon commented Oct 23, 2023

Initial state: in transfer orbit with flight plan to perform circularization burn to geostationary

steps: 3 mouse clicks: Duplicate the flight plan, Delete the maneuver, Delete the flight plan.
result: game hangs. no crash, just complete UI freeze, game must be terminated manually. (audio keeps going though)

deleting without duplicating is fine.

interesting bits of error.log, matching time of freeze:

E1022 20:40:42.578752 42250880 interface_body.hpp:484] Reached maximum step count 4096 at time 1955-07-15T22:54:47,0044832229614258 (TT); requested t_final is 1955-07-29T09:31:47,4859068393707275 (TT).
E1022 20:40:42.958879 3438059520 matrix_computations_body.hpp:479] Difficult diagonalization: rows: 4 columns: 4
[snip]

bug is 100% reproducible; journal (and logs) attached (10MB zipped, 38MB unzipped).
principia_hang.zip

extra oddity; after creating journal, killing the game and restarting it, journaling was enabled from the start. not sure if that's deliberate; could have done bad things to my drive if I hadn't noticed.

@pleroy
Copy link
Member

pleroy commented Oct 25, 2023

Thank you, Mario! But our bug fix is in another branch! 🍄🍄

(Turns out that we found the bug, but we fixed in it the branch that has flight plan optimization, and that branch is not merged yet.)

@pleroy pleroy added this to the 賈憲 milestone Oct 25, 2023
@pleroy
Copy link
Member

pleroy commented Oct 26, 2023

I forgot to reply regarding "journaling was enabled from the start". This is by design, it has proven helpful to debug problems that happen very early when starting the mod/loading the save. If you forgot to disable journaling, slap yourself in the face.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants