Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

SQLite writer connection timeout on Xiaomi Android 12

已關閉
#5,980 5 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

@markushi 已經在處理了。

開始於 2026年8月25日。

評估

這個 Issue 還沒有評估資料。

描述

Android Bug Waiting for: Community
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
  1. Launch the app on a Xiaomi device running Android 12.
  2. The issue occurs during the initial app startup.
  3. The app uses Room 3.
  4. 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.

主要語言
Kotlin
星號
1.4k
分支
478
平均合併
2 天 20 小時
30 天內合併 PR
71

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

getsentry/sentry-java 的其他 Issue

查看 getsentry/sentry-java 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。