News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

[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.
My Sketchup open project sources
various projects rolled up: http://dl.dropbox.com/u/17111233/Roll_up.rar

Colour safe chart:

jamespetts

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

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

ӔO

I just do 'replace all' and it doesn't seem to matter how many you replace at once.
My Sketchup open project sources
various projects rolled up: http://dl.dropbox.com/u/17111233/Roll_up.rar

Colour safe chart:

jamespetts

Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Ӕ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.
My Sketchup open project sources
various projects rolled up: http://dl.dropbox.com/u/17111233/Roll_up.rar

Colour safe chart:

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.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

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
My Sketchup open project sources
various projects rolled up: http://dl.dropbox.com/u/17111233/Roll_up.rar

Colour safe chart:

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.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

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.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.