News:

Simutrans Sites
Know our official sites. Find tools and resources for Simutrans.

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

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.

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: