lingochamp / lingochamp/FileDownloader

java.lang.RuntimeException: Unable to create service com.liulishuo.filedownloader.services.FileDownloadService$SharedMainProcessService: android.database.sqlite.SQLiteDiskIOException: disk I/O error (code 3850) at android.app.ActivityThread.handleCreateService(ActivityThread.java:2791)

Open
#1,332 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
11.1k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

filedownloader version : 1.7.7
process.non-separate=true
don not know how to recreate this problem

java.lang.RuntimeException: Unable to create service com.liulishuo.filedownloader.services.FileDownloadService$SharedMainProcessService: android.database.sqlite.SQLiteDiskIOException: disk I/O error (code 778)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2791)
at android.app.ActivityThread.access$1800(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1402)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5280)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:963)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:758)
Caused by: android.database.sqlite.SQLiteDiskIOException: disk I/O error (code 778)
at android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount(Native Method)
at android.database.sqlite.SQLiteConnection.executeForChangedRowCount(SQLiteConnection.java:734)
at android.database.sqlite.SQLiteSession.executeForChangedRowCount(SQLiteSession.java:754)
at android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:64)
at android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1676)
at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1605)
at com.liulishuo.filedownloader.database.SqliteDatabaseImpl$MaintainerIterator.onFinishMaintain(SqliteDatabaseImpl.java:394)
at com.liulishuo.filedownloader.database.SqliteDatabaseImpl$Maintainer.onFinishMaintain(SqliteDatabaseImpl.java:292)
at com.liulishuo.filedownloader.download.CustomComponentHolder.maintainDatabase(CustomComponentHolder.java:276)
at com.liulishuo.filedownloader.download.CustomComponentHolder.getDatabaseInstance(CustomComponentHolder.java:91)
at com.liulishuo.filedownloader.services.FileDownloadManager.(FileDownloadManager.java:54)
at com.liulishuo.filedownloader.services.FileDownloadService.onCreate(FileDownloadService.java:66)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2781)
... 9 more
android.database.sqlite.SQLiteDiskIOException: disk I/O error (code 778)
at android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount(Native Method)
at android.database.sqlite.SQLiteConnection.executeForChangedRowCount(SQLiteConnection.java:734)
at android.database.sqlite.SQLiteSession.executeForChangedRowCount(SQLiteSession.java:754)
at android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:64)
at android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1676)
at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1605)
at com.liulishuo.filedownloader.database.SqliteDatabaseImpl$MaintainerIterator.onFinishMaintain(SqliteDatabaseImpl.java:394)
at com.liulishuo.filedownloader.database.SqliteDatabaseImpl$Maintainer.onFinishMaintain(SqliteDatabaseImpl.java:292)
at com.liulishuo.filedownloader.download.CustomComponentHolder.maintainDatabase(CustomComponentHolder.java:276)
at com.liulishuo.filedownloader.download.CustomComponentHolder.getDatabaseInstance(CustomComponentHolder.java:91)
at com.liulishuo.filedownloader.services.FileDownloadManager.(FileDownloadManager.java:54)
at com.liulishuo.filedownloader.services.FileDownloadService.onCreate(FileDownloadService.java:66)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2781)
at android.app.ActivityThread.access$1800(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1402)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5280)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:963)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:758)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing FileDownloadService.onCreate through FileDownloadManager and CustomComponentHolder. Inspect SqliteDatabaseImpl.MaintainerIterator.onFinishMaintain, but the report provides no reproduction, affected device conditions, requested behavior, or acceptance criterion, so completion cannot be defined from the issue alone.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, sqlite
Domain
databases, mobile-dev
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.