[TD-9840] Tracing to identify source of corrupt tasks