EV3 brick freeze during run big program EV3 brick sometimes freezes while executing huge programs and do not react on buttons and bluetooth (connect, start/stop program). Only way to continue work is hard reset.
We discovered that freeze depends on medium motor blocking.
Is there any way to fix this?

Program:
http://puu.sh/iQuFg/678d3add5f.ev3
My kids have this exact same problem when a program reaches a certain size.  Parts of the program that previously worked just fine begin to systematically cause the brick to lock up.  We have found, as ridiculous as this sounds, the simple act of adding a variable read immediately before the motor block which seems to cause the brick to lock up will fix the problem.