Page 1 of 1

[0.17.47] Crash colliding trains driving backwards: !this->reservedSignalsClose.empty() not true

Posted: Sat Jun 08, 2019 12:51 pm
by Gehaktbal
Hi,

I just experienced a crash while I was driving a train backwards and an automated train ran into me at full speed. I was also driving exactly on a T-split.

Code: Select all

Stack trace logging done
10781.631 Warning Logger.cpp:510: Symbols.size() == 30, usedSize == 21
10781.632 Error TrainSignalLogic.cpp:109: !this->reservedSignalsClose.empty() was not true
Screenshot attached were it took place. I drove a bit further and was rammed while backing off.

Re: [0.17.47] Crash with colliding trains while driving backwards

Posted: Sat Jun 08, 2019 12:55 pm
by Loewchen
Post the save please.

Ref.: 71662 (should be fixed)

Re: [0.17.47] Crash with colliding trains while driving backwards

Posted: Sat Jun 08, 2019 1:02 pm
by Gehaktbal
Here is the save. From that point I went north with the train, right (end of rail) and back. A train should arrive shortly behind you.

I was also able to reproduce. The key is colliding on the T-Split and have a full on head-tail collision. Scraping a few wagons is no problem. I have it on screenshot (attached)

Re: [0.17.47] Crash colliding trains driving backwards: !this->reservedSignalsClose.empty() not true

Posted: Mon Jun 10, 2019 11:30 am
by korneel325
Had a similar error, in a similar context. (single player)

The manually driven train was driving slowly onto a large track. A full speed, 4 locomotive, 6 wagon iron ore train rammed it in the back. The game crashed on collision.
The ore train could not have stopped in time, so a collision was unavoidable. The collision should have destroyed the back locomotive, the front one (seating the player) may also have been destroyed.

The screenshot indicates the status just before the crash. I could reproduce the situation, but the error did not reoccur.
simulated situation.jpg
simulated situation.jpg (797.93 KiB) Viewed 2415 times
The save file contains the map, the player is located in the train to be destroyed, but the ore train is not present.

Re: [0.17.47] Crash colliding trains driving backwards: !this->reservedSignalsClose.empty() not true

Posted: Mon Jun 10, 2019 12:16 pm
by kovarex
Thanks for the report, it should be fixed for the next release.

Re: [0.17.47] Crash colliding trains driving backwards: !this->reservedSignalsClose.empty() not true

Posted: Mon Jun 10, 2019 4:25 pm
by Gehaktbal
Thanks, awesome work and thanks for creating such a great and stable game. :D

Re: [0.17.47] Crash colliding trains driving backwards: !this->reservedSignalsClose.empty() not true

Posted: Tue Jun 11, 2019 6:45 pm
by korneel325
Thanks!

This was only the first bug I've encountered.

Great work