Same error here, except for me there is no randomness; the game is crashing whenever a nixie tube loses its circuit network connection:
Error while running event nixie-tubes::on_tick (ID 0)
nixie-tubes/control.lua:236: bad argument #1 of 3 to 'btest' (number expected, got nil)
stack traceback:
[C]: in function 'btest'
nixie-tubes/control.lua:236: in function 'float_from_int'
nixie-tubes/control.lua:297: in function 'onTickController'
nixie-tubes/control.lua:348: in function <nixie-tubes/control.lua:336>
The crash happens if the network connection is severed by removing the wire or if the connected entity is deconstructed or destroyed; a vulnerability that would allow the biters to really spoil your day if they found out about it!
It only happens when the nixie loses its last network connection so if, for example, it is connected to a combinator and a chest (by the same or different colour wire), the game does not crash until and unless both the chest and the combinator are deconstructed, destroyed or disconnected.