hazeycode 1684576961 Another possibility is that it is not a race condition and that the log is causing a memory allocation which in turn changes the location of subsequent allocations.