Matt (preinvent) wrote:
> Well there it is:
> 
> 03-19 22:43:02.624: ERROR/AndroidRuntime(2002): Caused by:
> android.database.sqlite.SQLiteDatabaseCorruptException: database disk
> image is malformed
> 03-19 22:43:02.624: ERROR/AndroidRuntime(2002):     at
> android.database.sqlite.SQLiteQuery.native_fill_window(Native Method)
> 03-19 22:43:02.624: ERROR/AndroidRuntime(2002):     at
> android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:75)
> 03-19 22:43:02.624: ERROR/AndroidRuntime(2002):     at
> android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:288)
> 03-19 22:43:02.624: ERROR/AndroidRuntime(2002):     at
> android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:269)
> 03-19 22:43:02.624: ERROR/AndroidRuntime(2002):     at
> android.database.AbstractCursor.moveToPosition(AbstractCursor.java:
> 171)
> 03-19 22:43:02.624: ERROR/AndroidRuntime(2002):     at
> android.database.AbstractCursor.moveToFirst(AbstractCursor.java:248)
> 
> Great.  Guess I'll be looking for another storage solution :(

That's pretty damn strange. That is triggered by a return code 11 from
the underlying SQLite implementation (SQLITE_CORRUPT). That error does
not happen very often, based on my limited research, even for normal
SQLite operations.

If you can, grab a copy of the database and post it with this stack
trace as an issue out on http://b.android.com, and shoot me the link. If
you think of it, include in the issue a pointer to this thread,
reminders of on what environment(s) you're encountering it, and what
query you ran (if you know) whose Cursor's moveToFirst() triggered the
error.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to