I'm having the same Disk I/O error problem on SQLite Cursor, trying to loop
through 10,000 records, and getting ugly Exceptions:

23625               dalvikvm  I  Uncaught exception thrown by finalizer
(will be discarded):
23625               dalvikvm  I  Ljava/lang/IllegalStateException;:
Finalizing cursor android.database.sqlite.sqlitecur...@499e7c90 on
LogMessages
                                  that has not been deactivated or closed
23625               dalvikvm  I      at
android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:596)
23625               dalvikvm  I      at dalvik.system.NativeStart.run(Native
Method)
23625         AndroidRuntime  E
android.database.sqlite.SQLiteDiskIOException: disk I/O error
23625         AndroidRuntime  E      at
android.database.sqlite.SQLiteQuery.native_fill_window(Native Method)
23625         AndroidRuntime  E      at
android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:75)
23625         AndroidRuntime  E      at
android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:288)
23625         AndroidRuntime  E      at
android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:269)
23625         AndroidRuntime  E      at
android.database.AbstractCursor.moveToPosition(AbstractCursor.java:171)
23625         AndroidRuntime  E      at
android.database.AbstractCursor.moveToFirst(AbstractCursor.java:248)
23625         AndroidRuntime  E      at
android.database.CursorWrapper.moveToFirst(CursorWrapper.java:86)
23625         AndroidRuntime  E

Exception still exists for 5,000 records, but went away when only 3,000
records in the db table.

Looks like an Android bug to me.

Anyone has a fix or is there already a bug issue reported?


On Sun, Jun 14, 2009 at 8:43 PM, aby <[email protected]> wrote:

>
> Hi,
> I implement ProviderTestCase2 to test my content provider functions.
> And when I insert huge number  (about 10000) of data,  the insert,
> delete and update functions are fine. But the query function will have
> SQLiteDiskIOOException: disk I/O error. And the data number limit of
> causing the exception is about 5000. Is it bug of content provider?
>
> And there is another problem. Each of my data has different priority.
> When I sort my data by priority, its no problem. But when I change
> priority of some data and then sorting again. Sometimes I will get
> incorrect result  and I'm sure its not logical problem of test
> program. Does anyone meet the same problem?
>
> Any suggestion is appreciative.Thanks
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to