Random function - editor keep crashing - Linux

/Hello!
Trying to recreated this tutorial:
https://www.youtube.com/watch?v=td59TXa_xQI
but when added random function and play state machine editor crashing.

Bug tested on chromium and firefox on Linux Mint.
On standalone windows editor working just fine.
However for Linux users there is no standalone

crashtest.rev

versions.