Freeze: Input dispatching timed out in Arrays.fill

Aperta
#275 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, kotlin
Ambito
mobile-dev

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Kotlin
Stelle
146
Fork
35
Merge medio
7h 41m
PR unite (30g)
221

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di anomalyco/opencode-android

Tutte le issue di anomalyco/opencode-android

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.