-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Crash on [FMDatabaseQueue inDatabase:] #547
Comments
I know
I followed this rule to code, but it's strange to crash because of this bug. Any suggestions will be nice 👍 |
Thread 14 and 13 are both doing rekeys at the same time- are you using two FMDatabaseQueues? You should be using a single one to access a single database. |
@dabing1022 just so you're aware we (Zetetic) have been discouraging the use of TL;DR
|
@billymeltdown A side question for you: what is the difference between sqlite3_rekey, sqlcipher_export, and the Online Backup API? It looks like they can all provide the same result. And yet some sqlite3_rekey is discouraged, sqlcipher_export is encouraged, and sqlite3_backup_init is not even mentioned anywhere in the SQLCipher documentation (despite its high affordance). It would be nice if you (Zetetic) would be clearer on the subject. We (library developers) need to know the consequence when we provide APIs around SQLCipher. |
@ccgus Maybe there are two FMDatabaseQueues, I'll check out my codes. Many thanks! |
FMDB Version: 2.5.0
I'm sorry that I cannot reproduce the bug on Xcode or on my test devices, this bug is logged from Bugly SDK and about 1200 users met this bug.
Any ideas, guys?
The text was updated successfully, but these errors were encountered: