Skip to content

Fatal Exception: android.database.CursorWindowAllocationException #83

@dasebasto

Description

@dasebasto

There's a bug in the SDK, causing crashes on multiple devices and Android versions (at least from Lollipop to Nougat).

It's an uncaught exception:

Fatal Exception: android.database.CursorWindowAllocationException
Cursor window allocation of 2048 kb failed.

android.database.CursorWindow. (CursorWindow.java:108)
  | android.database.AbstractWindowedCursor.clearOrCreateWindow (AbstractWindowedCursor.java:198)
  | android.database.sqlite.SQLiteCursor.fillWindow (SQLiteCursor.java:138)
  | android.database.sqlite.SQLiteCursor.getCount (SQLiteCursor.java:132)
  | com.mobfox.sdk.logging.ReportsQueueDB.addCrashItemToMessage (SourceFile:269)
  | com.mobfox.sdk.logging.ReportsQueueManager$AddCrashAsyncTask.onPostExecute (SourceFile:1504)
  | android.os.AsyncTask.finish (AsyncTask.java:692)

I understand this happens during some kind of internal crash reporting.
SQLite exceptions should be caught then and not crash the whole app.

More details about the occurrences in production can be found here: http://crashes.to/s/81b4f1a7ab2

Thanks.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions