maxrave-dev / maxrave-dev/SimpMusic

Download song

Open
#2,214 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
11.4k
Forks
599
Avg merge
3d 18h
Merged PRs (30d)
7

Description

Duplicate Check
  • I confirm I searched for existing reports and found no duplicates.
Describe the Bug

When download an song on playlist or anything and like did an two tap on download it bug to download but not the. Crash out when delete the download cache

Steps to Reproduce

Double tap download on an playlist or song wait atleast 15 sec
Go cache delete download then try again then it crash then when reset like uninstall to install it happen to crash

Expected Behavior

.

App Version

1.5.1

Android Version

Android 14

Device Model

TECHNO KL4

Custom ROM
  • I am using a custom ROM
Custom ROM Name (if applicable)

No response

Screenshots (optional)

No response

Log / Error Details

Build version: 1.5.1
Current date: 2026-07-03 09:43:26
Device: TECNO KL4
OS version: Android 14 (SDK 34)

Stack trace:
android.database.SQLException: Error code: 5, message: database is locked
at androidx.sqlite.driver.bundled.BundledSQLiteStatementKt.nativeReset(Native Method)
at androidx.sqlite.driver.bundled.BundledSQLiteStatementKt.o(r8-map-id-1f60123424d83cc867f564d6162d25c867f15fa989a4958b176f1e32b93f7841:1)
at hq0.reset(r8-map-id-1f60123424d83cc867f564d6162d25c867f15fa989a4958b176f1e32b93f7841:6)
at ri0.close(r8-map-id-1f60123424d83cc867f564d6162d25c867f15fa989a4958b176f1e32b93f7841:8)
at ed2.p(r8-map-id-1f60123424d83cc867f564d6162d25c867f15fa989a4958b176f1e32b93f7841:536)
at ed2.d(r8-map-id-1f60123424d83cc867f564d6162d25c867f15fa989a4958b176f1e32b93f7841:551)
at yy1.invokeSuspend(r8-map-id-1f60123424d83cc867f564d6162d25c867f15fa989a4958b176f1e32b93f7841:214)
at yy1.invoke(r8-map-id-1f60123424d83cc867f564d6162d25c867f15fa989a4958b176f1e32b93f7841:18)
at c71.invokeSuspend(r8-map-id-1f60123424d83cc867f564d6162d25c867f15fa989a4958b176f1e32b93f7841:1776)
at c71.invoke(r8-map-id-1f60123424d83cc867f564d6162d25c867f15fa989a4958b176f1e32b93f7841:334)
at lz4.j0(r8-map-id-1f60123424d83cc867f564d6162d25c867f15fa989a4958b176f1e32b93f7841:19)
at x15.j0(r8-map-id-1f60123424d83cc867f564d6162d25c867f15fa989a4958b176f1e32b93f7841:80)
at xm1.R(r8-map-id-1f60123424d83cc867f564d6162d25c867f15fa989a4958b176f1e32b93f7841:372)
at wm1.invokeSuspend(r8-map-id-1f60123424d83cc867f564d6162d25c867f15fa989a4958b176f1e32b93f7841:14)
at de0.resumeWith(r8-map-id-1f60123424d83cc867f564d6162d25c867f15fa989a4958b176f1e32b93f7841:8)
at iy9.p(r8-map-id-1f60123424d83cc867f564d6162d25c867f15fa989a4958b176f1e32b93f7841:7)
at x1.resumeWith(r8-map-id-1f60123424d83cc867f564d6162d25c867f15fa989a4958b176f1e32b93f7841:23)
at de0.resumeWith(r8-map-id-1f60123424d83cc867f564d6162d25c867f15fa989a4958b176f1e32b93f7841:33)
at tx2.run(r8-map-id-1f60123424d83cc867f564d6162d25c867f15fa989a4958b176f1e32b93f7841:114)
at t34.run(r8-map-id-1f60123424d83cc867f564d6162d25c867f15fa989a4958b176f1e32b93f7841:317)
at kbb.run(r8-map-id-1f60123424d83cc867f564d6162d25c867f15fa989a4958b176f1e32b93f7841:3)
at vv1.run(r8-map-id-1f60123424d83cc867f564d6162d25c867f15fa989a4958b176f1e32b93f7841:88)
Suppressed: mv2: [rf7@2c0148f, mo@7a6831c, qt5@265dec3, lwa{Cancelling}@1808b25, ko@1beb4fa]

User actions:
2026-07-03 09:41:09: MainActivity created
2026-07-03 09:41:09: MainActivity resumed

Contributor guide

Open the contributing guide

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 reproducing the double-tap download followed by download-cache deletion on Android 14, using MainActivity as the entry point. Inspect the download and cache database flow associated with the reported “database is locked” exception; done means repeating these actions without a crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
databases, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.