fix a bug that didn't initialize `failfun` member of `struct xobs`.