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

This subforum contains all the issues which we already resolved.
pinpoint
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Nov 08, 2024 3:59 pm
Contact:

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

Post 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
Attachments
age of space2.zip
(19.7 MiB) Downloaded 22 times
2.0.15.factorio-current.log
original mod versions
(11.85 KiB) Downloaded 18 times
2.0.14.factorio-current.log
without extra mods
(10.54 KiB) Downloaded 17 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3323
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

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

Post 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 1235 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3323
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

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

Post 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?
pinpoint
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Nov 08, 2024 3:59 pm
Contact:

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

Post 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
Attachments
age of space2.zip
(30.32 MiB) Downloaded 16 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3323
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

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

Post 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.
Attachments
120441-age of space2-fixed.zip
(25.92 MiB) Downloaded 17 times
Post Reply

Return to “Resolved Problems and Bugs”