ANR Client App Crash (R217)

CMS Version: 2.3.12 (Docker)
Android Players: DSCS9 (latest firmware)
Player Version: r217

Hello Xibo Support,
We’ve been seeing an uptick in ANR client crashes on our devices. We don’t have auditing turned on or anything that would be memory intensive to cause this. Rather the opposite, actually. When this error occurred, nothing new was scheduled on the display. I had a single image deck called ‘Default No Content’ as a branding with our company logo. The app did not recover, just the ANR popup overlayed on top of the app drawer. We did not see logs on the player itself, but when we looked in the CMS logs after the crash, we found the following message:

Application Not Responding detected. E: Application Not Responding for
at least 5000 ms., StackTrace: com.github.anrwatchdog.ANRError:
Application Not Responding for at least 5000 ms.
Caused by: com.github.anrwatchdog.ANRError$$$_Thread: main (state =
RUNNABLE)
at android.view.ThreadedRenderer.nSyncAndDrawFrame(Native Method)
at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:781)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:2800)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2608)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2215)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1254)
at
android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6338)
at
android.view.Choreographer$CallbackRecord.run(Choreographer.java:874)
at android.view.Choreographer.doCallbacks(Choreographer.java:686)
at android.view.Choreographer.doFrame(Choreographer.java:621)
at
android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)
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:6121)
at java.lang.reflect.Method.invoke(Native Method)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:892)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:782)
Caused by: com.github.anrwatchdog.ANRError$$$_Thread: FinalizerDaemon
(state = WAITING)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:407)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:188)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:209)
at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:204)
at java.lang.Thread.run(Thread.java:761)
Caused by: com.github.anrwatchdog.ANRError$$$_Thread:
FinalizerWatchdogDaemon (state = WAITING)
at java.lang.Object.wait(Native Method)
at
java.lang.Daemons$FinalizerWatchdogDaemon.sleepUntilNeeded(Daemons.java:269)
at java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:249)
... 1 more
Caused by: com.github.anrwatchdog.ANRError$$$_Thread: HeapTaskDaemon
(state = BLOCKED)
at dalvik.system.VMRuntime.runHeapTasks(Native Method)
at java.lang.Daemons$HeapTaskDaemon.run(Daemons.java:433)
... 1 more
Caused by: com.github.anrwatchdog.ANRError$$$_Thread: NanoHttpd Main
Listener (state = RUNNABLE)
at java.net.PlainSocketImpl.socketAccept(Native Method)
at
java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:389)
at java.net.ServerSocket.implAccept(ServerSocket.java:531)
at java.net.ServerSocket.accept(ServerSocket.java:499)
at b.a.a.a$p.run(NanoHTTPD.java:1769)
... 1 more
Caused by: com.github.anrwatchdog.ANRError$$$_Thread: NsdManager (state =
RUNNABLE)
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.os.HandlerThread.run(HandlerThread.java:61)
Caused by: com.github.anrwatchdog.ANRError$$$_Thread: OkHttp
ConnectionPool (state = TIMED_WAITING)
at java.lang.Object.wait(Native Method)
at okhttp3.ConnectionPool$1.run(ConnectionPool.java:67)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
Caused by: com.github.anrwatchdog.ANRError$$$_Thread: OkHttp Dispatcher
(state = TIMED_WAITING)
at java.lang.Object.wait(Native Method)
at java.lang.Thread.parkFor$(Thread.java:2127)
at sun.misc.Unsafe.park(Unsafe.java:325)
at
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:201)
at
java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:432)
at
java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:333)
at
java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:908)
at
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1057)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1118)
... 2 more
Caused by: com.github.anrwatchdog.ANRError$$$_Thread: Okio Watchdog
(state = TIMED_WAITING)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:407)
at d.d$a.a(AsyncTimeout.kt:341)
at d.d$b.run(AsyncTimeout.kt:228)
Caused by: com.github.anrwatchdog.ANRError$$$_Thread:
ReferenceQueueDaemon (state = WAITING)
at java.lang.Object.wait(Native Method)
at java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:150)
at java.lang.Thread.run(Thread.java:761)
Caused by: com.github.anrwatchdog.ANRError$$$_Thread: db-mgr-0 (state =
WAITING)
at java.lang.Object.wait(Native Method)
at java.lang.Thread.parkFor$(Thread.java:2127)
at sun.misc.Unsafe.park(Unsafe.java:325)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:161)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2035)
at
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:413)
at
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1058)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1118)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
... 1 more
Caused by: com.github.anrwatchdog.ANRError$$$_Thread: db-mgr-1 (state =
WAITING)
... 10 more
Caused by: com.github.anrwatchdog.ANRError$$$_Thread: pool-1-thread-1
(state = TIMED_WAITING)
at java.lang.Object.wait(Native Method)
at java.lang.Thread.parkFor$(Thread.java:2127)
at sun.misc.Unsafe.park(Unsafe.java:325)
at
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:201)
at
java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:432)
at
java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:333)
at
java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:908)
at
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1057)
... 3 more
Caused by: com.github.anrwatchdog.ANRError$$$_Thread: pool-1-thread-2
(state = TIMED_WAITING)
... 11 more
Caused by: com.github.anrwatchdog.ANRError$$$_Thread: pool-1-thread-3
(state = TIMED_WAITING)
... 11 more
Caused by: com.github.anrwatchdog.ANRError$$$_Thread: pool-1-thread-4
(state = TIMED_WAITING)
... 11 more
Caused by: com.github.anrwatchdog.ANRError$$$_Thread: pool-5-thread-1
(state = WAITING)
at java.lang.Object.wait(Native Method)
at java.lang.Thread.parkFor$(Thread.java:2127)
at sun.misc.Unsafe.park(Unsafe.java:325)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:161)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2035)
at
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:413)
at
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1058)
... 3 more
Caused by: com.github.anrwatchdog.ANRError$$$_Thread: xmds-mgr-0 (state =
WAITING)
... 10 more
Caused by: com.github.anrwatchdog.ANRError$$$_Thread: xmds-mgr-1 (state =
WAITING)
... 10 more
Caused by: com.github.anrwatchdog.ANRError$$$_Thread: |ANR-WatchDog|
(state = RUNNABLE)
at dalvik.system.VMStack.getThreadStackTrace(Native Method)
at java.lang.Thread.getStackTrace(Thread.java:1566)
at java.lang.Thread.getAllStackTraces(Thread.java:1616)
at com.github.anrwatchdog.ANRError.New(ANRError.java:77)
at com.github.anrwatchdog.ANRWatchDog.run(ANRWatchDog.java:273)

Does this ANR stacktrace mean anything to you? It doesn’t seem to help us out at all, so we have no idea why this is happening all of a sudden.

Please help!

Thanks!

Hi @signage,

Please open a ticket with the Xibo Support Team for assistance with this issue: Xibo Signage Help Desk

Kind Regards,

Frazer

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.