Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playback Issue in Some Albums #879

Closed
4 tasks done
alphanerdgen opened this issue Oct 4, 2024 · 3 comments
Closed
4 tasks done

Playback Issue in Some Albums #879

alphanerdgen opened this issue Oct 4, 2024 · 3 comments
Assignees
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@alphanerdgen
Copy link

alphanerdgen commented Oct 4, 2024

Describe the Bug/Crash

In some albums, Auxio 3.5.3 doesn't play the next track after the completion of a song. The playback animation continues but the song doesn't play at all (no audio; progress stuck at 0:00).

When I turn the screen off just before a song is about to finish, I see an error notification that says, 'Something went wrong with Auxio. . .' See the video.

Screen.Recording_Auxio.3.5.3.mp4

Describe the intended behavior

Auxio should play the next song just like it used to before.

What android version do you use?

Android 12

What device model do you use?

Samsung Galaxy M31

Provide a sample file

Music Files.zip

Duplicates

@alphanerdgen alphanerdgen added the bug Something isn't working label Oct 4, 2024
@alphanerdgen
Copy link
Author

alphanerdgen commented Oct 4, 2024

Installed and ran Auxio Canary. No playback issues in it.

====================================
HEAP ANALYSIS RESULT

1 APPLICATION LEAKS

References underlined with "~~~" are likely causes.
Learn more at https://squ.re/leaks.

55166 bytes retained by leaking objects
Signature: 11f05db2bd6fd24ef9e96dc39221a0e6e79ac535

┬───
│ GC Root: System class

├─ android.view.inputmethod.InputMethodManager class
│ Leaking: NO (InputMethodManager↓ is not leaking and a class is never
│ leaking)
│ ↓ static InputMethodManager.sInstance
├─ android.view.inputmethod.InputMethodManager instance
│ Leaking: NO (DecorView↓ is not leaking and InputMethodManager is a
│ singleton)
│ ↓ InputMethodManager.mCurRootView
├─ android.view.ViewRootImpl instance
│ Leaking: NO (DecorView↓ is not leaking)
│ mContext instance of com.android.internal.policy.DecorContext, wrapping
│ activity org.oxycblt.auxio.MainActivity with mDestroyed = false
│ ViewRootImpl#mView is not null
│ mWindowAttributes.mTitle = "org.oxycblt.auxio.debug/org.oxycblt.auxio.
│ MainActivity"
│ mWindowAttributes.type = 1
│ ↓ ViewRootImpl.mParentDecorView
├─ com.android.internal.policy.DecorView instance
│ Leaking: NO (View attached)
│ View is part of a window view hierarchy
│ View.mAttachInfo is not null (view attached)
│ View.mWindowAttachCount = 1
│ mContext instance of com.android.internal.policy.DecorContext, wrapping
│ activity org.oxycblt.auxio.MainActivity with mDestroyed = false
│ ↓ DecorView.mMSActions
│ ~~~~~~~~~~
├─ com.samsung.android.multiwindow.MultiSplitActions instance
│ Leaking: UNKNOWN
│ Retaining 43 B in 1 objects
│ ↓ MultiSplitActions.mWindow
│ ~~~~~~~
├─ com.android.internal.policy.PhoneWindow instance
│ Leaking: YES (Window#mDestroyed is true)
│ Retaining 15.4 kB in 285 objects
│ mContext instance of org.oxycblt.auxio.MainActivity with mDestroyed = true
│ mOnWindowDismissedCallback instance of org.oxycblt.auxio.MainActivity with
│ mDestroyed = true
│ ↓ Window.mContext
╰→ org.oxycblt.auxio.MainActivity instance
Leaking: YES (ObjectWatcher was watching this because org.oxycblt.auxio.
MainActivity received Activity#onDestroy() callback and
Activity#mDestroyed is true)
Retaining 55.2 kB in 1617 objects
key = 3bf89895-991a-4b12-8938-397d02b11c50
watchDurationMillis = 5489
retainedDurationMillis = 488
mApplication instance of org.oxycblt.auxio.Auxio
mBase instance of androidx.appcompat.view.ContextThemeWrapper

METADATA

Build.VERSION.SDK_INT: 31
Build.MANUFACTURER: samsung
LeakCanary version: 2.12
App process name: org.oxycblt.auxio.debug
Class count: 31242
Instance count: 375609
Primitive array count: 208350
Object array count: 55776
Thread count: 49
Heap total bytes: 45917593
Bitmap count: 0
Bitmap total bytes: 0
Large bitmap count: 0
Large bitmap total bytes: 0
Db 1: open /data/user/0/org.oxycblt.auxio.debug/databases/music_cache.db
Stats: LruCache[maxSize=3000,hits=190739,misses=335847,hitRate=36%]
RandomAccess[bytes=16317133,reads=335847,travel=163762536375,range=53594832,size
=65629800]
Analysis duration: 171660 ms
Heap dump file path: /storage/emulated/0/Download/leakcanary-org.oxycblt.auxio.
debug/2024-10-04_23-09-59_962.hprof
Heap dump timestamp: 1728063791914
Heap dump duration: Unknown

@alphanerdgen
Copy link
Author

alphanerdgen commented Oct 4, 2024

I hope that'd be enough.

BTW, is it okay if I use the Canary version instead of the release build for the time being?

@OxygenCobalt
Copy link
Owner

I'm going to guess this is a device-specific Samsung issue @alphanerdgen that might just be resolved by uninstall and reinstall, or otherwise refreshing the app. Samsung just breaks playback in a lot of weird ways.

And yes, you can use the canary version, it's just slow.

@OxygenCobalt OxygenCobalt added the wontfix This will not be worked on label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants