Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25421] Android : Input dispatching timed out

GitHub Issuen/a
TypeBug
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
Reporterankur garha
AssigneeUnknown
Created2017-08-28T04:19:18.000+0000
Updated2018-05-02T19:27:27.000+0000

Description

We are getting this weird ANR report on Android play-store console majorly for Samsung s7 devices only Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago. Wait queue length: 10. Wait queue head age: 21135.4ms.) Detailed logs :-
"main" prio=5 tid=1 Native
  | group="main" sCount=1 dsCount=0 obj=0x76eb2638 self=0xe6485400
  | sysTid=14685 nice=0 cgrp=default sched=0/0 handle=0xe9a08534
  | state=S schedstat=( 669764062061 77468116970 1524687 ) utm=47093 stm=19883 core=2 HZ=100
  | stack=0xff18c000-0xff18e000 stackSize=8MB
  | held mutexes=
  native: pc 00000000000174b8  /system/lib/libc.so (syscall+28)
  native: pc 00000000000b681d  /system/lib/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+92)
  native: pc 00000000003f549b  /system/lib/libart.so (_ZN3artL12GoToRunnableEPNS_6ThreadE+230)
  native: pc 00000000003f538b  /system/lib/libart.so (_ZN3art12JniMethodEndEjPNS_6ThreadE+8)
  native: pc 00000000006bfd3d  /system/framework/arm/boot-framework.oat (Java_android_os_BinderProxy_transactNative__ILandroid_os_Parcel_2Landroid_os_Parcel_2I+152)
  at android.os.BinderProxy.transactNative (Native method)
  at android.os.BinderProxy.transact (Binder.java:628)
  at android.hardware.display.IDisplayManager$Stub$Proxy.getDisplayInfo (IDisplayManager.java:717)
  at android.hardware.display.DisplayManagerGlobal.getDisplayInfo (DisplayManagerGlobal.java:143)
- locked <0x04a3ce0c> (a java.lang.Object)
  at android.view.Display.updateDisplayInfoLocked (Display.java:943)
  at android.view.Display.getRotation (Display.java:670)
- locked <0x0bce9355> (a android.view.Display)
*  at org.appcelerator.titanium.TiBaseActivity$2.onOrientationChanged (TiBaseActivity.java:716)*
  at android.view.OrientationEventListener$SensorEventListenerImpl.onSensorChanged (OrientationEventListener.java:143)
  at android.hardware.SystemSensorManager$SensorEventQueue.dispatchSensorEvent (SystemSensorManager.java:837)
  at android.os.MessageQueue.nativePollOnce (Native method)
  at android.os.MessageQueue.next (MessageQueue.java:323)
  at android.os.Looper.loop (Looper.java:136)
  at android.app.ActivityThread.main (ActivityThread.java:6688)
  at java.lang.reflect.Method.invoke! (Native method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1468)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1358)


Comments

  1. ankur garha 2017-09-24

    Any updates on this one?
  2. Sharif AbuDarda 2017-10-20

    Hello, Any crash happening because of this in devices?
  3. Dominic Maricic 2017-10-20

    Yes, all the time. Usually from switching out of the app and then back in.
  4. Luke Taylor 2017-12-06

    We have just pushed a release out on staged rollout (luckily) and receiving helluva lot of issues (ANRs/Crashes) which stem from this problem. Is there any work being done to fix this? Current release is using TiSDK 6.2.2.GA and Appc CLI 6.2.4
  5. Ghassan 2018-01-11

    Any update as we also having the same issue on 7.0
  6. Dominic Maricic 2018-05-02

    We are still having this issue after updating to the SDK 7 as well. It's happening across different Android OS and Devices. We just don't have a clue on how to track it down.

JSON Source