recording contents after running account_pthread_w_error2.c and correctly getting error messages