{ "id": "164119", "key": "TIMOB-24060", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-11-11T20:42:27.000+0000", "created": "2016-10-20T21:41:43.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "CLI", "SDK6.0.0", "Titanium", "iOS", "listView", "netw" ], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-03-24T18:37:42.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Hi guys.\r\nMy app has a listView that has 3 sections. Each section has a button to trigger a request that populates the list with specific data.\r\nIt was working fine on SDK 5.X.X, but now it is crashing kind of randomly without showing any logs on Titanium CLI using SDK 6.0.0 beta.\r\nAttached is the log report I exported from Xcode, but logs are not symbolicated (it appears only titanium logs are not symbolicated).\r\n\r\nAny help on this issue?\r\nThanks in advance!", "attachment": [ { "id": "60635", "filename": "PiniOn 01-11-16 13-32.crash", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-11-02T07:00:24.000+0000", "size": 67473, "mimeType": "application/octet-stream" }, { "id": "60575", "filename": "PiniOn 20-10-16 19-06.crash", "author": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-20T21:34:55.000+0000", "size": 53619, "mimeType": "application/octet-stream" }, { "id": "60637", "filename": "PiniOn 28-10-16 18-12.crash", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-11-02T07:00:13.000+0000", "size": 53532, "mimeType": "application/octet-stream" }, { "id": "60636", "filename": "PiniOn 28-10-16 19-09.crash", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-11-02T07:00:22.000+0000", "size": 61166, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "iOS crashing without any log on SDK 6.0.0", "creator": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK 6.0.0 beta\r\niPhone 5s\r\niOS 10.0.2 (14A456) \r\nMac OS X 10.12", "closedSprints": [ { "id": 752, "state": "closed", "name": "2016 Sprint 23 SDK", "startDate": "2016-11-05T00:39:37.027Z", "endDate": "2016-11-19T01:39:00.000Z", "completeDate": "2016-11-29T06:51:57.887Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "399578", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Reading the crash data, it looks like something to do with http requests ({{Ti.Network.HTTPClient}}) or remote images in your list view. \r\n\r\n- Do you have those? \r\n- Does this only happen on device?\r\n- Does this work with other iOS versions?\r\n- Do you use kroll-thread or main-thread?\r\n\r\nAnd please provide a demo-code to reproduce. Otherwise it will be hard to track down your use-case. Thx!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-21T14:40:53.000+0000", "updated": "2016-10-21T14:54:21.000+0000" }, { "id": "399591", "author": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Hans.\r\nNo, I don't have remote images in my listView.\r\nThis happens on simulator and on iOS 9.3 as well.\r\nI'm not sure if I run main-thread. How can I be sure of that?\r\n\r\nI will build a demo code for since I don't have permission to share the actual code with you, but it is a simple listView with template, populated via a json response from a endpoint in our API. It was working fine until we bumped to 6.0.0.\r\n\r\nThanks in advance.", "updateAuthor": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-21T17:03:40.000+0000", "updated": "2016-10-21T17:03:40.000+0000" }, { "id": "399595", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Yes, you said that before. So what we need is the snippet of code that is causing it. Usually you just isolate the issue and recreate a reproducible test-case fir that. You can check whether you use main-thread in your tiapp.xml by checking if you have the {{run-on-main-thread}} property set to {{true}}.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-21T17:33:15.000+0000", "updated": "2016-10-21T17:33:15.000+0000" }, { "id": "399597", "author": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I don't even have this property on my tiapp.xml.\r\nWill write a test-case and send you asap.", "updateAuthor": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-21T17:40:38.000+0000", "updated": "2016-10-21T17:40:38.000+0000" }, { "id": "399842", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~perdona] any updates? :) actually i'm pretty sure there's dSYM file generated. did you check inside the generated build folder?", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-10-26T06:09:34.000+0000", "updated": "2016-10-26T06:09:34.000+0000" }, { "id": "399869", "author": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Chee Hi! I'm trying to isolate the issue using the less code possible. Still couldn't reproduce outside the app.\r\nWhere exactly inside the generated build folder?", "updateAuthor": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-26T15:42:48.000+0000", "updated": "2016-10-26T15:42:48.000+0000" }, { "id": "399903", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~perdona] {{/build/iphone/build/Products/Debug-iphonesimulator/}}", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-10-27T02:15:06.000+0000", "updated": "2016-10-27T02:15:06.000+0000" }, { "id": "399907", "author": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yeah, found it. How do I upload it to you guys?", "updateAuthor": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-27T03:06:50.000+0000", "updated": "2016-10-27T03:06:50.000+0000" }, { "id": "399908", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Oh please don't upload it to us. you have to use it in combination with your crash file to symbolicate it. check out this link:\r\nhttps://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/AnalyzingCrashReports/AnalyzingCrashReports.html\r\nhttps://developer.apple.com/library/content/technotes/tn2151/_index.html", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-10-27T03:17:51.000+0000", "updated": "2016-10-27T03:17:51.000+0000" }, { "id": "399911", "author": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks Chee. Will update you guys asap.", "updateAuthor": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-27T03:51:22.000+0000", "updated": "2016-10-27T03:51:22.000+0000" }, { "id": "400051", "author": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Guys, I got a fully symbolicated log.\r\nShould I upload it to you?", "updateAuthor": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-28T20:32:17.000+0000", "updated": "2016-10-28T20:32:17.000+0000" }, { "id": "400057", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~perdona] sure, I don't think there's any private information in the log. If there is, you can blanko them somehow.\r\n", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-10-29T00:10:08.000+0000", "updated": "2016-10-29T00:10:08.000+0000" }, { "id": "400115", "author": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "body": "How can I attach files on comments?", "updateAuthor": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-31T17:32:15.000+0000", "updated": "2016-10-31T17:32:15.000+0000" }, { "id": "400145", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~perdona] you should be able to attach it to the ticket itself rather than comments. otherwise, you can email to me.\r\n", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-11-01T03:12:52.000+0000", "updated": "2016-11-01T03:12:52.000+0000" }, { "id": "400175", "author": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Chee Kiat Ng Just emailed them to you. ", "updateAuthor": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-11-01T16:48:01.000+0000", "updated": "2016-11-01T16:48:01.000+0000" }, { "id": "400177", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~perdona] Have you been able to isolate the issue so far? Without that, we won't be able to do anything. Thx!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-11-01T16:52:04.000+0000", "updated": "2016-11-01T16:52:04.000+0000" }, { "id": "400181", "author": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Hans Knoechel Actually I haven't. App is crashing in several circumstances, not only on the listView. I thought the logs would be enough and more accurate for you.\r\nI tried to isolate the issue, but I couldn't get it to crash in a generic snippet... If you really need it, I can work on that. ", "updateAuthor": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-11-01T17:06:19.000+0000", "updated": "2016-11-01T17:06:19.000+0000" }, { "id": "400232", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I have attached the crash logs. It's going to be mostly guess work, so if [~perdona] you can isolate the issue, it'll be incredibly helpful. We haven't seen something like this from other folks.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-11-02T07:02:21.000+0000", "updated": "2016-11-02T07:02:21.000+0000" }, { "id": "400824", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Resolving as a duplicate of TIMOB-24139 which has been fixed just today. Just found out that the log\r\n{code}\r\n5 PiniOn \t0x100171978 -[ImageCacheEntry imageForSize:scalingStyle:] (ImageLoader.m:157)\r\n6 PiniOn \t0x100102d38 +[TiUtils loadBackgroundImage:forProxy:] (TiUtils.m:1994)\r\n7 PiniOn \t0x100140a3c -[TiUIButton setBackgroundImage_:] (TiUIButton.m:268)\r\n{code}\r\nwas exactly what occurred in the other ticket as well. Please try the latest 6.0.0 build which will already include the fix. Thx!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-11-11T20:42:27.000+0000", "updated": "2016-11-11T20:42:27.000+0000" }, { "id": "415696", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate with reference to the linked issues.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-24T18:37:42.000+0000", "updated": "2017-03-24T18:37:42.000+0000" } ], "maxResults": 20, "total": 20, "startAt": 0 } } }