View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0020371 | MMA | General | public | 2023-11-15 02:03 | 2023-11-22 13:06 |
Reporter | rusty | Assigned To | |||
Priority | urgent | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 2.0.0 | ||||
Target Version | 2.0.0 | Fixed in Version | 2.0.0 | ||
Summary | 0020371: 'Dirty' install of MMA results in skipped or failed permissions / crash on startup | ||||
Description | If the user uninstalls MMA and retains the DB, then upon installing and running build 1154, MMA always crashes and then shows the Welcome to MediaMonkey / Folder Permission granting screen (i.e. it seems to skip the initial screen prompting for access to Music/Audio). Tested multiple times with S10/Android 12. | ||||
Steps To Reproduce | 1 Install MMA and sync some tracks 2 Install MMA Pro (probably not relevant) 3 Uninstall MMA but retain data 4 Re-install MMA --> Crash screen briefly appears --> Welcome to MM / Folder grant screen appears ! (having skipped prompting for other permissions) | ||||
Tags | No tags attached. | ||||
Fixed in build | 1157 | ||||
|
On further testing, it seems that MMA briefly crashes every time it starts (I'm guessing that the required permissions are missing but MMA crashes before it's able to request them??) and then continues running. Debug log: SX611S9YBQ (manually generated subsequent to the crash). |
|
On a clean install, it presents the license and then prompts 'Allow MediaMonkey to access photos and media on your device?". And it never crashes subsequently. Note that both clean and dirty installs prompt for folder permissions. So the bug is likely related to the fact that for some reason, on a 'dirty install' MM doesn't show this prompt. |
|
I've subsequently done a clean installation, and then tried to replicate the crash, but am unable to. So it's unclear what was triggering the crash. The only anomaly that I do consistently observe now with every 'dirty install' on the S10, is that: - 'dirty installs' (i.e. uninstalling MMA but retaining data, and then installing MMA from the play store) consistently fail to prompt the user to grant access to Music and Media. - when I attempt to grant access to the internal /Music folder, the following message always results "Path 'Internal storage/Music was not requested. Please choose fro..." (the toast in truncated). |
|
1)Runtime permissions are kept: So access to Music and Media is not asked again. (SX611S9YBQ and my testing confirm that permission is granted) 2)TreeUri permissions are not persisted (access to folders) Re: "Path ... was not requested" please send log after that |
|
Interestingly, when I test an Android tablet running Android 13, and a Pixel 2XL running Android 11, the issue doesn't occur. Maybe priority should be reduced. |
|
Btw on the first video, there is a crash dialog which is covered by the home screen activity. If go from the home screen by back action then the dialog should be still visible and you should be able to send crashlogs. Or you can enable "Send crash logs automatically" in Options/General for next time. I cannot replicate it either. So I agree that we can reduce priority. |
|
I can no longer replicate the crash :-( But here's a debug log for the 'path not requested' issue from 0020371:0073500 AVTJRSM9HC Reducing priority. |
|
The 'path not requested' issue fixed in build 2.0.0.1157 |