Skip to content

Crash when clicking three-dots button on a song in playlist #4094

Description

@duggavo

Checklist - Required

  • I am able to reproduce the bug with the latest debug version.
  • I've checked that there is NO open or closed issue about this bug. (Duplicate issues will be closed immediately without response)
  • This issue contains only ONE bug. PLEASE check pinned issues before opening a new one.
  • The title of this issue accurately describes the bug.
  • The entire issue report is written/translated in English.

Steps to reproduce the bug

  1. Open a playlist (my playlist has 160 songs, if that matters)
  2. Click the three dots on ANY song
  3. It crashes

Expected behavior

It shouldn't crash

Actual behavior

It crashes

Screenshots/Screen recordings

No response

Logs


Metrolist Crash Report
==================================================

Manufacturer: motorola
Device: moto g(8) power
Android version: 11 (SDK 30)
App version: 13.6.0 (149)

==================================================
Stacktrace:
==================================================

android.database.sqlite.SQLiteException: too many SQL variables (code 1 SQLITE_ERROR): , while compiling: SELECT * FROM song WHERE id IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,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?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
	at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
	at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:1045)
	at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:652)
	at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:590)
	at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:61)
	at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:37)
	at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:46)
	at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1545)
	at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1520)
	at androidx.sqlite.db.framework.FrameworkSQLiteDatabase.query(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:21)
	at androidx.sqlite.driver.SupportSQLiteStatement$RowSQLiteStatement.ensureCursor(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:12)
	at androidx.sqlite.driver.SupportSQLiteStatement$RowSQLiteStatement.getColumnCount(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:4)
	at androidx.core.os.BundleKt.columnIndexOf(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:4)
	at androidx.core.os.BundleKt.getColumnIndexOrThrow(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:4)
	at coil3.compose.internal.UtilsKt$$ExternalSyntheticLambda1.invoke$com$metrolist$music$db$DatabaseDao_Impl$$ExternalSyntheticLambda166(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:54)
	at coil3.compose.internal.UtilsKt$$ExternalSyntheticLambda1.invoke(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:286)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performSuspending$lambda$1$$inlined$internalPerform$1$1.invokeSuspend(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:45)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performSuspending$lambda$1$$inlined$internalPerform$1$1.invoke(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:29)
	at androidx.room.coroutines.PassthroughConnection.transaction(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:107)
	at com.metrolist.innertube.InnerTube$feedback$2.invokeSuspend(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:80)
	at com.metrolist.innertube.InnerTube$feedback$2.invoke(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:27)
	at coil3.util.DrawableUtils.compatTransactionCoroutineExecute(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:36)
	at androidx.room.RoomDatabase$createConnectionManager$2.invoke(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:61)
	at androidx.room.coroutines.PassthroughConnection.withTransaction(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:13)
	at com.metrolist.music.viewmodels.LyricsViewModel$processLyrics$1.invokeSuspend(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:173)
	at com.metrolist.music.viewmodels.LyricsViewModel$processLyrics$1.invoke(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:18)
	at com.metrolist.music.App$onCreate$1.invokeSuspend(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:964)
	at com.metrolist.music.App$onCreate$1.invoke(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:245)
	at coil3.util.LifecyclesKt.startUndispatched(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:19)
	at kotlinx.coroutines.JobKt.withContext(Unknown Source:80)
	at androidx.room.coroutines.PassthroughConnectionPool.useConnection(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:54)
	at androidx.room.RoomDatabase.useConnection(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:9)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1$1.invokeSuspend(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:47)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:8)
	at kotlinx.coroutines.DispatchedTask.run(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:114)
	at androidx.room.TransactionExecutor$$ExternalSyntheticLambda0.run(r8-map-id-f778c28520c5a8a174e98da3a7f44663c9536360f0df870e06205ad9d5f1d168:671)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.lang.Thread.run(Thread.java:923)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@41917b8, Dispatchers.Main.immediate]

Metrolist version

Latest, i've even tried Nightly

Android version

Android 11

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA feature isn't working correctly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions