The International Simutrans Forum

 

Author Topic: Segfault when loading save data as a server  (Read 126 times)

0 Members and 1 Guest are viewing this topic.

Offline Phystam jp

  • *
  • Posts: 380
  • Pak256.Ex developer
    • Pak256 wiki page
  • Languages: JP, EN, EO
Segfault when loading save data as a server
« 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

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

segfault message with master branch:

Offline Vladki cz

  • Devotee
  • *
  • Posts: 2906
    • My addons, mostly roadsigns, pak128.cs
  • Languages: EN, CS
Re: Segfault when loading save data as a server
« Reply #1 on: February 03, 2020, 06:28:56 PM »
What's the exact commad line used?

Offline Phystam jp

  • *
  • Posts: 380
  • Pak256.Ex developer
    • Pak256 wiki page
  • Languages: JP, EN, EO
Re: Segfault when loading save data as a server
« Reply #2 on: February 03, 2020, 06:43:29 PM »
I started to run it on gdb for mingw64 compiler, and typed:
Code: [Select]
run -server
I selected the pakset by clicking, and automatically loaded the last save data (which is newly created map).

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 19273
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Segfault when loading save data as a server
« Reply #3 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.

Offline Phystam jp

  • *
  • Posts: 380
  • Pak256.Ex developer
    • Pak256 wiki page
  • Languages: JP, EN, EO
Re: Segfault when loading save data as a server
« Reply #4 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

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.
« Last Edit: February 04, 2020, 04:31:53 AM by Phystam »