airsdk / Adobe-Runtime-Support

Report, track and discuss issues in Adobe AIR. Monitored by Adobe - and HARMAN - and maintained by the AIR community.
200 stars 11 forks source link

Input dispatching timed out WaitHoldingLocks #450

Open ghost opened 4 years ago

ghost commented 4 years ago

Hi

Problem Description

Input dispatching timed out (Waiting because the touched window's input channel is full. Outbound queue length: 1. Wait queue length: 52.)

AIR SDK = 33.1.1.217

"main" prio=5 tid=1 Native
  | group="main" sCount=1 dsCount=0 flags=1 obj=0x75288bf0 self=0x7a83a14c00
  | sysTid=17507 nice=-10 cgrp=default sched=0/0 handle=0x7a84220548
  | state=S schedstat=( 492906382082 35768485975 297305 ) utm=45246 stm=4043 core=2 HZ=100
  | stack=0x7fe4e36000-0x7fe4e38000 stackSize=8MB
  | held mutexes=

  #00  pc 000000000001ed2c  /system/lib64/libc.so (syscall+28)
  #01  pc 00000000000d7424  /system/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
  #02  pc 00000000003312b8  /system/lib64/libart.so (art::JNI::PushLocalFrame(_JNIEnv*, int)+480)
  #03  pc 00000000002b7a8c  /data/app/com.*.fe-xcNIPka7D3aeAa9ehSkCRg==/lib/arm64/libCore.so (???)
  #04  pc 00000000002b82fc  /data/app/com.*.fe-xcNIPka7D3aeAa9ehSkCRg==/lib/arm64/libCore.so (???)
  #05  pc 000000000025d76c  /data/app/com.*.fe-xcNIPka7D3aeAa9ehSkCRg==/lib/arm64/libCore.so (???)
  #06  pc 0000000000255af8  /data/app/com.*.fe-xcNIPka7D3aeAa9ehSkCRg==/lib/arm64/libCore.so (Java_com_adobe_air_OrientationManager_nativeOrientationChanging+312)
  at com.adobe.air.OrientationManager.nativeOrientationChanging (Native method)
  at com.adobe.air.OrientationManager$1.onOrientationChanged (OrientationManager.java:282)
  at android.view.OrientationEventListener$SensorEventListenerImpl.onSensorChanged (OrientationEventListener.java:143)
  at android.hardware.SystemSensorManager$SensorEventQueue.dispatchSensorEvent (SystemSensorManager.java:833)
  at android.os.MessageQueue.nativePollOnce (Native method)
  at android.os.MessageQueue.next (MessageQueue.java:326)
  at android.os.Looper.loop (Looper.java:160)
  at android.app.ActivityThread.main (ActivityThread.java:6714)
  at java.lang.reflect.Method.invoke (Native method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:503)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:911)

image

ajwfrost commented 4 years ago

Hmm.. trying to call "MakeGLCurrent" which is a Java function, and doing a PushLocalFrame as part of the C++-to-Java call. It may be this that's hanging but there's nothing in that call stack that should cause any delays in execution. Not sure there's much that we can do about this one I'm afraid..

ghost commented 4 years ago

Perhaps you will give more information why this call occurs, and we will experiment