News:

Use the "Forum Search"
It may help you to find anything in the forum ;).

Crash while extending a map

Started by Combuijs, December 18, 2016, 09:39:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Combuijs

In the current stable release (e.g. 120.1.3) I get an assert in simplan.cc 202

expression alt !=null && neu != null && !alt->is_halt()

What I do is extend a map from 1200x600 to 1200x800. I get it consistently every time, also if I change 800 to 700 or 1000.

Could not find anything similar in the forum.

Any ideas? I can provide a savegame, but I am playing with my own pak, so the download could be pretty big.

I started with a 400x200 map, previous extensions to 400x400, 800x400, 800x600, 1200x600 went without any problem.
Bob Marley: No woman, no cry

Programmer: No user, no bugs



Dwachs

There was an error report with the same failed assertion. However, it affected savegames, where townhall paks were missing and substitution failed to some degree. Could you please test this with a nightly?

Besides this, a savegame & pak is needed to be able to reproduce this.
Parsley, sage, rosemary, and maggikraut.

Combuijs

Hi Dwachs, thank you for your answer. Nightly build crashes also, which was to be expected as I don't build any new cities while extending.

Here are the pak and save game.

https://dl.dropboxusercontent.com/u/103560986/Simutrans/Veepland.sve
https://dl.dropboxusercontent.com/u/103560986/Simutrans/pak64.combuijs.zip

How to reproduce:
switch to public player (P+ icon)
map editing tools
extend map

Extend downwards (south) from 600 to 800. Set the number of cities to be built on 0. Press OK.

It crashes pretty fast, say in the first 10% of the extension procedure.

I hope you can reproduce this...
Bob Marley: No woman, no cry

Programmer: No user, no bugs



Dwachs

#3
thanks, can reproduce this

Edit: should be fixed in r7985.
Parsley, sage, rosemary, and maggikraut.

Combuijs

Thank you for your quick fix! Tomorrow I will try the nightly.
Bob Marley: No woman, no cry

Programmer: No user, no bugs



Combuijs

Yes, I can confirm it works now. The progress bar does not update from around 10%, so progress seems to stop there, but the extension continues and finishes properly within a minute.
Bob Marley: No woman, no cry

Programmer: No user, no bugs