News:

Simutrans Chat Room
Where cool people of Simutrans can meet up.

Win pak128 r7753 - Crash when saving

Started by BareJag, April 06, 2016, 07:14:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

BareJag

120.1.3 - r7753 Win pak128 2.6
Game started maybe a half year ago. Not more than one year ago though.

Description
Game crashes and new save becomes unusable. Crashes when trying to reload crashed save

How did I get it?
I got it two times in less than an half hour. Both times the same way.
In short I made extensive building on my transport network.

Adding and removing lots of railways, railway stations, did lots of terraforming, bought and launched ships, launched some trucks, changed some scedules, changed line for a train, renamed stations and industries.
Both times I played the game slightly diffrent. Before one crash I had created new scedules, but not before the other. More actions I did before only one of the two crashes where creating new lines, buying new trains, built a few roads, built station extensions from the "Special Construcuion Tools" menu, built harbours, renamed old lines, sent trains to depots.

I tried to upload two saves on the file sharing site, one before and one after the crash. But it didn't work.

Here's the last part of the crash log I got when I tried to reload my last crashed save
Message: vehicle_t::remove_stale_freight(): called
Message: vehicle_t::remove_stale_freight(): called
Message: convoi_t::finish_rd(): state=INITIAL, next_stop_index=1
Message: rail_vehicle_t::set_convoi(): new=23CB15A0 old=00000000
Message: rail_vehicle_t::set_convoi(): new=23CB15A0 old=00000000
Message: rail_vehicle_t::set_convoi(): new=23CB15A0 old=00000000
Message: rail_vehicle_t::set_convoi(): new=23CB15A0 old=00000000
Message: rail_vehicle_t::set_convoi(): new=23CB15A0 old=00000000
Message: rail_vehicle_t::set_convoi(): new=23CB15A0 old=00000000
Message: rail_vehicle_t::set_convoi(): new=23CB15A0 old=00000000
Message: rail_vehicle_t::set_convoi(): new=23CB15A0 old=00000000
Message: rail_vehicle_t::set_convoi(): new=23CB15A0 old=00000000
Message: rail_vehicle_t::set_convoi(): new=23CB15A0 old=00000000
Message: rail_vehicle_t::set_convoi(): new=23CB15A0 old=00000000
Message: rail_vehicle_t::set_convoi(): new=23CB15A0 old=00000000
Message: rail_vehicle_t::set_convoi(): new=23CB15A0 old=00000000
Message: rail_vehicle_t::set_convoi(): new=23CB15A0 old=00000000
Message: convoi_t::finish_rd(): next_stop_index=1
Message: simline_t::register_stops(): 2 fpl entries in schedule 23CF6850
Message: convoi_t::finish_rd(): (139) RVg D22 "Rola" registers for 85
Message: vehicle_t::remove_stale_freight(): called
Message: vehicle_t::remove_stale_freight(): called
Message: vehicle_t::remove_stale_freight(): called
Message: vehicle_t::remove_stale_freight(): called
Message: vehicle_t::remove_stale_freight(): called
Message: vehicle_t::remove_stale_freight(): called
Message: vehicle_t::remove_stale_freight(): called
Message: vehicle_t::remove_stale_freight(): called
Message: vehicle_t::remove_stale_freight(): called
Message: vehicle_t::remove_stale_freight(): called
Message: vehicle_t::remove_stale_freight(): called
Message: vehicle_t::remove_stale_freight(): called
Message: vehicle_t::remove_stale_freight(): called
Message: vehicle_t::remove_stale_freight(): called
Message: convoi_t::finish_rd(): state=ROUTING_1, next_stop_index=65535
Message: road_vehicle_t::set_convoi(): 23CB4C00
Message: road_vehicle_t::set_convoi(): 23CB4C00
Message: convoi_t::finish_rd(): v: pos(607,157,0) steps(180) len=128 ribi=12 prev (607,157) step(0)
Warning: convoi_t::finish_rd(): convoi ((141) PMNV-MHz Cabover 145) is broken => realign
Message: convoi_t::finish_rd(): next_stop_index=65535
Message: convoi_t::finish_rd(): (141) PMNV-MHz Cabover 145 registers for 27
Warning: convoi_t::finish_rd(): cnv 141 is currently too long.
FATAL ERROR: vector_tpl<T>::[] - 7koord3d: index out of bounds: 49 not in 0..9
Aborting program execution ...

kierongreen

What if you try deleting convoi (141) PMNV-MHz Cabover 145 before saving?

BareJag

Hard to know if it worked. Can't find it in the save before the crash. Before both last crashes I brought out an old one of those trucks on an old line with more of the same kind already in service. Tried to put it in service again but haven't crashed so far.

kierongreen

Can you find it on convoi list rather than in the game itself?

prissi

That debug message is quite common and I doubt this is the reason for the crash.

DrSuperGood

The best would be a save and sequence of steps to reproduce the crash reliably. That way it can be run through a debug build and see exactly where the crash is occurring.

Ters

And the crash of interest is the crash when saving. That loading a game that likely wasn't completely saved in the first place will fail is just a fact of life. (It could have failed without taking down the entire process, but we don't need crash logs for that.)

BareJag

I did search in the list. Searching manually among hundreds of vehicles  is hopeless. That specific truck was the one I sent out between the saves, but sending it out again didn't cause a crash on the third try.

All reloads was from un-crashed and different saves. So I doubt there's problem with those. None was loaded from crashed saves as those are unloadable.

I haven't worked with these saves any more as I've started a new one with different options. Maybe I will later, but probably not.