don't use dead stack frames on error (#92871)