The International Simutrans Forum

 

Author Topic: Game stop when rotate the camera continuously  (Read 261 times)

0 Members and 1 Guest are viewing this topic.

Offline Ranran jp

  • *
  • Posts: 298
  • Languages: ja
Game stop when rotate the camera continuously
« on: September 20, 2018, 01:22:20 PM »
Hi. (´・ω・`)
Rotating the camera continuously with this map always stops the game. It is a small size map for testing.
Open this saved game and click the map rotate button several times in succession.
This will always happen in this map even with the latest nightly builds, but for my own debug build this message was displayed.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18227
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Game stop when rotate the camera continuously
« Reply #1 on: March 10, 2019, 02:17:38 PM »
I looked into this briefly earlier to-day. The problem appears to occur when removing co-ordinates to connected attractions in certain stops in order to rewrite them with the rotated co-ordinates. The actual failure occurs deep in a template class for a hashtable (where it interacts with a memory management system called "freelist") which is not a structure that I understand, as these are low level structures unchanged from Standard, so it is very difficult for me to understand what is happening and why this is occurring.

If this occurs only on some maps, this may have to be treated as a low priority issue for the present.