-
Notifications
You must be signed in to change notification settings - Fork 67
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 clicking "Optimize" #3822
Comments
On the face of it, it looks like it's accessing some random piece of memory. I could imagine a confusion regarding passing values vs. references across the C#/C++ boundary, but then it works on Windows. I wonder if it is specific to macOS. @rnlahaye Have you ever tried pressing the Optimize button? |
I have not tried it yet. I will do so and see what happens. |
Tried it; no crashes. |
fwiw, it wasn't a one-off; different vessel, different target (earth->moon), same crash. new journal, maybe having two to compare will help it does have the look of random data, the "extension" keeps changing. |
@rnlahaye This is going to be a strange request: how do you build Principia on macOS? @eggrobin recently purchased a mac mini 2023 with an M2 for other reasons, and when trying for 10 minutes to build Principia on that machine we have tons of errors related to ARM vs. Intel inconsistencies. If you have a recipe that works, we'd appreciate if you could share it. (In case you wonder, for releasing we build on Azure pipelines where the underlying machine is an x64.) @lpgagnon What machine do you have? Is it ARM-based? It doesn't seem impossible that the bug would actually depend on the hardware/ABI. |
You need to update your fork of Abseil to include this commit (otherwise you encounter this bug). |
M2 2022 macbook air |
Thank you for helping us help you help us all... 🟠🔵 We reproduced the bug on an M2. It happens that |
Still not working:
Presumably the structs that contain a |
first attempt to use the optimizer in post-hotfix Jordan did not go well. Getting a reproducible crash; journal attached.
context: vessel just reached LEO; plotted maneuver for transfer to Mercury intercept, saved, clicked Optimize to see what it would do. crash to desktop, with principia assertion failure:
restarted game, loaded same save, click Optimize: same result, 100% reproducible, making a journal easy to produce.
journal & log files, 29MB zip
The text was updated successfully, but these errors were encountered: