{ "id": "170335", "key": "TIMOB-25519", "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": [ { "id": "17609", "description": "", "name": "Release 7.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-11-22T14:31:09.000+0000", "created": "2017-11-16T11:01:46.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "analytics", "bug", "ios", "sqlite" ], "versions": [ { "id": "18322", "name": "Release 5.5.1", "archived": false, "released": true, "releaseDate": "2016-09-28" }, { "id": "17609", "description": "", "name": "Release 7.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" }, { "id": "19906", "description": "", "name": "Release 6.3.0", "archived": false, "released": true, "releaseDate": "2017-11-01" } ], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2018-08-06T17:49:16.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": "I got the following Stacktrace when starting an app.\r\n{code}\r\n[ERROR] : The application has crashed with an uncaught exception 'PLSqliteException'.\r\n[ERROR] : Reason:\r\n[ERROR] : Attempted to access non-NSString * column as NSString *.\r\n[ERROR] : Stack trace:\r\n[ERROR] : 0 CoreFoundation 0x0000000181bd9d04 + 124\r\n[ERROR] : 1 libobjc.A.dylib 0x0000000180e28528 objc_exception_throw + 56\r\n[ERROR] : 2 CoreFoundation 0x0000000181bd9c4c + 0\r\n[ERROR] : 3 Stapler 0x0000000102e32f30 Stapler + 4190000\r\n[ERROR] : 4 Stapler 0x0000000102e2b948 Stapler + 4159816\r\n[ERROR] : 5 libdispatch.dylib 0x000000018155d048 + 16\r\n[ERROR] : 6 libdispatch.dylib 0x0000000181599ea8 + 56\r\n[ERROR] : 7 Stapler 0x0000000102e2b850 Stapler + 4159568\r\n[ERROR] : 8 Stapler 0x0000000102e2ff18 Stapler + 4177688\r\n[ERROR] : 9 libdispatch.dylib 0x000000018155d088 + 24\r\n[ERROR] : 10 libdispatch.dylib 0x000000018155d048 + 16\r\n[ERROR] : 11 libdispatch.dylib 0x000000018159b1c0 + 520\r\n[ERROR] : 12 libdispatch.dylib 0x000000018159bb30 + 340\r\n[ERROR] : 13 libdispatch.dylib 0x000000018159c528 + 380\r\n[ERROR] : 14 libdispatch.dylib 0x00000001815a45c4 + 640\r\n[ERROR] : 15 libsystem_pthread.dylib 0x0000000181802fd0 _pthread_wqthread + 932\r\n[ERROR] : 16 libsystem_pthread.dylib 0x0000000181802c20 start_wqthread + 4\r\n-- End application log -------------------------------------------------------\r\n{code}\r\n\r\nFurther investigation showed issue had to do with analytics. Attached the analytics.db file which caused the issue. \r\n\r\nIt started happening after the phone went in airplane mode.", "attachment": [ { "id": "63613", "filename": "analytics.db", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-11-16T11:00:56.000+0000", "size": 24576, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "iOS: App can crash with unhandled Analytics SQLite error ", "creator": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "environment": "TiSDK 6.3.0\r\nXcode 9.1\r\nOSX/iOS 11", "comment": { "comments": [ { "id": "430806", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/aps_sdk/pull/305\r\nTest-Case: It may be reproducible when switching to airplane mode, but unless [~topener] can provide more detailed testing-instructions, he might be able to share the app he used in a confidential way with the QE-team?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-11-16T11:09:28.000+0000", "updated": "2017-11-16T11:09:28.000+0000" }, { "id": "430809", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "I can sure share the app, but I'm not calling anything specific of the analytics lib. I just enabled it, haven't actually started using it with events and such.\r\n\r\nI switched to airplane mode while using the app (it was in memory). It was a development build but not sure if that matters. After starting the app again it crashes and was unable to recover, even after a new build from my mac.", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-11-16T11:22:12.000+0000", "updated": "2017-11-16T11:22:12.000+0000" }, { "id": "430826", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR (titanium_mobile/master): https://github.com/appcelerator/titanium_mobile/pull/9612\r\n\r\nRequires [this PR|https://github.com/appcelerator/titanium_mobile/pull/9591] to be merged before!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-11-16T16:30:24.000+0000", "updated": "2017-11-16T16:30:24.000+0000" }, { "id": "440090", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:49:16.000+0000", "updated": "2018-08-06T17:49:16.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }