[kovarex] [0.17.52] Crash on saving with specific rail signal placement: "RailSignalBase::checkConsistency"

This subforum contains all the issues which we already resolved.
Dupl3xxx
Inserter
Inserter
Posts: 40
Joined: Sat Mar 07, 2015 6:50 pm
Contact:

[kovarex] [0.17.52] Crash on saving with specific rail signal placement: "RailSignalBase::checkConsistency"

Post by Dupl3xxx »

Making this setup and then placing rail signals in the white spots will allow signals to be placed. When the game saves, this causes the game to crash. Both auto-save and manual saving will crash the game. Tested on different systems to be sure. Screenshot of setup and log attatched.

Normal setup, allows for wrong signal placement.
Image

Signals placed in the wrong spot. This causes crash when saving.
Image
Attachments
factorio-current.log
(9.84 KiB) Downloaded 97 times

bitbyte
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat May 25, 2019 5:31 pm
Contact:

Re: [17.52] Crash when saving with wrong rail signal placement

Post by bitbyte »

Possibly relevant to [0.17.50] Signal placement at rail divergence

It appears that the invalid signals be placed in 4 positions, dependent on the curved rail direction.
Image
Valid signals can be placed around it, as expected, but placing one on the same tile appears not to split the train block, and only one of the two signals interacts properly with trains.
The game autosaving appears to crash the game, and result in a partial, corrupted autosave. However contrary to duplex, a manual save appears to complete fine.
Attachments
_autosave1.tmp.zip
The corrupted autosave
(1.17 MiB) Downloaded 80 times
invalid_signal.zip
A save file of the screenshot above
(1.61 MiB) Downloaded 81 times
factorio-crash.log
(8.08 KiB) Downloaded 112 times

Dupl3xxx
Inserter
Inserter
Posts: 40
Joined: Sat Mar 07, 2015 6:50 pm
Contact:

Re: [17.52] Crash when saving with wrong rail signal placement

Post by Dupl3xxx »

Re-checked, and I cannot manually save.
Attachments
factorio-current.log
Placed the one extra wrong signals and tried to save as 'crash-test-4.zip'.
(10.05 KiB) Downloaded 117 times
crash-test-3.zip
Save-file from setup. Fresh world, no mods, enabled /editor, placed a chest with 100 rail, 50 normal and 50 chain signals. Exited editor mode and made the setup as shown in these screenshots.
(1.77 MiB) Downloaded 80 times
This setup is fine, does not crash when saving.
This setup is fine, does not crash when saving.
Untitled.png (874.7 KiB) Viewed 2161 times
This setup crashes my game when saving manually.
This setup crashes my game when saving manually.
Untitled.png (1.85 MiB) Viewed 2161 times


kovarex
Factorio Staff
Factorio Staff
Posts: 8195
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [kovarex] [0.17.52] Crash on saving with specific rail signal placement: "RailSignalBase::checkConsistency"

Post by kovarex »

Thanks for the report, this is now fixed for the next release.

Post Reply

Return to “Resolved Problems and Bugs”