Open ghost opened 3 years ago
We are having a lot of ANRs related to this as well. Any progress?
The challenge with this one is that it's just happening during some rendering that's taking a long time (specifically, at the point that this times out, it's doing stuff with embedded font rasterization). It might be that the time spent in this was exacerbated by the garbage collection "sweep" phased perhaps, but in general the main problem is that AIR runs the main ActionScript processing and SWF rendering all in the 'main' thread from Java. So if that takes too long, Android will kill it.
It would be much better to refactor AIR so that the processing and rendering all happened in a background thread and then this UI thread could be freed up, to avoid all these ANRs. This would be on my wish-list but would be a significant re-work with the likelihood of introducing a lot of regression...
We are having a lot of ANRs related to this as well. Any progress?
Same here. ANR's are stable at 1.10% which is bad performance and our game has limited/poor visibility because of this.
The challenge with this one is that it's just happening during some rendering that's taking a long time
@ajwfrost Is there anything at all we can do on our end to try get the ANR rate any lower?
@ajwfrost Is there any update on this issue. We are facing a lot of ANRs.
Hi ANR on android with AIR 33.1.1.217![image](https://user-images.githubusercontent.com/19774522/93773900-49c92880-fc29-11ea-9dfe-a5bcb3e4c721.png)
`"main" prio=5 tid=1 Native | group="main" sCount=1 dsCount=0 obj=0x75bbabb0 self=0x7fb1095a00 | sysTid=32578 nice=0 cgrp=default sched=0/0 handle=0x7fb509ea98 | state=D schedstat=( 3859848545 2218148189 4469 ) utm=322 stm=63 core=3 HZ=100 | stack=0x7fd8c45000-0x7fd8c47000 stackSize=8MB | held mutexes=
00 pc 0000000000bcfb78 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
01 pc 0000000000bd8708 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
02 pc 0000000000be8194 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
03 pc 0000000000bcb65c /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
04 pc 0000000000bcb094 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
05 pc 0000000000b52690 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
06 pc 0000000000adc110 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
07 pc 0000000000adc568 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
08 pc 0000000000adfa00 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
09 pc 0000000000adfbec /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
10 pc 00000000002dae48 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
11 pc 00000000002dade0 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
12 pc 000000000096be3c /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
13 pc 000000000096bc84 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
14 pc 000000000038f71c /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
15 pc 0000000000399f30 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
16 pc 00000000003ad2f4 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
17 pc 000000000039a608 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
18 pc 000000000039ce80 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
19 pc 00000000003af8c0 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
20 pc 0000000000427e8c /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
21 pc 00000000006bd364 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
22 pc 000000000061fa98 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
23 pc 00000000007b81b0 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
24 pc 00000000007b8d1c /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
25 pc 000000000072a08c /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
26 pc 00000000007dbb64 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
27 pc 00000000007db2b8 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
28 pc 000000000074cd7c /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
29 pc 00000000007b627c /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
30 pc 00000000007dbc24 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
31 pc 000000000074cd7c /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
32 pc 00000000007b627c /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
33 pc 00000000007dbc24 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
34 pc 00000000007b5b14 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
35 pc 00000000007d67a8 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
36 pc 00000000007b5b14 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
37 pc 00000000007d67a8 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
38 pc 00000000007db2b8 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
39 pc 00000000007db2b8 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
40 pc 000000000074cd7c /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
41 pc 000000000074cc90 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
42 pc 0000000000664a4c /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
43 pc 00000000006666ec /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
44 pc 00000000006663fc /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
45 pc 0000000000664f40 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
46 pc 00000000004579d4 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
47 pc 0000000000458460 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
48 pc 00000000004ce92c /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
49 pc 00000000004ce838 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
50 pc 00000000004f83f0 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
51 pc 00000000002d4d5c /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
52 pc 000000000027d860 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
53 pc 00000000004cabbc /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
54 pc 00000000004caf28 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
55 pc 000000000071b98c /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
56 pc 00000000007133e0 /data/app/com.belkatechnologies.fe-2/lib/arm64/libCore.so (???)
57 pc 000000000000bfc8 (???)
at com.adobe.air.Entrypoints.EntryMainWrapper (Native method) at com.adobe.air.Entrypoints.EntryMain (Entrypoints.java:143) at com.adobe.air.AndroidActivityWrapper.LaunchApplication (AndroidActivityWrapper.java:1189) at com.adobe.air.AndroidActivityWrapper.launchApplication (AndroidActivityWrapper.java:1472) at com.adobe.air.AndroidActivityWrapper.onSurfaceInitialized (AndroidActivityWrapper.java:1458) at com.adobe.air.AIRWindowSurfaceView.surfaceChanged (AIRWindowSurfaceView.java:794) at android.view.SurfaceView.updateWindow (SurfaceView.java:634) at android.view.SurfaceView$3.onPreDraw (SurfaceView.java:161) at android.view.ViewTreeObserver.dispatchOnPreDraw (ViewTreeObserver.java:944) at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:2220) at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1265) at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:6359) at android.view.Choreographer$CallbackRecord.run (Choreographer.java:871) at android.view.Choreographer.doCallbacks (Choreographer.java:683) at android.view.Choreographer.doFrame (Choreographer.java:619) at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:857) at android.os.Handler.handleCallback (Handler.java:751) at android.os.Handler.dispatchMessage (Handler.java:95) at android.os.Looper.loop (Looper.java:154) at android.app.ActivityThread.main (ActivityThread.java:6246) at java.lang.reflect.Method.invoke! (Native method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:869) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:759)`