The International Simutrans Forum

Community => Simutrans Help Center => Topic started by: spm on February 08, 2009, 02:05:40 pm

Title: Crashes when create map larger than 1152x1152
Post by: spm on February 08, 2009, 02:05:40 pm
(http://2uploadhk.com/upload/imgfiles/1234102102.JPG)
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]
Title: Re: Crashes when create map larger than 1152x1152
Post by: mobo on February 08, 2009, 02:16:59 pm
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.
Title: Re: Crashes when create map larger than 1152x1152
Post by: DirrrtyDirk on February 08, 2009, 03:17:45 pm
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?
Title: Re: Crashes when create map larger than 1152x1152
Post by: ansgar on February 08, 2009, 04:10:15 pm
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
Title: Re: Crashes when create map larger than 1152x1152
Post by: spm on February 09, 2009, 03:17:23 am
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
Title: Re: Crashes when create map larger than 1152x1152
Post by: spm on February 09, 2009, 06:51:48 am
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!
Title: Re: Crashes when create map larger than 1152x1152
Post by: prissi on February 09, 2009, 10:37:48 am
THanks ansgar, since all release are with debug code, this was not spotted.
Title: Re: Crashes when create map larger than 1152x1152
Post by: spm on March 11, 2009, 11:40:27 am
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?
Title: Re: Crashes when create map larger than 1152x1152
Post by: vilvoh on March 11, 2009, 11:45:40 am
Check the latest nightly build at http://simutrans-germany.com/~nightly/simutrans/ (http://simutrans-germany.com/~nightly/simutrans/)
Title: Re: Crashes when create map larger than 1152x1152
Post by: spm on March 11, 2009, 12:44:52 pm
now always crashed when playing.........
Title: Re: Crashes when create map larger than 1152x1152
Post by: wernieman on March 11, 2009, 04:19:38 pm
Wich nightly-Version do you use?
Title: Re: Crashes when create map larger than 1152x1152
Post by: whoami on March 12, 2009, 01:18:55 am
@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.