Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLiteDatabaseLockedException 1.7.5版本崩溃 #1432

Open
gaomh1993 opened this issue Feb 17, 2024 · 0 comments
Open

SQLiteDatabaseLockedException 1.7.5版本崩溃 #1432

gaomh1993 opened this issue Feb 17, 2024 · 0 comments

Comments

@gaomh1993
Copy link

老师您好:
我在使用1.7.5版本的时候发生了多次上报的崩溃现象,我是在单任务执行的情况下同时下载两个文件。日志如下 该问题主要集中在4.2.2和4.4.2中,还有我在下载过程中会有个极小概率的crash空指针问题,是否会对此造成影响
Caused by: android.database.sqlite.SQLiteDatabaseLockedException: database is locked (code 5)
2.at android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount(Native Method)
3.at android.database.sqlite.SQLiteConnection.executeForChangedRowCount(SQLiteConnection.java:734)
4.at android.database.sqlite.SQLiteSession.executeForChangedRowCount(SQLiteSession.java:754)
5.at android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:64)
6.at android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1674)
7.at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1603)
8.at com.networkbench.agent.impl.instrumentation.NBSSQLiteInstrumentation.execSQL(SourceFile:2)
9.at com.liulishuo.filedownloader.h0.d.q(SourceFile:1)
10.at com.liulishuo.filedownloader.h0.c.z(SourceFile:5)
11.at com.liulishuo.filedownloader.h0.c.v(SourceFile:1)
12.at com.liulishuo.filedownloader.h0.c$a.handleMessage(SourceFile:6)
13.at android.os.Handler.dispatchMessage(Handler.java:95)
14.at android.os.Looper.loop(Looper.java:137)
15.at android.os.HandlerThread.run(HandlerThread.java:61)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant