News:

Want to praise Simutrans?
Your feedback is important for us ;D.

[10.26] Crash on replacing 1,500 vehicles in server game

Started by ӔO, February 13, 2013, 05:39:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ӔO

Server has crashed from replacing of vehicles.

here is the last working save: http://dl.dropbox.com/u/17111233/client2-network.sve


Replacing horse and carriages with diesel buses will crash the game

doing 1500 will crash it instantly
doing 250 at a time will crash it eventually (which is what has happened to the server)

Moderator note: Split from the Bridgewater-Brunel server topic.

jamespetts

Thank you for the report. Is there a particular line with which this can reliably be reproduced?

ӔO

I just do 'replace all' and it doesn't seem to matter how many you replace at once.

jamespetts


ӔO

any bus line should do it, as long as you select 'replace all'

out of 1500 buses, replacing 1500 at once will result in an instant crash, while skipping 14/15 (100 at once) results in a crash after a short period.

asaphxiix

I tried this with 900, also crashed. Just hangs forever.

jamespetts

AEO, are you getting a crash to desktop or just a hang like Asaph? So far, I have found that what seems to be happening is that the game takes a very long time to find routes to the depot for all 1,500 or so vehicles, which is consistent with Asaph's observation (except that it will eventually resume working). If the program actually stops and exits, rather than appearing to hang, there is a different issue here that requires further investigation.

Junna

I can note that I was able to replace 893 vehicles in the 019. current RC without any crash - in fact, the slow-down was not very significant, even.

Rubbish. Pressed reply by accident when modifying. There's no delete function? Never noticed before.

ӔO

no, I get a tpl error, not a hang.

With the above game, simply replace all 1482 of my buses with the diesel one and you should get

fatal error: vector_tpl<T>::[]
class koord3d: index out of bounds: 11 no in 0..4294967295

jamespetts

Ahh, interesting. I wasn't able to reproduce that from the current server save. I shall have a look into that in due course.

jamespetts

Quote from: ӔO on February 13, 2013, 11:56:55 PM
no, I get a tpl error, not a hang.

With the above game, simply replace all 1482 of my buses with the diesel one and you should get

fatal error: vector_tpl<T>::[]
class koord3d: index out of bounds: 11 no in 0..4294967295


Hmm - can't reproduce this, I'm afraid.