The International Simutrans Forum

Simutrans Extended => Simutrans-Extended bug reports => Simutrans-Extended development => Simutrans-Extended closed bug reports => Topic started by: zook2 on February 23, 2021, 08:11:59 PM

Title: Client crash when changing Player
Post by: zook2 on February 23, 2021, 08:11:59 PM
On the BB server today I've upgraded a few runways of defunct Wykstoke, then immediately clicked the Player button to change companies. Due to several seconds of UI lag, the upgrade had not been displayed yet. That seems to have caused my client to crash. I didn't check if the server was down too, though. That was about 9 hours ago.
Title: Re: Client crash when changing Player
Post by: jamespetts on June 03, 2021, 05:27:48 PM
Thank you for your report. This sort of bug is very hard to track down without a reliable reproduction case, I am afraid.
Title: Re: Client crash when changing Player
Post by: RESTRICTED ACCOUNT on February 13, 2022, 10:02:47 PM
In my experience this only seems to happen after I've been playing for a while. I've been trying to open various GUIs and change the player immediately after launching the game, but I've never been able to reproduce this bug with those, so it's hard to pinpoint a reliable way to reproduce it.
Title: Re: Client crash when changing Player
Post by: svnp on March 17, 2022, 11:14:00 AM
Same, does not happen when it was not long after launch.
Title: Re: Client crash when changing Player
Post by: jimishol on July 24, 2022, 03:54:53 PM
I play single games in large map 1536x1536. Specially in start of new games i use frequently the GUI box to change players, so i become public player. Once in 4 or 5 changes of the player, the game freezes, so i have to hard kill it (sending SIGKILL), or crashes with Sigmund Freud problem with the other player. Actually the only i see in terminal is the not informative
Quote/bin/bash: line 1: 10808 Segmentation fault      (core dumped) ./simutrans-extended
For this reason i compiled from source. I experience the same problem but, may be, may be i am not sure, a little more rarely. What i really do is to save every time before using the change player feature. Saved games never have problems. So, yes there is no proper sve save to reproduce the crashes and there is no more information in terminal, but it is a problem one can easily handle.
I confirm the some time crash and almost equal times freeze problem when one changes the player.

Reading Ranran post, I want to add that after reloading the saved game the change player feature never had problem. I can surely change player and what ever i like. The problem occurs only after some playing time.say 5, 10 or 15 minutes or whatever after reloading.
Title: Re: Client crash when changing Player
Post by: ceeac on September 04, 2022, 05:12:02 PM
PR#569 should fix this bug.
Title: Re: Client crash when changing Player
Post by: jamespetts on September 04, 2022, 09:51:50 PM
Thank you - now incorporated.