precomp-cpp icon indicating copy to clipboard operation
precomp-cpp copied to clipboard

Silent corruption due to shared working directory

Open mcilrain opened this issue 5 years ago • 1 comments

I have discovered a bug that sometimes causes data corruption on both compression and recompression, and as far as I can tell pfverify doesn't catch it.

The problem is related to multiple instances of precomp running in parallel using the same working directory, I'm suspecting the instances are overwriting each other's temporary files and this is causing corruption.

I have worked-around the problem by creating a temporary directory for each instance to use as the working directory.

I am running this on Ubuntu Linux.

mcilrain avatar Dec 05 '19 06:12 mcilrain

Forgot to mention, the precomp version is v0.4.7 64bit.

mcilrain avatar Dec 05 '19 06:12 mcilrain