There could be a dozen reasons it froze. I recommend you debug your blocks by adding visual changes that help show you where it last worked before it froze. See this:
You can also post a link to your project but if it’s very complicated, it’s unlikely someone here is going to spend a lot of time (for free) to help figure out why it freezes.