The International Simutrans Forum

 

Author Topic: Deleting a halt then viewing halt details causes client crash  (Read 99 times)

0 Members and 1 Guest are viewing this topic.

Offline Matthew

  • *
  • Posts: 507
    • Japan Railway Journal
  • Languages: EN, some ZH, DE & SQ
Deleting a halt then viewing halt details causes client crash
« on: December 20, 2020, 04:19:44 PM »
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

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20631
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Deleting a halt then viewing halt details causes client crash
« Reply #1 on: December 20, 2020, 05:09:31 PM »
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.