Moved crash hash logic to get_crash_hash(). Avoiding compilation hangs.