Freeze: Input dispatching timed out in Arrays.fill

Đang mở
#275 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, kotlin
Lĩnh vực
mobile-dev

Hướng nghiên cứu

The crash is an input dispatch timeout raised inside Compose's SlotWriter.clearSlotGap during a recomposition frame, reached from Recomposer.runRecomposeAndApplyChanges; the stack shows no line in this app's own code. Start by checking the commit f35e17884 and the Compose runtime version in the Gradle files, and reproduce on a slow device or with a large composition. Done means identifying what in the app's UI tree triggers the long main-thread work and reducing it below the input timeout, which needs Compose and Android performance knowledge.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

crash crash-needs-human crash-triaged

Google Play reported this freeze (Android vitals).

  • Exception: Input dispatching timed out
  • Where: java.util.Arrays.fill
  • Last 7 days: 6 reports from about 6 users
  • Version codes: 380–1015
  • Android API levels: 34–37
  • Last seen: 2026-11-27
  • Sample: realme realme C53, Android API 34, version code 178, commit f35e17884
"main" tid=1 Runnable
  at java.util.Arrays.fill (Arrays.java:4186)
  at kotlin.collections.ArraysKt___ArraysJvmKt.fill (ArraysKt___ArraysJvm.kt:1563)
  at androidx.compose.runtime.composer.gapbuffer.SlotWriter.clearSlotGap (SlotTable.kt:2986)
  at androidx.compose.runtime.composer.gapbuffer.SlotWriter.close (SlotTable.kt:1566)
  at androidx.compose.runtime.composer.gapbuffer.SlotWriter.moveFrom (SlotTable.kt:4441)
  at androidx.compose.runtime.composer.gapbuffer.changelist.Operation$InsertSlotsWithFixups.execute (Operation.kt:692)
  at androidx.compose.runtime.composer.gapbuffer.changelist.Operation.executeWithComposeStackTrace (Operation.kt:64)
  at androidx.compose.runtime.composer.gapbuffer.changelist.Operations.executeAndFlushAllPendingOperations (Operations.kt:350)
  at androidx.compose.runtime.composer.gapbuffer.changelist.ChangeList.executeAndFlushAllPendingChanges (ChangeList.kt:109)
  at androidx.compose.runtime.composer.gapbuffer.changelist.ChangeList.execute (ChangeList.kt:94)
  at androidx.compose.runtime.CompositionImpl.applyChangesInLocked (Composition.kt:1221)
  at androidx.compose.runtime.CompositionImpl.applyChanges (Composition.kt:1256)
  at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2.invokeSuspend$lambda$2 (Recomposer.java:733)
  at androidx.compose.ui.platform.AndroidUiFrameClock$withFrameNanos$2$callback$1.doFrame (AndroidUiFrameClock.android.kt:39)
  at androidx.compose.ui.platform.AndroidUiDispatcher.performFrameDispatch (AndroidUiDispatcher.java:108)
  at androidx.compose.ui.platform.AndroidUiDispatcher.access$performFrameDispatch (AndroidUiDispatcher.java:41)
  at androidx.compose.ui.platform.AndroidUiDispatcher$dispatchCallback$1.doFrame (AndroidUiDispatcher.android.kt:69)
  at android.view.Choreographer$CallbackRecord.run (Choreographer.java:1397)
  at android.view.Choreographer$CallbackRecord.run (Choreographer.java:1408)
  at android.view.Choreographer.doCallbacks (Choreographer.java:1012)
  at android.view.Choreographer.doFrame (Choreographer.java:938)
  at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:1382)
  at android.os.Handler.handleCallback (Handler.java:958)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loopOnce (Looper.java:205)
  at android.os.Looper.loop (Looper.java:294)
  at android.app.ActivityThread.main (ActivityThread.java:8394)
  at java.lang.reflect.Method.invoke (Native method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:640)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:995)

Play Console (needs access):

Ngôn ngữ chính
Kotlin
Star
146
Fork
35
Merge trung bình
7 giờ 41 phút
Pull request đã merge (30 ngày)
221

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của anomalyco/opencode-android

Tất cả issue của anomalyco/opencode-android

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.