-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
ArgumentOutOfRangeException in SqliteConnectionFactory.PruneCallback #29952
Comments
I got the same exception from time to time. |
/cc @bricelam |
Is there anything we can do as a workaround? Our testers (app) get this exception at least once or twice a day which crashes the app. |
@FM1973 maybe disable connection pooling? |
@ErikEJ I can´t find a property for disabling pooling on the options builder. I´m sure this can be easily done, but I´m too dumb finding it :) |
@FM1973 Just read the manual: https://learn.microsoft.com/en-us/dotnet/standard/data/sqlite/connection-strings#pooling
|
@ErikEJ |
Ok, disabling the connection pool doesn´t help. |
I'm seeing this as well. Also using 7.0.1 on Android. Maybe rolling back to 7.0.0 is the workaround. |
Note from triage: bring to Tactics for servicing. |
This was reported by Microsoft AppCenter on a running device in the wild, but the stack trace does not contain any of my user code.
Microsoft.Data.Sqlite version: 7.0.1
Target framework: .NET 7.0
Operating system: Android 12
I'm guessing there needs to be a lock around
_idlePoolGroups
usage?The text was updated successfully, but these errors were encountered: