strsub bus-error proof