This is caused by stack corruption because the extra code in copy_job_done is sticking a pointer in to an int (which is why it works on 32-bit but not on 64-bit)
This is caused by stack corruption because the extra code in copy_job_done is sticking a pointer in to an int (which is why it works on 32-bit but not on 64-bit)