[Tobias][2.0.10] Crash attaching rolling stock (Rail.cpp:181: this->state == RailConnectionDirection::None was not true)

This subforum contains all the issues which we already resolved.
ZombieZilla
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Mar 15, 2019 11:11 pm
Contact:

[Tobias][2.0.10] Crash attaching rolling stock (Rail.cpp:181: this->state == RailConnectionDirection::None was not true)

Post by ZombieZilla »

Hi, bit of a unique issue but I figured I'd report it anyway.

It appears that when there is absolutely zero space between a train, wagon and another perpendicular wagon, trying to connect rolling stock will force a crash.

Video of reproduction
crashclip.mp4
(24.83 MiB) Downloaded 35 times
Steps to reproduce.
1. Load save in version 2.0.10
2. Drive green train south until it collides with perpendicular wagon
3. Disconnect rolling stock from green train
4. Connect rolling stock in red train
5. Connect rolling stock in red train again
6. Observe CTD

Attached blueprint


Savefile and log attached to post
Attachments
factorio-current.log
(8.06 KiB) Downloaded 18 times
TESTING2.zip
(6.08 MiB) Downloaded 19 times
robot256
Smart Inserter
Smart Inserter
Posts: 1006
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: [2.0.10] Crash attaching rolling stock (Rail.cpp:181: this->state == RailConnectionDirection::None was not true)

Post by robot256 »

Confirmed that this still happens in 2.0.15 when done exactly like in the video. (Drive Green forward until collision, press K, get in Red, press J twice, crash)
Tobias1595
Factorio Staff
Factorio Staff
Posts: 40
Joined: Sat Sep 29, 2018 5:28 pm
Contact:

Re: [Tobias][2.0.10] Crash attaching rolling stock (Rail.cpp:181: this->state == RailConnectionDirection::None was not t

Post by Tobias1595 »

Thanks for the report. A fix for this issue will arrive in version 2.0.21.
Post Reply

Return to “Resolved Problems and Bugs”