The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Simutrans-Extended bug reports => Topic started by: Phystam on February 03, 2020, 06:19:38 PM

Title: Segfault when loading save data as a server
Post by: Phystam on February 03, 2020, 06:19:38 PM
Hello,

I tried to establish a server game using pak256, but I failed. When loading a large map, segfault occurred. Without -server flag, I could load the map. This problem is seen in the master branch and citycar branch both.

used pakset is here:
https://cdn.discordapp.com/attachments/486564165536710666/673903695397650492/pak256-14.8.zip (https://cdn.discordapp.com/attachments/486564165536710666/673903695397650492/pak256-14.8.zip)

used save data is here:
https://cdn.discordapp.com/attachments/665986412641779712/673953727454904359/pak256-ns-save.zip (https://cdn.discordapp.com/attachments/665986412641779712/673953727454904359/pak256-ns-save.zip)

segfault message with master branch:
(https://cdn.discordapp.com/attachments/665986412641779712/673955725835501578/unknown.png)
Title: Re: Segfault when loading save data as a server
Post by: Vladki on February 03, 2020, 06:28:56 PM
What's the exact commad line used?
Title: Re: Segfault when loading save data as a server
Post by: Phystam on February 03, 2020, 06:43:29 PM
I started to run it on gdb for mingw64 compiler, and typed:

run -server

I selected the pakset by clicking, and automatically loaded the last save data (which is newly created map).
Title: Re: Segfault when loading save data as a server
Post by: jamespetts on February 03, 2020, 09:07:47 PM
Can I check whether this saved game was created in the private car or the master branch? I cannot load it in either, but I have just changed the private car branch and it is no longer compatible with earlier saved games from the branch.
Title: Re: Segfault when loading save data as a server
Post by: Phystam on February 04, 2020, 04:03:45 AM
This file is made by the latest master branch:
https://cdn.discordapp.com/attachments/665986412641779712/674102251425366016/pak256-ns-save-masterbranch.zip (https://cdn.discordapp.com/attachments/665986412641779712/674102251425366016/pak256-ns-save-masterbranch.zip)

but still, I have the same problem. I cannot establish my server game due to the same error. However, as a local game, it can be loaded.