Android - ANRs and Crashes

Ralph DiMola rdimola at evergreeninfo.net
Fri Nov 1 15:48:31 EDT 2019


Some of these are BS but download the logcat and send it and the text of the error to Panos. I did that once and he found and fixed the problem.

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net

-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Sannyasin Brahmanathaswami via use-livecode
Sent: Friday, November 01, 2019 1:57 PM
To: How LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: Android - ANRs and Crashes

We are getting new reports in Google console -- haven't looked at it in a while, but now getting ready for a new release and I am going through every link at the developer console site, as there are new requirement I don't want to miss….now these this new thing:



ANRs and Crashes



 it is surprisingly explicit.Almost all my users complain the app is very not responsive. So it was interesting to see lots these

=========

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. waitqueue length = 5, head.seq = 948440, Wait queue head age: 29489.7ms.)



com.himalayanacademy.sivasiva.mblandroid

========



FWIW. I should probably send this to HQ, but it is rather interesting, if incomprehensible to me.  Now, if  could just interpret this to "what am in doing in the Livecode script that would fix this" that would be great!



Because of this line (just guessing)



"OkHttp ConnectionPool" tid=18 TimedWaiting



I think this it is a user trying to get an http request in a browser widget.  I have a whole string of these



and more detail below:

=====





=============



"main" tid=1 Native

"main" prio=5 tid=1 Native | group="main" sCount=1 dsCount=0 flags=1 obj=0x72c80af0 self=0x7bcc6a7a00 | sysTid=31502 nice=-10 cgrp=default sched=0/0 handle=0x7bd18d49b0 | state=S schedstat=( 5064974951 299734164 9663 ) utm=376 stm=129 core=7 HZ=100 | stack=0x7ff9f02000-0x7ff9f04000 stackSize=8MB | held mutexes=

#00 pc 000000000001e2ec /system/lib64/libc.so (syscall+28)

#01 pc 0000000000074850 /system/lib64/libc.so (pthread_cond_wait+96)

#02 pc 000000000017e8ac /data/app/com.himalayanacademy.sivasiva-t8T3HnRinrBcByX4z9bjaw==/lib/arm64/librevandroid.so (???)

at com.runrev.android.Engine.doProcess (Native method)

at com.runrev.android.Engine$1.handleMessage (Engine.java:162)

at android.os.Handler.dispatchMessage (Handler.java:108)

at android.os.Looper.loop (Looper.java:166)

at android.app.ActivityThread.main (ActivityThread.java:7529)

at java.lang.reflect.Method.invoke (Native method)

at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:245)

at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:921)

"Jit thread pool worker thread 0" tid=2 Native

"ReferenceQueueDaemon" tid=4 Waiting

"FinalizerDaemon" tid=5 Waiting

"FinalizerWatchdogDaemon" tid=6 Waiting

"Binder:31502_1" tid=8 Native

"Binder:31502_2" tid=9 Native

"hwuiTask1" tid=10 Native

"Profile Saver" tid=11 Native

"Thread-4" tid=12 Native

"Thread-5" tid=13 Native

"Thread-7" tid=14 Native

"RenderThread" tid=15 Native

"Binder:31502_3" tid=16 Native

"hwuiTask2" tid=17 Native

"OkHttp ConnectionPool" tid=18 TimedWaiting

"Binder:31502_4" tid=19 Native

"HwBinder:31502_1" tid=20 Native

"Binder:31502_5" tid=21 Native

"Binder:31502_6" tid=22 Native

"queued-work-looper" tid=23 Native

"RenderThread"

"Signal Catcher" tid=3 Runnable

"HeapTaskDaemon" tid=7 Blocked

"HeapTaskDaemon" daemon prio=5 tid=7 Blocked | group="system" sCount=1 dsCount=0 flags=1 obj=0x12c72dd0 self=0x7bcc6aa200 | sysTid=31513 nice=4 cgrp=default sched=0/0 handle=0x7bb141e4f0 | state=S schedstat=( 517185 32501 10 ) utm=0 stm=0 core=4 HZ=100 | stack=0x7bb131c000-0x7bb131e000 stackSize=1037KB | held mutexes=

#00 pc 000000000001e2ec /system/lib64/libc.so (syscall+28)

#01 pc 00000000000e4608 /system/lib64/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+152)

#02 pc 00000000002628c8 /system/lib64/libart.so (_ZN3art2gc13TaskProcessor7GetTaskEPNS_6ThreadE+292)

#03 pc 00000000002631f0 /system/lib64/libart.so (_ZN3art2gc13TaskProcessor11RunAllTasksEPNS_6ThreadE+92)

#04 pc 000000000020c96c /system/framework/arm64/boot-core-libart.oat (Java_dalvik_system_VMRuntime_runHeapTasks__+124)

at dalvik.system.VMRuntime.runHeapTasks (Native method)

- waiting to lock an unknown object

at java.lang.Daemons$HeapTaskDaemon.runInternal (Daemons.java:473)

at java.lang.Daemons$Daemon.run (Daemons.java:103)

at java.lang.Thread.run (Thread.java:784)










_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list