-
-
Notifications
You must be signed in to change notification settings - Fork 385
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
Crash Trader.lua #5653
Comments
@Max5377 I believe you have or are addressing this issue as part of your bugfix PRs? |
@Web-eWorks Yes, but I haven't done PR to fix this yet. I mentioned this issue first here and the cause and possible solution for this here. |
I also experienced the issue, did some testing, and came up with a route through Barnard's system that will consistently reproduce the issue -- see below for details and game saves. I then tried the same test route with the suggested PR #5657. Unfortunately, this PR does not seem to fix the problem: the crash still happens, although it takes a little longer to appear. The test routeI used the following tour through Barnard's star system. Important (probably, as this is supposed to be connected to saving): After completing each stage,
The stages were
Results
I also checked that this is reproducible, by rerunning the whole test route from stage 1. Interestingly, one such rerun for PR #5657 yielded the crash already at stage 4, just as in master. Another rerun then made it again into stage 6. |
@cwyss If you loaded old save with (#5657) then it will not work, because this uses different array to get objects when saving and loading the game. |
When doing the test with #5657, I did not use an old save, but started again from scratch with "New Game" from the main menu. That is, I did the whole test route in #5657, as described.
That's of course much easier :-) |
@cwyss Yeah, looks like something happens when the game gets saved second time and more in the same system. Sometimes save gets corrupted so bad that it can't even find json key when loading it for objects (for now, it's mainly |
Observed behaviour
sometimes on mission
Expected behaviour
Steps to reproduce
My pioneer version (and OS):
![pioneerbug1](https://private-user-images.githubusercontent.com/51317099/278886237-8c85fb4d-4316-4363-bc4c-f44493b95cfb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMDIwODksIm5iZiI6MTczOTMwMTc4OSwicGF0aCI6Ii81MTMxNzA5OS8yNzg4ODYyMzctOGM4NWZiNGQtNDMxNi00MzYzLWJjNGMtZjQ0NDkzYjk1Y2Zi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gmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.-yCOe5UQv-UQF744c3mRNmeX0c1qbHdHbgVLHrRfu7s)
Linux Kubuntu last Kernel
and last Git Pioneer
My output.txt (required) and game save (optional, but recommended)
I can't find output.txt but I have a backup just before the bug
The text was updated successfully, but these errors were encountered: