Freeze: Input dispatching timed out in Arrays.fill

Ouverte
#275 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
25/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
android, kotlin
Domaine
mobile-dev

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
Kotlin
Étoiles
146
Forks
35
Merge moyen
7 h 41 min
PR mergées (30 j)
221

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de anomalyco/opencode-android

Toutes les issues de anomalyco/opencode-android

Issues similaires

Plus d'issues Kotlin

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.