android.database.sqlite.SQLiteDiskIOException: disk I/O error (code 522)

google.com | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. android.database.sqlite.SQLiteDiskIOException

    disk I/O error (code 522)

    at android.database.sqlite.SQLiteConnection.nativeExecuteForCursorWindow()
  2. Android Platform
    MediaScanner.scanDirectories
    1. android.database.sqlite.SQLiteConnection.nativeExecuteForCursorWindow(Native Method)
    2. android.database.sqlite.SQLiteConnection.executeForCursorWindow(SQLiteConnection.java:838)
    3. android.database.sqlite.SQLiteSession.executeForCursorWindow(SQLiteSession.java:836)
    4. android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:62)
    5. android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:143)
    6. android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:133)
    7. android.database.AbstractCursor.moveToPosition(AbstractCursor.java:196)
    8. android.database.AbstractCursor.moveToNext(AbstractCursor.java:244)
    9. android.media.MediaScanner.makeEntryFor(MediaScanner.java:1467)
    10. android.media.MediaScanner$MyMediaScannerClient.beginFile(MediaScanner.java:470)
    11. android.media.MediaScanner$MyMediaScannerClient.doScanFile(MediaScanner.java:524)
    12. android.media.MediaScanner$MyMediaScannerClient.scanFile(MediaScanner.java:516)
    13. android.media.MediaScanner.processDirectory(Native Method)
    14. android.media.MediaScanner.scanDirectories(MediaScanner.java:1286)
    14 frames
  3. com.android.providers
    MediaScannerService$ServiceHandler.handleMessage
    1. com.android.providers.media.MediaScannerService.scan(MediaScannerService.java:104)
    2. com.android.providers.media.MediaScannerService.access$300(MediaScannerService.java:49)
    3. com.android.providers.media.MediaScannerService$ServiceHandler.handleMessage(MediaScannerService.java:265)
    3 frames
  4. Android Platform
    Looper.loop
    1. android.os.Handler.dispatchMessage(Handler.java:99)
    2. android.os.Looper.loop(Looper.java:137)
    2 frames
  5. com.android.providers
    MediaScannerService.run
    1. com.android.providers.media.MediaScannerService.run(MediaScannerService.java:187)
    1 frame
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:856)
    1 frame