Page 1 of 1

[boskid] [2.0.15] Crash loading save "Error IDWithQuality.cpp:274: consistency check failed: iron-ore, <null>" (MR)

Posted: Fri Nov 08, 2024 8:15 pm
by pinpoint
I updated our space age server instance to 2.0.15 and after the upgrade it failed to start with the message below;

Code: Select all

6.373 Error IDWithQuality.cpp:272: consistency check failed: iron-ore, <null>
6.373 Error CrashHandler.cpp:643: Received 6
I tried loading the save locally using 2.0.14, 2.0.15 and updating the mods.
Original mods:
Bottleneck Lite (1.3.0) | Editor Extensions (2.3.0) | Even Distribution (2.0.2) | Far Reach (2.0.0) | Rate Calculator (3.3.1) | Squeak through 2 (0.1.0)
Upgraded mods:
Bottleneck Lite (1.3.2) | Editor Extensions (2.3.1) | Even Distribution (2.0.2) | Far Reach (2.0.0) | Rate Calculator (3.3.2) | Squeak through 2 (0.1.2)

2.0.14, using the original mod versions > Game loads without issues
2.0.14, using upgraded mods to the latest version > Game fails to load
2.0.14, not using any mods (except space age) > Game fails to load
2.0.15, not using any mods (except space age) > Game fails to load
2.0.15, using the original mods > Game fails to load
2.0.15, using the upgraded mods to the latest version > Game fails to load

Code: Select all

42.595 Error IDWithQuality.cpp:274: consistency check failed: iron-ore, <null>
42.595 Error CrashHandler.cpp:643: Received 22

Re: [2.0.15] Crash loading save, consistency check failed: iron-ore

Posted: Fri Nov 15, 2024 8:26 pm
by boskid
At first i was thinking this will be related to 118677, however in this save file there is an arithmetic combinator at [gps=-340,138.5] near the quality iron ore contraption which is in a weird state causing the corruption: this arithmetic combinator is configured to output iron-ore signal but this signal is specified to be output without any quality. Circuit network does not allow sending signals without quality so it is crashing on consistency because of that. Exact set of mods is not relevant here, its just that when mods composition is changed then consistency checks are running.

I will have to investigate ways to make arithmetic combinator not have quality on the output slot.

11-15-2024, 21-24-00.png
11-15-2024, 21-24-00.png (415.14 KiB) Viewed 1248 times

Re: [2.0.15] Crash loading save, consistency check failed: iron-ore

Posted: Fri Nov 15, 2024 11:46 pm
by boskid
I managed to identify one interaction where it was possible to corrupt the arithmetic combinator settings exactly as happened in this save file. Good news is that this interaction will be fixed for 2.0.20. Bad news is this save file will remain corrupted. Do you want me to manually fix this save file so it loads properly?

Re: [boskid] [2.0.15] Crash loading save "Error IDWithQuality.cpp:274: consistency check failed: iron-ore, <null>"

Posted: Tue Nov 19, 2024 5:08 pm
by pinpoint
Hi Boskid, apologies for the late reply, didn't check the notify on reply.
Thanks for investigating, we managed to "fix" it earlier by removing all iron ore on Nauvis that lived in chests/ on belts, after that we could update the save to 2.0.15 and advance a little more.

If you could fix our save that would be great!, attached our latest version that as you mentioned gives the same issue with 2.0.20

Re: [boskid] [2.0.15] Crash loading save "Error IDWithQuality.cpp:274: consistency check failed: iron-ore, <null>"

Posted: Tue Nov 19, 2024 8:12 pm
by boskid
Here is a fixed save file. I had to fix 3 values in it: arithmetic combinator's at [gps=-340,138.5] had output signal misconfigured, circuit connector had corrupted output value caused by wrong parameters and and circuit network had corrupted values because of corrupted circuit connector. Please verify if this arithmetic combinator is configured properly as i just forced it to output iron-ore of normal quality.