When I was zeroing in on the other bug I reported, I encountered another unexpected crash while editing a script. Regardless of what's in the RUBE scene, this script crashes the program when I paste it into the scratch-pad:
This presents quite a nuisance, since I guess every single script function needs a check to see if it is being called during compilation. Unfortunately with the current tally of 270 script functions this is not something I can fix overnight. In the meantime, don't do any static allocation. In the case of the script you are using, put the body b = sb()[0]; line inside the main() function so that the sb() does not actually get called until run-time.
This will not be a problem if your script does not have a main(), because in that case RUBE will wrap the entire script inside a main() for you.