{ "id": "152618", "key": "AC-1017", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2015-11-04T07:00:51.000+0000", "created": "2015-11-03T19:18:47.000+0000", "labels": [ "apm", "ios" ], "versions": [ { "id": "17033", "name": "Appcelerator Studio 4.3.1", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "updated": "2016-03-08T07:37:21.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." } ], "description": "Hi,\r\n\r\nLately we have been observing that our application is crashing and the log in Appcelerator Dashboard confirms that it is happening at [APSPLSqliteDatabase(PLSqliteDatabasePrivate) createStatement:error:].\r\n\r\nIn our application, we are not making any database related calls and this issue we cannot recreate locally during QA testing. Most of the crashes are being reported from iOS 9.x and one from iOS 8.4.1. As we are not using any database calls from our application (only Ti.App.Properties) so there is no test app that we can share.\r\n\r\nThis issue is happening around every day for the application once or twice daily.\r\n\r\nCall Stack - 1:\r\n===========\r\nMyApp 0x00000001001631a0 -[APSPLSqliteDatabase(PLSqliteDatabasePrivate) createStatement:error:] (APSPLSqliteDatabase.m:500)\r\nSuspected Crash Line\r\n\r\nMyApp 0x00000001001630e0 -[APSPLSqliteDatabase(PLSqliteDatabasePrivate) prepareStatement:error:closeAtCheckin:] (APSPLSqliteDatabase.m:475)\r\n\r\nMyApp 0x0000000100162d14 -[APSPLSqliteDatabase executeQueryAndReturnError:statement:args:] (APSPLSqliteDatabase.m:280)\r\n\r\nMyApp 0x0000000100162dfc -[APSPLSqliteDatabase executeQuery:] (APSPLSqliteDatabase.m:310)\r\n\r\nMyApp 0x000000010015f3dc -[APSAnalytics findSequenceNumber] (APSAnalytics.m:587)\r\n\r\nMyApp 0x000000010015fff0 -[APSAnalytics enableAnalyticsDB] (APSAnalytics.m:733)\r\n\r\nMyApp 0x0000000100161e68 -[APSAnalytics foregroundEvent:] (APSAnalytics.m:980)\r\n\r\n\r\nCall Stack - 2\r\n===========\r\nMyApp 0x00000001001ab1a0 -[APSPLSqliteDatabase(PLSqliteDatabasePrivate) createStatement:error:] (APSPLSqliteDatabase.m:500)\r\nSuspected Crash Line\r\n\r\nMyApp 0x00000001001ab0e0 -[APSPLSqliteDatabase(PLSqliteDatabasePrivate) prepareStatement:error:closeAtCheckin:] (APSPLSqliteDatabase.m:475)\r\n\r\nMyApp 0x00000001001aad14 -[APSPLSqliteDatabase executeQueryAndReturnError:statement:args:] (APSPLSqliteDatabase.m:280)\r\n\r\nMyApp 0x00000001001aadfc -[APSPLSqliteDatabase executeQuery:] (APSPLSqliteDatabase.m:310)\r\n\r\nMyApp 0x00000001001a6478 -[APSAnalytics checkForPreviousEventInDB:] (APSAnalytics.m:387)\r\n\r\nMyApp 0x00000001001a9ea0 -[APSAnalytics foregroundEvent:] (APSAnalytics.m:981)\r\n\r\n\r\nBoth of them are crashing in the same createStatement call.", "attachment": [ { "id": "57264", "filename": "StackTrace.txt", "author": { "name": "soumyakantikar", "key": "soumyakantikar", "displayName": "Soumya Kanti Kar", "active": true, "timeZone": "America/Havana" }, "created": "2015-11-04T15:13:59.000+0000", "size": 3231, "mimeType": "text/plain" } ], "flagged": false, "summary": "APSPLSqliteDatabase(PLSqliteDatabasePrivate) Crash", "creator": { "name": "soumyakantikar", "key": "soumyakantikar", "displayName": "Soumya Kanti Kar", "active": true, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "soumyakantikar", "key": "soumyakantikar", "displayName": "Soumya Kanti Kar", "active": true, "timeZone": "America/Havana" }, "environment": "Alloy : 1.5.1\r\nNPM : 1.3.2\r\nTitanium : 3.4.1\r\nTitanium SDK: 3.5.0.GA\r\nXCode : 6.x\r\nStudio : 3.4.1\r\nOS: Mac OS X 10.10.1\r\nnodeJs : 0.10.13\r\nAPM: 1.1.5", "comment": { "comments": [ { "id": "368948", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "body": "Hi,\r\nCould I have access to your code or create a simple test case to reproduce it? \r\n\r\nI can't reproduce it .It looks like the feature *Ti.App.Properties* in Appcelerator Studio is working fine for me.\r\n\r\nThanks", "updateAuthor": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2015-11-04T06:41:05.000+0000", "updated": "2015-11-04T06:41:05.000+0000" }, { "id": "368982", "author": { "name": "soumyakantikar", "key": "soumyakantikar", "displayName": "Soumya Kanti Kar", "active": true, "timeZone": "America/Havana" }, "body": "Hi,\r\n\r\nThere is no sample code. The crash report has been generated from an application in production. Ti.App.Properties is working fine I guess, the reason being that from the stack trace it can be observed that the crash has occurred in APSPLSqliteDatabase which is being called from APSAnalytics, which I am assuming is used by Appcelerator analytics to send data to dashboard for the application.\r\n\r\nWe have no database (sqlite) related calls in our code and hence APSAnalytics is being invoked by some other calls as analytics is enabled in our application's TiApp.xml.\r\n\r\nHence would request to reopen the defect.", "updateAuthor": { "name": "soumyakantikar", "key": "soumyakantikar", "displayName": "Soumya Kanti Kar", "active": true, "timeZone": "America/Havana" }, "created": "2015-11-04T15:03:09.000+0000", "updated": "2015-11-04T15:12:26.000+0000" }, { "id": "368983", "author": { "name": "soumyakantikar", "key": "soumyakantikar", "displayName": "Soumya Kanti Kar", "active": true, "timeZone": "America/Havana" }, "body": "Stack trace has been attached for more information.", "updateAuthor": { "name": "soumyakantikar", "key": "soumyakantikar", "displayName": "Soumya Kanti Kar", "active": true, "timeZone": "America/Havana" }, "created": "2015-11-04T15:14:15.000+0000", "updated": "2015-11-04T15:14:15.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }