News:

Simutrans Tools
Know our tools that can help you to create add-ons, install and customize Simutrans.

r2133 - Out of memory error when loading old game

Started by z9999, November 22, 2008, 01:18:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

z9999

simutrans r2133 GDI

When I loading very old game which could read in r2124, out of memory error happens.

The game version is 86.00, 'Tram GT6N Ende' is old type tram (I think).

Quote
Message: vehicle_t::rdwr_from_convoi():   bought at 7/163.
Warning: vehikel_t::rdwr_from_convoi():   no vehicle pak for 'Tram GT6N Ende' search for something similar
Warning: waggon_t::waggon_t():   try to find a fitting vehicle for engine.
Message: vehikelbauer_t::get_best_matching():   could not find a suitable vehicle! (speed 120, weight 0)
ERROR: waggon_t::waggon_t():   no matching besch found for None!
Please report all errors to

ERROR: convoi_t::convoi_t():   Can't load vehicle and no replacement found!
Please report all errors to

FATAL ERROR: sim_new_handler()
OUT OF MEMORY
Aborting program execution ...

Please report all fatal errors to




simutrans-.exe caused an Integer Divide By Zero at location 0057f96d in module simutrans-.exe.

Registers:
eax=0000000f ebx=8000000a ecx=00000000 edx=00000000 esi=7c9501bb edi=7c95017b
eip=0057f96d esp=0023e358 ebp=0023e498 iopl=0         nv up ei pl zr ac po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000256

Call stack:
0057F96D  simutrans-.exe:0057F96D  log_t::fatal(char const*, char const*, ...)  log.cc:238
...
if(old_level>4) {
// generate a division be zero error, if the user request it
> printf("%i",15/make_this_a_division_by_zero);
make_this_a_division_by_zero &= 0xFF;
}
...

005A768A  simutrans-.exe:005A768A
005AFF43  simutrans-.exe:005AFF43  vector_tpl<koord3d>::resize(unsigned)  vector_tpl.h:38
...
if (new_size <= size) return; // do nothing

> T* new_data = new T[new_size];
if(size>0) {
for (uint32 i = 0; i < count; i++) {
...

004CBB9E  simutrans-.exe:004CBB9E  loadsave_frame_t::action(char const*)  loadsave_frame.cc:35
...
{
if(do_load) {
> welt->laden(filename);
} else {
welt->speichern(filename,false);
...

005A4AC3  simutrans-.exe:005A4AC3  WinMain  simsys_w16.cc:756
00401247  simutrans-.exe:00401247
00401298  simutrans-.exe:00401298
7C817067  kernel32.dll:7C817067  RegisterWaitForInputIdle


prissi