Init the unwind state struct so callers can rely on its content on failure.