Skip to main content
Topic: Crashes when create map larger than 1152x1152 (Read 20134 times) previous topic - next topic

Crashes when create map larger than 1152x1152


When creat map larger than 1152x1152,it will crash like the screen,so i only can play a map max. size 1152x1152
1280x1280 or higher will crash........can i solve it?thanks all!
[simutrans 101]

Re: Crashes when create map larger than 1152x1152

Reply #1
Hm, i  cant see the sreenshot.

Maybe your pc runs out of performance?

For better help you should post more details: simutrans version, pakset and so on

edit: now i see it

hm  something went wrong with the monuments (Denkmäler)

Try downloading a new executeable , i'd say.

Re: Crashes when create map larger than 1152x1152

Reply #2
Map size should not be the cause of this problem. I was able to create a map 1280x1280 under pak128 with 101.1 r2310 without errors. But like mobo said: the error message hints at some other problem. What settings did you use for map creation besides overall size?
  
***** PAK128 Dev Team - semi-retired*****

Re: Crashes when create map larger than 1152x1152

Reply #3
There is at least one unrelated bug here: The ****ert(...) has a side-effect, so compiling with -DNDEBUG will make the program behave differently!  See the attached patch.

Ansgar

Re: Crashes when create map larger than 1152x1152

Reply #4
i think i found the problem....some addon .pak cause this problem,i need to remove it out one by one and start a new map............but i can sure it is building.xxxxxx.pak's problem

Re: Crashes when create map larger than 1152x1152

Reply #5
now i use the original pak folder to create a new big map,after create a new map,put back all the addon file to pak folder,than load the game,so i can use all downloaded addon,anyway thank all for help!

Re: Crashes when create map larger than 1152x1152

Reply #6
THanks ansgar, since all release are with debug code, this was not spotted.

Re: Crashes when create map larger than 1152x1152

Reply #7
There is at least one unrelated bug here: The ****ert(...) has a side-effect, so compiling with -DNDEBUG will make the program behave differently!  See the attached patch.

Ansgar

how can i use this patch?


Re: Crashes when create map larger than 1152x1152

Reply #9
now always crashed when playing.........

Re: Crashes when create map larger than 1152x1152

Reply #10
Wich nightly-Version do you use?
I hope you understand my English

Re: Crashes when create map larger than 1152x1152

Reply #11
@spm:

The pak-set may also matter - is it still Pak128, which you wrote in an older topic, or another? And the operating system may play a role.

You mentioned add-ons - which ones are these? One of them could cause the problem, be it by triggering a bug in Simutrans or by being broken.

If you start Simutrans with parameters "-log -debug 3", the last dozen lines of simu.log may contain a useful error message after a crash occurred.