Page 1 of 1

[kovarex] [1.1.17] Crash placing blueprint containing beacons with modules (ElectricSubNetwork::allocateEnergySource)

Posted: Mon Jan 25, 2021 10:17 pm
by Tastaturtaste
What did I do?
I was placing a copy of a row of beacons containing speed modules adjacent with 2 tiles space to T3 assemblers.
I did the same a few minutes earlier and it did not crash. I cannot say if maybe the circumstances were different.
The savegame was from a lightly modded online multiplayer game with one other person. The mods are available here.
Because the savegame is not mine and the owner has gone offline I cannot provide the savegame at the moment but will try to get it for you.
What happened?
When clicking the left mouse button I got an error message informing me of the crash and to post a bug report if possible.
What did I expect to happen?
To place beacons with modules and not crash :D

Re: [1.1.17] Crash placing blueprint containing beacons with modules (ElectricSubNetwork::allocateEnergySource)

Posted: Mon Jan 25, 2021 11:57 pm
by kovarex
Hello, I found this crashlog in our reports, and you are the only person having this crash so far, so especially since there is no way to reproduce it and/or study more, i'm moving to the graveyard of 1/0 magic.

Please, let me know (ideally in this thread), if it happens ever again.

Re: [1.1.17] Crash placing blueprint containing beacons with modules (ElectricSubNetwork::allocateEnergySource)

Posted: Tue Jan 26, 2021 1:05 am
by kovarex
Ok ... I checked the code again, tried a couple of weird things with multiplayer pole building and latency state, and I actually found a problem in a corner case, that I fixed now, so I believe it is fixed now for the next release.

Re: [1.1.17] Crash placing blueprint containing beacons with modules (ElectricSubNetwork::allocateEnergySource)

Posted: Tue Jan 26, 2021 10:06 am
by Tastaturtaste
Thank you, I will report if it ever happens again!
Do you always fix bugs at 2am? :shock:

Re: [1.1.17] Crash placing blueprint containing beacons with modules (ElectricSubNetwork::allocateEnergySource)

Posted: Tue Jan 26, 2021 11:18 am
by kovarex
Tastaturtaste wrote:
Tue Jan 26, 2021 10:06 am
Thank you, I will report if it ever happens again!
Do you always fix bugs at 2am? :shock:
The best time to work, kids are asleep and I can have some time of uninterupted focus :)