Freeze: Input dispatching timed out in Arrays.fill

オープン
#275 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
android, kotlin
領域
mobile-dev

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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):

主要言語
Kotlin
スター
146
フォーク
35
平均マージ
7時間 41分
マージ済み PR(30日)
221

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

anomalyco/opencode-android のほかの issue

anomalyco/opencode-android の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。