SQLite writer connection timeout on Xiaomi Android 12
@markushi arbeitet bereits daran.
Seit 25.8.2026.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
Integration
sentry-android-sqlite
Build System
Gradle
AGP Version
9.3.1
Proguard
Enabled
Other Error Monitoring Solution
No
Version
8.53.0, 6.19.0
Steps to Reproduce
- Launch the app on a Xiaomi device running Android 12.
- The issue occurs during the initial app startup.
- The app uses Room 3.
- The issue is highly reproducible and occurs almost every time on affected devices.
Expected Result
The app starts normally without SQLite/Sentry connection errors.
Actual Result
During initial startup, Sentry throws a SQLite writer connection timeout. This happens with very high frequency and is reproducible almost every time on affected Xiaomi Android 12 devices.
android.database.SQLException: Error code: 5,
message: Timed out attempting to acquire a writer connection.
Writer pool:
capacity=1, permits=0
Status: Free connection
The reader connections are free, but the writer connection cannot be acquired.
Please investigate whether this is related to Sentry's SQLite instrumentation/connection pool and its interaction with Room on Xiaomi Android 12.
- Vorherrschende Sprache
- Kotlin
- Sterne
- 1.4k
- Forks
- 478
- Ø Merge
- 2 T. 20 Std.
- Gemergte PRs (30 T.)
- 71
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus getsentry/sentry-java
-
Improvement Java Platform: Android Platform: Java
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
getsentry/sentry-java#6145 · 1 Kommentar · 1 zugewiesene Person ·
-
Bug Java Platform: Android Platform: Java
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
getsentry/sentry-java#6138 · 1 Kommentar ·
-
Feature Java Platform: Java Spans
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
getsentry/sentry-java#5984 · 1 Kommentar ·
-
Android Task Traces
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
getsentry/sentry-java#5376 · 1 Kommentar ·
-
Android Docs Errors
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
getsentry/sentry-java#5375 · 1 Kommentar ·
Alle Issues in getsentry/sentry-java
Ähnliche Issues
-
[Bug] 统计页面无法重置token和汇率 Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
AAswordman/Operit#1265 · 3 Kommentare ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
acristescu/OnlineGo#216 ·
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
libre-tube/LibreTube#8803 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
status: waiting-for-triage type: bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
spring-projects/spring-security#19781 ·