0% found this document useful (0 votes)
18 views2 pages

SQLite Disk I/O Error Debugging

The document describes an SQLiteDiskIOException error occurring during a database operation, specifically related to setting the journal mode. The error code indicates a disk I/O issue, which prevents the successful execution of the PRAGMA journal_mode command. This issue arises during the process of opening and preparing the SQLite database connection.

Uploaded by

yadavanurag98637
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views2 pages

SQLite Disk I/O Error Debugging

The document describes an SQLiteDiskIOException error occurring during a database operation, specifically related to setting the journal mode. The error code indicates a disk I/O issue, which prevents the successful execution of the PRAGMA journal_mode command. This issue arises during the process of opening and preparing the SQLite database connection.

Uploaded by

yadavanurag98637
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

android.database.sqlite.

SQLiteDiskIOException: disk I/O error (code 4874


SQLITE_IOERR_SHMSIZE): , while compiling: PRAGMA journal_mode
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native
Method)
at
android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.
java:1069)
at
android.database.sqlite.SQLiteConnection.executeForString(SQLiteConnection.java:811
)
at
android.database.sqlite.SQLiteConnection.setJournalMode(SQLiteConnection.java:419)
at
android.database.sqlite.SQLiteConnection.setJournalFromConfiguration(SQLiteConnecti
on.java:339)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:268)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:205)
at
android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionP
ool.java:528)
at
android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:215)
at
android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:207)
at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:1093)
at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:1073)
at
android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:934)
at
android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:923)
at
android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:37
3)
at
android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:
316)
at hl0$c.m(SourceFile:5)
at hl0$c.v(SourceFile:67)
at hl0$c.h(SourceFile:24)
at hl0.a0(SourceFile:6)
at wf2.q(SourceFile:5)
at wf2.d(SourceFile:1)
at tr0.b(SourceFile:12)
at as0$b.a(SourceFile:86)
at gz0$a$a.invokeSuspend(SourceFile:55)
at eg.resumeWith(SourceFile:12)
at q60.d(SourceFile:62)
at q60.a(SourceFile:52)
at jl.s(SourceFile:8)
at jl.N(SourceFile:34)
at jl.O(SourceFile:8)
at jl.o(SourceFile:29)
at nc0$a.run(SourceFile:7)
at nc0.q1(SourceFile:79)
at ph.V0(SourceFile:27)
at rj.a(SourceFile:77)
at qj.c(SourceFile:1)
at rj.b(SourceFile:7)
at qj.d(SourceFile:1)
at gz0$a.a(SourceFile:13)
at gz0$a.y(SourceFile:1)
at sj2$b.invokeSuspend(SourceFile:65)
at eg.resumeWith(SourceFile:12)
at p60.run(SourceFile:129)
at f81$a.run(SourceFile:4)
at x03.run(SourceFile:3)
at s00.e0(SourceFile:1)
at s00$c.d(SourceFile:15)
at s00$c.p(SourceFile:29)
at s00$c.run(SourceFile:1)
Suppressed: w50: [zu2{Cancelling}@5b973e4, Dispatchers.IO]

You might also like