Avoid extreme strike distances. That's all advice that I have. It is not possible to improve the crash prevention without affecting valid values, since there is no simple rule that tells when the function crashes and when not. The more unusual the values, the more likely the crash. I hope future updates to RQuantlib will overcome this problem.