A good portion of the errors detected by sqlsmith are from the frontend. Using explain on its own may fail, since the final query plan might be invalid. But there could be some earlier stage, e.g. logical plan where the plan was still valid. For better debugging we can also dump the explain plan, on the reduced query.