Hey Experts,
Can you share any insights on the following?
Here is the stack being flagged by Appverifier as one holding lock. Working on test application that uses encrypter.dll, in which I have wrapper class over SqlCipher, this is allocated as global variable.
Hello @Deb - In this case, sqlcipher_extra_shutdown is obtaining a lock so it can proceed with cleanup of sqlcipher library internals. A mutex is used to ensure that access is properly synchronized. We have not observed problems with this in the past. Can you please explain the specific problem you are facing in more detail?
Problem:
With SqlCipher 4.7.0, application verifier flags my application, saying it is holding lock inside global variable.
Same code works good with older version 4.6.1 but I do not want to use it since it is older.
@Deb No, I don’t think that is the proper solution. The mutex in question is an internal static mutex and should not be freed like that.
We’re still looking into this. Can you provide a small standalone project that reproduces this problem so we can troubleshoot further? If so, please email it to support@zetetic.net. That is the quickest way to assist and get resolution.