I'm using a lot of mods but it is repeatable. I was using robots to place a substation covering the turrets, it seems to be safe if the substations are connected to power after they're placed. But if they're placed and connected to power and try to power the turrets at the same time it seems to crash. Here's the error:
The mod Shield Generators (0.3.5) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event shield-generators::on_tick (ID 0)
real number expected got nil.
stack traceback:
[C]: in function 'set_right_bottom'
shield-generators/control.lua:902: in function <shield-generators/control.lua:590>