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

Exception thrown when opening corrupted image: "Mutex destroyed while busy" #11

Open
shujaat-github opened this issue Mar 18, 2023 · 1 comment

Comments

@shujaat-github
Copy link
Contributor

shujaat-github commented Mar 18, 2023

Note: Sample corrupted image & steps to reproduce the issue are mentioned in the second comment.

I found that Mutex destroyed while busy exception occurs if I open a corrupted image file in EncFSy Virtual Drive.

The exception occurs on delete encfsFile; line.

image

@shujaat-github
Copy link
Contributor Author

Below I have attached a Zip File containing a few images along with the corrupted image named corrupted.jpg.

Steps to reproduce:

  • Run EncFSy
  • Copy all extracted images to EncFSy Virtual Drive to encrypt
  • You will notice that the non-corrupted images will open as expected if you double click on them
  • Now try to open the corrupted.jpg file, if you are lucky then the exception may not occur on the first or a few more tries.
  • Keep trying to open the corrupted image again and again, almost within 10 tries the exception will occur.

It's funny that I found this by chance as I wasn't aware that the image itself was corrupted so I was trying again and again to open it.

images.zip

@shujaat-github shujaat-github changed the title Exception: Mutex destroyed while busy Exception thrown when opening corrupted image: "Mutex destroyed while busy" Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant