The International Simutrans Forum

Development => Bug Reports => Topic started by: hk2030 on July 04, 2018, 08:46:33 AM

Title: "r8504" the game close by itself when I using public station tool
Post by: hk2030 on July 04, 2018, 08:46:33 AM
The problem I meet is that the game will close when I public some stations to join together. After I restart the game, the work I done between the last time save and the game close will not be save.
Title: Re: "r8504" the game close by itself when I using public station tool
Post by: Dwachs on July 04, 2018, 06:24:14 PM
I could not reproduce this. Do have a savegame, where the crash can be reproduced?
Title: Re: "r8504" the game close by itself when I using public station tool
Post by: DrSuperGood on July 05, 2018, 07:07:54 AM
It might also be crashing only under very specific useage of the make public tool. As such with screenshots or a detailed description try todescribe the station layout and where using the tool causes a crash.
Title: Re: "r8504" the game close by itself when I using public station tool
Post by: hk2030 on July 05, 2018, 11:11:55 AM
In this save, I have play with five AI player. For the best for the passenger change the bus, I use the public tool to join the station.
At the yt video, I am using the public tool, but the game stop at 0:57 and automatic close at about 1:06.
This problem is always appear when I using the "public tool" to join not a few station in a short time. And this problem is not formed at the specific station.

https://youtu.be/AHomCWu2gEI

this is my save:
https://drive.google.com/open?id=1R4c6FH0W3xMhgMGbx_Tlf76Gs8jtnuIw
Title: Re: "r8504" the game close by itself when I using public station tool
Post by: Dwachs on July 05, 2018, 11:52:07 AM
will look into this. From the video it seems that the program stopped after the make-public tool worked.

Edit: unfortunately, I do not have those addons. Can you please upload your addons or pakset folder?
Title: Re: "r8504" the game close by itself when I using public station tool
Post by: hk2030 on July 06, 2018, 07:30:33 AM
https://drive.google.com/open?id=1awi5Sa_jEGBzzdb3aqPgZbt6TPI7ZWFF

This is the pak-set I use. Thank you for help.
Title: Re: "r8504" the game close by itself when I using public station tool
Post by: Dwachs on July 06, 2018, 08:34:30 AM
Thank you! Lets see whether I can find some spare time this weekend.
Title: Re: "r8504" the game close by itself when I using public station tool
Post by: prissi on July 06, 2018, 01:08:32 PM
This is a newer version of the Hongkong map. But I could make stops public without a crash. But I suspect that some of the AI player wanted to do something with the station, and was expecting that it belongs to him. Which station did zou change before?
Title: Re: "r8504" the game close by itself when I using public station tool
Post by: Dwachs on July 07, 2018, 09:09:25 AM
The sequence of make-public clicks crashes for me reliably. The crash is at simhalt.cc, haltestelle_t::rebuild_linked_connections(), the call h->rebuild_connections() fails because h is invalid.

It appears that the last station has still a connection to a previously made public and then destroyed station.

Edit: should be fixed in r8539.
Title: Re: "r8504" the game close by itself when I using public station tool
Post by: hk2030 on July 07, 2018, 04:40:19 PM
Thank you for your help. :D