The International Simutrans Forum

Simutrans Extended => Simutrans-Extended bug reports => Simutrans-Extended development => Simutrans-Extended closed bug reports => Topic started by: Jando on January 18, 2018, 10:41:34 AM

Title: Crashes on map rotation
Post by: Jando on January 18, 2018, 10:41:34 AM
I see unexpected crashes as well (latest nightly, 32-bit version).

Always happened to me after unpausing the game after making changes to routes/stops/etc while in pause mode. Tried to narrow it down by pausing/unpausing the game after each little step. Turned out that rotating the map while the game is unpaused causes a crash 1-3 seconds after rotating. Rotating the game in pause mode does not cause a crash after rotating but a few seconds after you unpause the game after rotating. Seems consistent, happens on multiple of my maps.

How to reproduce:
1. You can use this saved game: http://files.simutrans.com/index.php/s/Rt7rFZLu9LWI46o
2. Let the game run a few seconds.
3. Rotate the map. A few seconds after rotating the game will crash for me.
Title: Re: Crashes on map rotation
Post by: jamespetts on January 18, 2018, 10:51:30 AM
Thank you for your report. I have split this from the other topic as the two issues do not appear to be the same, as this is specifically connected to rotating the map.

I think that I have now found and fixed the problem; I should be grateful if you could test to confirm with to-morrow's nightly build.
Title: Re: Crashes on map rotation
Post by: Jando on January 18, 2018, 11:55:42 AM
Thanks, James, I'll test tomorrow and report back.
Title: Re: Crashes on map rotation
Post by: Jando on January 19, 2018, 10:29:29 AM
Rotating the map still crashes the game, James.
Title: Re: Crashes on map rotation
Post by: jamespetts on January 19, 2018, 10:30:56 PM
Due to a compile error, the nightly version did not update last night. I have now fixed the compile error and updated it manually; I should be grateful if you could re-test.
Title: Re: Crashes on map rotation
Post by: Jando on January 22, 2018, 06:06:39 PM
Awfully sorry, still seeing crashes on rotation with latest nightly build.
Title: Re: Crashes on map rotation
Post by: jamespetts on January 22, 2018, 09:18:35 PM
This appears to have been a separate issue, but I think that I have fixed this now: I should be grateful if you could re-test and confirm with to-morrow's nightly build.
Title: Re: Crashes on map rotation
Post by: Jando on January 23, 2018, 10:29:22 AM
Thank you very much, James. That is looking good now.
Title: Re: Crashes on map rotation
Post by: jamespetts on January 23, 2018, 11:46:35 AM
Splendid, thank you for confirming.