View Issue Details

IDProjectCategoryView StatusLast Update
0020602MMANavigationpublic2024-02-20 17:09
Reporterrusty Assigned To 
PriorityimmediateSeveritycrashReproducibilitysometimes
Status closedResolutionreopened 
Product Version2.0.0 
Target Version2.0.0Fixed in Version2.0.0 
Summary0020602: Navigating BACK often crashes MMA 2.0.0.1162 (regression 1162)
DescriptionFor some navigation cases, MMA will crash when the user navigates BACK to the previous screen. I've been able to replicate this so far on 2 different devices (you'll see multiple crashlogs from a Pixel 2XL/Android 11 and an S10/Android 12).

In the cases that are reproducible, the bugs occur fairly consistently.

Case I (Pixel 2 XL)
1 Navigate to Music > Genres > Blues > Artist:Jenny jones
2 Rotate the device from Portrait to Landscape to Portrait
3 Navigate to > Album:without you
4 Rotate the device from Portrait to Landscape to Portrait
5 Swipe BACK
--> Black screen appears (90% of the time) and stays black for about 1 minute and then draws correctly as expected!!
Debug log ID: KBXQFTH8NF

6 If I attempt to Swipe BACK a few times _before_ MM redraws the screen
--> MMA will occasionally crash---though I don't see any logs for this!


Case II (S10)
1 Navigate to Playlists
2 Navigate to > Demo (a folder) > MMA1 (a playlist)
3 Swipe back
--> Black screen briefly appears and then MMA crashes (about 50% of the time)!

Strangely, each case isn't reproducible on the other device (or on a Pixel 5a running Android 14), so I suspect it's a timing issue (or some other environmental issue).

Note: I tested case II with build 1160 and it was _not_ reproducible, so it seems that this is a regression in 1161 or 1162
Additional InformationNote: The S10 contains the following Playlist hierarchy:
Playlists
--Demo (Playlist Folder)
----MMA 1 (Playlist)
----MMA 2 (Playlist)
Marvel DC (Playlist)

- 'Marvel DC' had been synced, and then MMA was uninstalled (without preserving the DB) and then re-installed (i.e. the content was presumably scanned via the Android mediascanner)
- The 'Demo' playlist folder and it's playlists were synced subsequent to MMA's re-installation
(I doubt any of this is relevant, but noting it just in case... EDIT: I resynced, this time including all 3 playlists on the sync list, and the bug still occurs, so it's probably unrelated to the sync state).
TagsNo tags attached.
Fixed in build1165

Activities

peke

2024-02-08 23:49

developer   ~0074224

Possible relations to crashes I have when resizing The WSA Window to change landscape to portrait mode.

Previous MMA versions do not observe crashes, making MM one of the rare apps support screen resize realtime.

Debug log and video of crashing are uploaded to FTP

Steps:
1. open MMA in WSA
2. Resize MM screen till orientation changes
3. Crash.

TEST note: It can happen also when you rotate phone/tablet but for me very very rarely 1/20 tries/rotations, while in WSA it happens always.

martin

2024-02-12 13:45

developer   ~0074236

Fixed in build 2.0.0.1163

rusty

2024-02-16 05:16

administrator   ~0074273

Last edited: 2024-02-16 06:05

Tested 1163 and Case I still occurs consistently, except now the screen stays black for over 2 minutes. I've able to work around the issue by swiping up on the black screen.
Debug log: 6VG22JAGU3

The fix for case II seems to work.

martin

2024-02-16 13:21

developer   ~0074284

Last edited: 2024-02-16 13:22

I am unable to replicate it on any of my devices. Is this issue related to Pixel 2 XL only? Can you take a video?

rusty

2024-02-16 14:42

administrator   ~0074285

Last edited: 2024-02-16 14:46

I'm able to replicate it on a Pixel 2XL and an S7, both running Android 11 (it doesn't occur on the three other devices I tested running Android 12/13/14, but that doesn't necessarily mean it's OS-version specific--it could also be related to screen size).

Also, the issue manifests worse on devices that use button navigation instead of gesture-based navigation. With gestures, swiping up partially from the bottom of the screen triggers the screen to redraw, but with button-based navigation, the user has to go to the home screen and tap MM again to get it to redraw.

I've shared a video offline that illustrates how the issue occurs with build 1160, though not as severely as with 1163.

martin

2024-02-16 16:28

developer   ~0074286

Last edited: 2024-02-16 16:28

Based on the video, it looks like the system just freezes and there are no log entries during that time. The question is what causes the freeze.
I was unable to replicate it on Android 8, 9, 10, 13, 14, and not even on Android 11(but it was a tablet).
I am upgrading my Android 10 phone device to Android 11 and will test it again.

martin

2024-02-20 14:11

developer   ~0074321

Last edited: 2024-02-20 16:09

I was able to replicate it on an upgraded phone to Android 11. Seems to be related to Android 11 and pressing back right after rotation.
Fixed in build 2.0.0.1165

rusty

2024-02-20 17:09

administrator   ~0074324

Verified 1165.