Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-5108

Intermittent crashes on android. Seems related to okhttp

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Component/s: Alloy, Titanium SDK & CLI
    • Labels:
      None
    • Environment:

      Titanium SDK: 6.1.1
      Alloy: 1.10.3
      Android Versions: 6.0, 7.0
      It mainly occurs on Moto G

      Description

      Android ANRs Trace:

      "OkHttp ConnectionPool" tid=17 TimedWaiting
      "OkHttp ConnectionPool" daemon prio=5 tid=17 TimedWaiting

      group="main" sCount=1 dsCount=0 obj=0x12f7f640 self=0xab81ed58
      sysTid=4515 nice=0 cgrp=default sched=0/0 handle=0xdf9ff930
      state=S schedstat=( 54297968 36339376 163 ) utm=3 stm=2 core=2 HZ=100
      stack=0xdf8fd000-0xdf8ff000 stackSize=1038KB
      held mutexes=
      at java.lang.Object.wait! (Native method)
      • waiting on <0x00d3f36d> (a com.android.okhttp.ConnectionPool)
        at com.android.okhttp.ConnectionPool.performCleanup (ConnectionPool.java:307)
      • locked <0x00d3f36d> (a com.android.okhttp.ConnectionPool)
        at com.android.okhttp.ConnectionPool.runCleanupUntilPoolIsEmpty (ConnectionPool.java:244)
        at com.android.okhttp.ConnectionPool.access$000 (ConnectionPool.java:54)
        at com.android.okhttp.ConnectionPool$1.run (ConnectionPool.java:98)
        at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1113)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:588)
        at java.lang.Thread.run (Thread.java:818)

      "Okio Watchdog" tid=27 Waiting
      "Okio Watchdog" daemon prio=1 tid=27 Waiting

      group="main" sCount=1 dsCount=0 obj=0x12e92100 self=0xab8d1ed8
      sysTid=4537 nice=19 cgrp=bg_non_interactive sched=0/0 handle=0xddadb930
      state=S schedstat=( 5212603 9715053 45 ) utm=0 stm=0 core=1 HZ=100
      stack=0xdd9d9000-0xdd9db000 stackSize=1038KB
      held mutexes=
      at java.lang.Object.wait! (Native method)
      • waiting on <0x0f4e7b1c> (a java.lang.Class<com.android.okhttp.okio.AsyncTimeout>)
        at com.android.okhttp.okio.AsyncTimeout.awaitTimeout (AsyncTimeout.java:311)
      • locked <0x0f4e7b1c> (a java.lang.Class<com.android.okhttp.okio.AsyncTimeout>)
        at com.android.okhttp.okio.AsyncTimeout.access$000 (AsyncTimeout.java:40)
        at com.android.okhttp.okio.AsyncTimeout$Watchdog.run (AsyncTimeout.java:286)

        Attachments

          Activity

            People

            • Assignee:
              shossain Shak Hossain
              Reporter:
              hrfn Hugo Ramos Freire Neto
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code