[TIMOB-24463] CRASH PLSqliteException: Error occurred calling next on a PLSqliteResultSet. SQLite error: 'disk I/O error' for 'select attempts from last_attempt'
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Resolved |
Resolution | Hold |
Resolution Date | 2018-03-28T09:52:14.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Caio Perdona |
Assignee | Unknown |
Created | 2017-03-07T22:50:45.000+0000 |
Updated | 2019-03-12T01:25:50.000+0000 |
Description
Getting a lot of crashes in APM with the following:
CRASH PLSqliteException: Error occurred calling next on a PLSqliteResultSet. SQLite error: 'disk I/O error' for 'select attempts from last_attempt'
Looks like an issue with APSAnalytics. It may or may not be caused by [this line](https://github.com/appcelerator/aps_sdk/blob/master/ios/support/analytics/APSAnalytics/APSAnalytics.m#L181) (private repo) executing the requeueing in a different sync-queue than the one calling it. I saw this a few times in sim-builds, but never took a detailed look into it. As it's really really hard to reproduce, we would either need a reproducible case or try out a new build that uses a different queue. For the second case, you could try to use [this library](https://www.dropbox.com/s/nf4lh1yh0uurtgf/libAPSAnalytics.zip?dl=1) by replacing it in
~/Library/Application Support/Titanium/mobilesdk/osx/<sdk-version>/iphone/Classes/APSAnalytics
.Thanks for the feedback Hans. Will try that and follow up here...
Hello, Can you follow up on current status of the issue? Thanks.
[~perdona] Any update on my feedback? We want to address possible APSAnalytics issues over the next weeks, so any constructive feedback would help.
Resolving due to inactivity. As this didn't rise up again, it looks like its not an issue anymore!
Was this ever resolved? This error and several variations of it are the top 5 crash causes of our app. We do use the Axway Analytics module as well.