The International Simutrans Forum

 

Author Topic: [Bug] Linux Segmentation fault  (Read 1902 times)

0 Members and 2 Guests are viewing this topic.

Offline michal.

  • *
  • Posts: 4
[Bug] Linux Segmentation fault
« on: July 13, 2019, 09:52:47 AM »
Hi,

First of all, thanks everyone for creating Extended, it is truly an exceptional game!

1.) System specs (CPU, memory, graphics, sound, operating system,
preferred screen resolution):
-> Fedora 30

2.) Simutrans version:
-> nightly version 2019-07-13

3.) Description of the found problem:
-> Game crashes with Segmentation fault (core dumped).
The Last error listed in simu.log is "ERROR: void convoi_t::laden(): Trying to load at halt UK Birmingham when not at a halt". However, I am not sure it is related to the game crash.

4.) How can this problem be reproduced?
-> Run attached game and just wait for about 30 seconds until game time Jan 20:36. Unfortunately, I haven't noticed any unusual edits beforehand and wasn't able to backtrack any particular change causing the crash.

game save: https://simutrans-germany.com/files/upload/862.1.2.test.sve
simu.log: https://simutrans-germany.com/files/upload/sigsegv_simu.log.txt

Offline ACarlotti

  • *
  • Posts: 474
Re: [Bug] Linux Segmentation fault
« Reply #1 on: July 24, 2019, 10:30:13 PM »
Unfortunately I cannot download the save - can you try reuploading it (and check that you can access it yourself)?

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18683
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [Bug] Linux Segmentation fault
« Reply #2 on: July 27, 2019, 10:00:07 PM »
I also cannot download this: I think that the files expire after a few days. If you could re-upload it, that would be very helpful.

Offline michal.

  • *
  • Posts: 4
Re: [Bug] Linux Segmentation fault
« Reply #3 on: August 02, 2019, 07:33:51 AM »
Thank you very much for your feedback. I've reuploaded the files again to https://simutrans-germany.com/files/ . Files are named sigsev_error_*.

There is als a new save attached (sigsev_error_2) that causes the same sigsegv crash at 36:47 game time. The common feature is that both errors appeared after the game was paused for a long time with numerous line and infrastructure changes. I was introducing freight transport at the first one and changing all tram lines at the second one. Yet nothing suggested any problem beforehand.

It's interesting that the crash happens every time I load the games, but the exact time fluctuates a little: once it crashes at 36:47, second time at 36:30 and so on.

I'll be happy to assist in any way :)

And if the file share fails again, copies are placed at
https://uploadfiles.io/hjeuqazl
https://uploadfiles.io/v5pcbozm
https://uploadfiles.io/t24vte6c
https://uploadfiles.io/95hj1l9e

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18683
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [Bug] Linux Segmentation fault
« Reply #4 on: August 03, 2019, 10:49:04 AM »
Thank you for that. I believe that I have now fixed this issue: I should be grateful if you could re-test with to-morrow's nightly build.

Offline michal.

  • *
  • Posts: 4
Re: [Bug] Linux Segmentation fault
« Reply #5 on: August 06, 2019, 06:32:23 AM »
Everything works now indeed. Many thanks, James!