{ "id": "169119", "key": "AC-5108", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-10-17T19:34:01.000+0000", "created": "2017-07-26T18:13:30.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-10-17T19:34:01.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Android ANRs Trace:\r\n\r\n\"OkHttp ConnectionPool\" tid=17 TimedWaiting \r\n\"OkHttp ConnectionPool\" daemon prio=5 tid=17 TimedWaiting\r\n | group=\"main\" sCount=1 dsCount=0 obj=0x12f7f640 self=0xab81ed58\r\n | sysTid=4515 nice=0 cgrp=default sched=0/0 handle=0xdf9ff930\r\n | state=S schedstat=( 54297968 36339376 163 ) utm=3 stm=2 core=2 HZ=100\r\n | stack=0xdf8fd000-0xdf8ff000 stackSize=1038KB\r\n | held mutexes=\r\n at java.lang.Object.wait! (Native method)\r\n- waiting on <0x00d3f36d> (a com.android.okhttp.ConnectionPool)\r\n at com.android.okhttp.ConnectionPool.performCleanup (ConnectionPool.java:307)\r\n- locked <0x00d3f36d> (a com.android.okhttp.ConnectionPool)\r\n at com.android.okhttp.ConnectionPool.runCleanupUntilPoolIsEmpty (ConnectionPool.java:244)\r\n at com.android.okhttp.ConnectionPool.access$000 (ConnectionPool.java:54)\r\n at com.android.okhttp.ConnectionPool$1.run (ConnectionPool.java:98)\r\n at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1113)\r\n at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:588)\r\n at java.lang.Thread.run (Thread.java:818)\r\n\r\n\"Okio Watchdog\" tid=27 Waiting \r\n\"Okio Watchdog\" daemon prio=1 tid=27 Waiting\r\n | group=\"main\" sCount=1 dsCount=0 obj=0x12e92100 self=0xab8d1ed8\r\n | sysTid=4537 nice=19 cgrp=bg_non_interactive sched=0/0 handle=0xddadb930\r\n | state=S schedstat=( 5212603 9715053 45 ) utm=0 stm=0 core=1 HZ=100\r\n | stack=0xdd9d9000-0xdd9db000 stackSize=1038KB\r\n | held mutexes=\r\n at java.lang.Object.wait! (Native method)\r\n- waiting on <0x0f4e7b1c> (a java.lang.Class)\r\n at com.android.okhttp.okio.AsyncTimeout.awaitTimeout (AsyncTimeout.java:311)\r\n- locked <0x0f4e7b1c> (a java.lang.Class)\r\n at com.android.okhttp.okio.AsyncTimeout.access$000 (AsyncTimeout.java:40)\r\n at com.android.okhttp.okio.AsyncTimeout$Watchdog.run (AsyncTimeout.java:286)", "attachment": [], "flagged": false, "summary": "Intermittent crashes on android. Seems related to okhttp", "creator": { "name": "hrfn", "key": "hrfn", "displayName": "Hugo Ramos Freire Neto", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "hrfn", "key": "hrfn", "displayName": "Hugo Ramos Freire Neto", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK: 6.1.1\r\nAlloy: 1.10.3\r\nAndroid Versions: 6.0, 7.0\r\nIt mainly occurs on Moto G", "comment": { "comments": [ { "id": "425084", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~hrfn] Could you provide a test case that reproduces the issue?", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-07-31T12:40:17.000+0000", "updated": "2017-07-31T12:40:17.000+0000" }, { "id": "425085", "author": { "name": "hrfn", "key": "hrfn", "displayName": "Hugo Ramos Freire Neto", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I can not reproduce, only users of my app are complaining that the app closes. And I can see this crashes on ANR log.", "updateAuthor": { "name": "hrfn", "key": "hrfn", "displayName": "Hugo Ramos Freire Neto", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-07-31T13:02:28.000+0000", "updated": "2017-07-31T13:02:28.000+0000" }, { "id": "426917", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, We need a sample code that reproduce the issue. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-08-18T21:45:06.000+0000", "updated": "2017-08-18T21:45:06.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }