This content has been marked as final. Show 3 replies
Try upgrading to 5.3.21. There were several bugs fixes there that may be the cause of your problem.
If that does not work, could you post or mail me code that reproduces the problem? Also, additional debug information from the core work be useful.
Thanks for your response. I have a few followup questions :
1. The fix titled "Fixed a rare race condition that could cause a crash if two processes opened the same database at the same time" - Is it applicable only for processes or can this problem happen with multiple threads in a process each with its own DB handle.
2. I was looking at the code & I saw that the call to "btreeInvalidateHandleCache" from "sqlite3BtreeBeginTrans" has been removed. The ischema chane check is now done from the sequence code - Was this done to fix a specific problem ?
Will appreciate a response.
1. That fix could definitely be the root of your problems. It did involve multiple threads/processes opening an existing SQL database at the same time.
2. Yes, it was done to fix an issue where dropping a table could result in the process becoming deadlocked.