log caused segmentation fault.