Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silent corruption due to shared working directory #102

Open
mcilrain opened this issue Dec 5, 2019 · 1 comment
Open

Silent corruption due to shared working directory #102

mcilrain opened this issue Dec 5, 2019 · 1 comment
Assignees
Labels

Comments

@mcilrain
Copy link

mcilrain commented Dec 5, 2019

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
Copy link
Author

mcilrain commented Dec 5, 2019

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

@schnaader schnaader self-assigned this Dec 5, 2019
@schnaader schnaader added the bug label Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants