[stdout] caught BadInput [stdout] recovered; trace buffer now empty (len 0)