Page 1 of 1

[0.11.5] Game CTD on disconnecting power pole from grid

Posted: Sat Dec 06, 2014 9:24 am
by Fatmice
Hello, so I was investigating the cause of a desync loop in this game (separate report) and managed to CTD when I disconnected this power pole (red box) from the grid. This pole has some red wires connected to it. Another pole (green box) can be disconnected safely without CTD. Indeed, if I were to disconnect the pole in the green box before the one in the red box, then no CTD. CTD will only occur if I disconnect pole within a short amount of time (30s) after loading this save game. It doesn't seem to be reproduce able on my friend's machine so I don't know if it will help the devs.
Power Pole
Power Pole
Power Pole.jpg (878.37 KiB) Viewed 3559 times
My graphic card
http://img.techpowerup.org/141206/nvidi ... 031648.png
A more detail spec of my system.
http://pastebin.com/KTe58fan

Save File
http://www.mediafire.com/download/2bmz5 ... -crash.zip
Mods
http://www.mediafire.com/download/cm4c2 ... 4/mods.zip

Re: [0.11.5] Game CTD on disconnecting power pole from grid

Posted: Mon Dec 08, 2014 10:44 am
by kovarex
I tried to reproduce it both with and without the mods, and it didn't crash for me (Win 64). I'm not sure what to do with this.

By disconnecting you mean mining the electric pole?

Re: [0.11.5] Game CTD on disconnecting power pole from grid

Posted: Mon Dec 08, 2014 11:29 am
by cube
Hi, we tried it on several computers and no crashes.

Does it crash for you also when you load the save? Because saving the map for this bug report could have fixed the bug in the save.....

Re: [0.11.5] Game CTD on disconnecting power pole from grid

Posted: Mon Dec 08, 2014 1:23 pm
by Fatmice
cube wrote:Hi, we tried it on several computers and no crashes.

Does it crash for you also when you load the save? Because saving the map for this bug report could have fixed the bug in the save.....
I used to have a save that crash on load for this problem actually...but can't find it now. I may have deleted it.
kovarex wrote:I tried to reproduce it both with and without the mods, and it didn't crash for me (Win 64). I'm not sure what to do with this.

By disconnecting you mean mining the electric pole?
I disconnected by shift-left clicking the pole. I reloaded this save 0.11.5 and tried to disconnect the same pole and got no crash. I went to another pole in the image, and got the CTD. I don't know if it will be reproducible on your end though since this problem seems to be moving around the base in this particular play through.

Re: [0.11.5] Game CTD on disconnecting power pole from grid

Posted: Mon Dec 08, 2014 7:28 pm
by kovarex
Thanks for the instructions, I was able to reproduce and fix the error, I didn't even know that the pole could be disconnected without mining :)

Anyway I fixed the error, and added automated test of this operation (as usual), so it is fixed for the 0.11.6.

Re: [0.11.5] Game CTD on disconnecting power pole from grid

Posted: Mon Dec 08, 2014 8:34 pm
by Fatmice
I'm glad to hear you are able to reproduce the error and that it is now fixed. :)

Re: [0.11.5] Game CTD on disconnecting power pole from grid

Posted: Wed Dec 10, 2014 5:10 am
by ssilk
kovarex wrote:Thanks for the instructions, I was able to reproduce and fix the error, I didn't even know that the pole could be disconnected without mining :)
So yo need to vote here:
https://forums.factorio.com/forum/vie ... f=5&t=7180

:D 8-)