Possible Bug: Sonic Pi Must be Rebooted Upon Second "Run" of This Code

Thanks for this - I’ll look into it.

Meanwhile, would it be possible to try and reduce your example to the shortest bit of code that breaks things?

Also, could you try commenting out the call to sample to see if that inhibits it from breaking?