lint; stop tracing when write error encountered