-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Crash when accessing in multi-threaded environment #813
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
Comments
In my app also same issue occur. any fix on it? |
ios9: the following code crashes in
|
This does not happen on Xcode9.2. |
I got the same problem as "sree127". However, it was fixed with xcode9.2. Please note. |
XCode 10, iOS 9.3, Simulator, still crash in sqlite3_prepare_v2. |
It's ok on iOS 10.3.1 simulator. |
I had the same problem on iOS9 simulator, multi-thread use one Connection call sqlite3_prepare_v2. |
Connection.txt |
Where did you apply the patch? I have the same problem and I can't solve it |
Still having the crash in XCode 12.4. I was using multiple thread. On single thread it works fine but crash on using multiple threads |
I'm also seeing this issue with Xcode 12 and multiple threads. I'm not sure if this is due to an Xcode change or a SQLite.swift change. |
#259 perhaps related |
Build Information
Application is written in Swift 4
Using SQLite.swift 0.11.4 via CocoaPods
Xcode 9.3.1
Crash Information
I'm experiencing a crash in
sqlite3_prepare_v2
which gets called fromConnection.prepare
orConnection.pluck
on devices runningiOS 9
&iOS 10
. The connections are accessed in a multi-threaded environment and works fine on iOS 11 and above.Below is a screenshot of the exact place where the crash happens:
What might be the possible reason for this. TIA
The text was updated successfully, but these errors were encountered: