News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

Deleting a halt then viewing halt details causes client crash

Started by Matthew, December 20, 2020, 04:19:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Matthew

Steps to reproduce

1. Run today's client (2020-12-20, #f5c7274)
2. Open an existing savegame
3. Find a halt (Halt A) with only one direct connection (to Halt B)
4. Delete Halt B
5. Open Halt A's Details window and click on the Direct routes tab
6. Client will crash
The crashes will repeat whenever steps 5-6 are repeated. I speculate that this will continue until the Path Explorer refreshes the relevant route

Backtrace:

Full backtrace here

Probable cause:
The Direct routes tab is trying to display the name of a halt that no longer exists
(Signature being tested) If you enjoy playing Simutrans, then you might also enjoy watching Japan Railway Journal
Available in English and simplified Chinese
如果您喜欢玩Simutrans的话,那么说不定就想看《日本铁路之旅》(英语也有简体中文字幕)。

jamespetts

Thank you for the report - I believe that I have now fixed this. I should be grateful if you could re-test with to-morrow's nightly build.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Matthew

This bug was not fixed in December, but it is fixed now. Thank you to James, Freddy, and Ranran, who I think were all involved.  :thumbsup:
(Signature being tested) If you enjoy playing Simutrans, then you might also enjoy watching Japan Railway Journal
Available in English and simplified Chinese
如果您喜欢玩Simutrans的话,那么说不定就想看《日本铁路之旅》(英语也有简体中文字幕)。