Freeze: Input dispatching timed out in MessageQueue.nativePollOnce

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
18/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
android, kotlin
領域
mobile

調査の方向性

This is an auto-filed Play vitals freeze with no reproduction steps: the trace only shows the main thread parked in android.os.MessageQueue.nativePollOnce while NativeInputEventReceiver.consumeEvents waits on a JNI call into an input handler, so the blocking work is in app code the report does not name. Start by mapping what runs on the main thread in response to touch/input dispatch at commit 82079247e (version code 380), and try to reproduce on an API 36 tablet with the Play Console vitals links (they need access). Done looks like a named culprit on the main thread (I/O, lock, or long computation during input handling) and either a fix or a reproducible trace, not just a re-read of this stack.

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

説明

crash crash-needs-human crash-triaged

Google Play reported this freeze (Android vitals).

  • Exception: Input dispatching timed out
  • Where: android.os.MessageQueue.nativePollOnce
  • Last 7 days: 17 reports from about 11 users
  • Version codes: 380–1015
  • Android API levels: 36–37
  • Last seen: 2026-11-28
  • Sample: Honor HONOR Pad 10, Android API 36, version code 380, commit 82079247e
"main" tid=1 Native
  #00  pc 0x000000000009769c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
  #01  pc 0x0000000000231f34  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks+140)
  #02  pc 0x0000000000619164  /apex/com.android.art/lib64/libart.so (art::JNI<false>::CallObjectMethodV+1532)
  #03  pc 0x000000000012a5a4  /system/lib64/libandroid_runtime.so (_JNIEnv::CallObjectMethod+120)
  #04  pc 0x00000000001dc1e0  /system/lib64/libandroid_runtime.so (android::NativeInputEventReceiver::consumeEvents+1332)
  #05  pc 0x00000000001dbb40  /system/lib64/libandroid_runtime.so (android::NativeInputEventReceiver::handleEvent+188)
  #06  pc 0x0000000000015bc8  /system/lib64/libutils.so (android::Looper::pollOnce+1180)
  #07  pc 0x000000000021d280  /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce+44)
  at android.os.MessageQueue.nativePollOnce (Native method)
  at android.os.MessageQueue.nextLegacy (MessageQueue.java:1002)
  at android.os.MessageQueue.next (MessageQueue.java:1150)
  at android.os.Looper.loopOnce (Looper.java:199)
  at android.os.Looper.loop (Looper.java:360)
  at android.app.ActivityThread.main (ActivityThread.java:10813)
  at java.lang.reflect.Method.invoke (Native method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:648)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1012)
"ReferenceQueueDaemon" tid=4 Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:390)
  at java.lang.Object.wait (Object.java:528)
  at java.lang.Daemons$ReferenceQueueDaemon.runInternal (Daemons.java:260)
  at java.lang.Daemons$Daemon.run (Daemons.java:135)
  at java.lang.Thread.run (Thread.java:1571)
"FinalizerDaemon" tid=5 Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:390)
  at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:207)
  at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:228)
  at java.lang.Daemons$FinalizerDaemon.runInternal (Daemons.java:348)
  at java.lang.Daemons$Daemon.run (Daemons.java:135)
  at java.lang.Thread.run (Thread.java:1571)
"FinalizerWatchdogDaemon" tid=8 Timed Waiting
  at java.lang.Thread.sleep (Native method)
  at java.lang.Thread.sleep0 (Thread.java:687)
  at java.lang.Thread.sleep (Thread.java:665)
  at java.lang.Thread.sleep (Thread.java:578)
  at java.lang.Daemons$FinalizerWatchdogDaemon.sleepForNanos (Daemons.java:534)
  at java.lang.Daemons$FinalizerWatchdogDaemon.waitForProgress (Daemons.java:593)
  …

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 を短くまとめたダイジェスト。