The game hangs up if you are taking damage in the same turn as changing zones.For example, if you're in the wilderness near the edge of a zone and get hit by a slime projectile just as you walk into the edge.
I have also encountered this error.