Open tuesda opened 3 years ago
Seems like it crashes when opening the database for reading in case of a disk full.
Seems like that the error thrown shouldn't be a SQLiteDiskIOException
in the first place. This would result in a playback failure which can be handled in a more graceful way.
Thanks for reporting!
same here
android.database.sqlite.SQLiteDiskIOException
disk I/O error (code 4874 SQLITE_IOERR_SHMSIZE)
android.database.sqlite.SQLiteConnection.nativeExecuteForLong(Native Method)
android.database.sqlite.SQLiteConnection.executeForLong(SQLiteConnection.java:612)
android.database.sqlite.SQLiteSession.executeForLong(SQLiteSession.java:652)
android.database.sqlite.SQLiteStatement.simpleQueryForLong(SQLiteStatement.java:107)
android.database.DatabaseUtils.longForQuery(DatabaseUtils.java:842)
android.database.DatabaseUtils.longForQuery(DatabaseUtils.java:830)
android.database.sqlite.SQLiteDatabase.getVersion(SQLiteDatabase.java:956)
android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:371)
android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:322)
z60$a.exists(SourceFile:2)
z60.initialize(SourceFile:4)
com.google.android.exoplayer2.upstream.cache.c.initialize(SourceFile:13)
com.google.android.exoplayer2.upstream.cache.c.a(SourceFile:1)
com.google.android.exoplayer2.upstream.cache.c$a.run(SourceFile:3)
ExoPlayer version number: 2.16.0 Android version: Android 9 Android device: XiaoMi Note 3
Hi, we are also getting same crash on Moto g devices.
Clear reproduction steps including observed and expected behavior
reproduction steps:
when device receive 'DEVICE_STORAGE_LOW' event
create SimpleCache object
expected:
no crash
Output of running "adb bugreport" in the console shortly after encountering