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

[Bug] Songs loading crashes app #165

Closed
ElizabethWega opened this issue Oct 11, 2023 · 9 comments
Closed

[Bug] Songs loading crashes app #165

ElizabethWega opened this issue Oct 11, 2023 · 9 comments
Labels

Comments

@ElizabethWega
Copy link

Describe the bug
Whatever artist I choose, tapping their channel to see additional info (albums, songs, singles), followed by clicking onto three dots near the 'Songs' category, crashes the app. The app freezes, I get kicked out of the app and notified with system warning 'App not responding', accompanied with options either to wait or to close the app. However, this is not the case considering tapping the three dots near the 'Albums' or 'Singles' section.

Steps To Reproduce

  1. While not logged in to YouTube
  2. Look up 'Kari Jobe'
  3. Click on the artist, as to see a their works (songs, albums, singles)
  4. Press the three dots near all three categories
  5. App crashes & freezes when pressing the dots near the 'Songs' cstegory
  6. System warning for 'App not responding' appears

Expected behaviour
To be able to see all songs list, in the same fashion I am able to see all albums and singles.

Environment

  • OS name and version: Android 13 (MIUI)
  • SpMp version (include commit hash if you are using a non-release build): 0.2.2
  • Accounts (were you signed in to YouTube, Discord, etc. in the app?): none
@toasterofbread
Copy link
Owner

Please find and upload the logs associated with the crash using Logcat, a similar tool, or by capturing a bug report.

@ElizabethWega
Copy link
Author

Please find and upload the logs associated with the crash using Logcat, a similar tool, or by capturing a bug report.

This is log recorded since my starting the app to its closing. When it froze and the system warning 'SpMp isn't responding' appeared, I chose to wait once, then proceeded with the 'OK' option, which closed the app. Hope this helps. Thanks in advance!

2023-10-13 17:03:49.074 30728-30728 terofbread.spmp usap64 I Using CollectorTypeCC GC.
2023-10-13 17:03:49.078 30728-30728 terofbread.spmp usap64 E Not starting debugger since process cannot load the jdwp agent.
2023-10-13 17:03:49.086 1957-4086 SmartPower...899(30728) system_server I died->invisible(203791ms) R(process start ) adj=-10000.
2023-10-13 17:03:49.088 1957-2378 SmartPower...899(30728) system_server I invisible->visible(2ms) R(become visible) adj=-10000.
2023-10-13 17:03:49.122 30728-30728 terofbread.spmp usap64 D JNI_OnLoad success
2023-10-13 17:03:49.201 30728-6573 terofbread.spmp usap64 D MiuiProcessManagerServiceStub setSchedFifo
2023-10-13 17:04:17.097 30728-30728 terofbread.spmp usap64 W type=1400 audit(0.0:406593): avc: denied { search } for name="miuilog" dev="dm-43" ino=164265 scontext=u:r:untrusted_app:s0:c131,c259,c512,c768 tcontext=u:object_r:data_log_file:s0 tclass=dir permissive=0 app=com.toasterofbread.spmp
2023-10-13 17:04:17.097 30728-30728 terofbread.spmp usap64 W type=1400 audit(0.0:406594): avc: denied { search } for name="miuilog" dev="dm-43" ino=164265 scontext=u:r:untrusted_app:s0:c131,c259,c512,c768 tcontext=u:object_r:data_log_file:s0 tclass=dir permissive=0 app=com.toasterofbread.spmp
2023-10-13 17:04:17.097 30728-30728 terofbread.spmp usap64 W type=1400 audit(0.0:406595): avc: denied { search } for name="miuilog" dev="dm-43" ino=164265 scontext=u:r:untrusted_app:s0:c131,c259,c512,c768 tcontext=u:object_r:data_log_file:s0 tclass=dir permissive=0 app=com.toasterofbread.spmp
2023-10-13 17:04:17.097 30728-30728 terofbread.spmp usap64 W type=1400 audit(0.0:406596): avc: denied { search } for name="miuilog" dev="dm-43" ino=164265 scontext=u:r:untrusted_app:s0:c131,c259,c512,c768 tcontext=u:object_r:data_log_file:s0 tclass=dir permissive=0 app=com.toasterofbread.spmp
2023-10-13 17:04:17.097 30728-30728 terofbread.spmp usap64 W type=1400 audit(0.0:406597): avc: denied { search } for name="miuilog" dev="dm-43" ino=164265 scontext=u:r:untrusted_app:s0:c131,c259,c512,c768 tcontext=u:object_r:data_log_file:s0 tclass=dir permissive=0 app=com.toasterofbread.spmp
2023-10-13 17:04:17.097 30728-30728 terofbread.spmp usap64 W type=1400 audit(0.0:406598): avc: denied { search } for name="miuilog" dev="dm-43" ino=164265 scontext=u:r:untrusted_app:s0:c131,c259,c512,c768 tcontext=u:object_r:data_log_file:s0 tclass=dir permissive=0 app=com.toasterofbread.spmp
2023-10-13 17:04:19.589 30728-6690 terofbread.spmp usap64 W No such thread for suspend: 0x7b3eae3958:main
2023-10-13 17:04:19.594 30728-6551 terofbread.spmp usap64 I Thread[5,tid=6551,WaitingInMainSignalCatcherLoop,Thread*=0xb400007b30349000,peer=0x147401e8,"Signal Catcher"]: reacting to signal 3
2023-10-13 17:04:19.594 30728-6551 terofbread.spmp usap64 I
2023-10-13 17:04:19.642 30728-6551 terofbread.spmp usap64 I Wrote stack traces to tombstoned
2023-10-13 17:04:22.090 30728-6699 terofbread.spmp usap64 W No such thread for suspend: 0x7b3eae3958:main
2023-10-13 17:04:22.096 30728-6551 terofbread.spmp usap64 I Thread[5,tid=6551,WaitingInMainSignalCatcherLoop,Thread*=0xb400007b30349000,peer=0x147401e8,"Signal Catcher"]: reacting to signal 3
2023-10-13 17:04:22.097 30728-6551 terofbread.spmp usap64 I
2023-10-13 17:04:22.148 30728-6551 terofbread.spmp usap64 I Wrote stack traces to tombstoned
2023-10-13 17:04:23.023 30728-6551 terofbread.spmp usap64 I Thread[5,tid=6551,WaitingInMainSignalCatcherLoop,Thread*=0xb400007b30349000,peer=0x147401e8,"Signal Catcher"]: reacting to signal 3
2023-10-13 17:04:23.023 30728-6551 terofbread.spmp usap64 I
2023-10-13 17:04:23.064 30728-6551 terofbread.spmp usap64 I Wrote stack traces to tombstoned
2023-10-13 17:04:31.288 1957-2372 SmartPower...899(30728) system_server I visible->died(42200ms) R(process died ) adj=0.

@ElizabethWega
Copy link
Author

Please find and upload the logs associated with the crash using Logcat, a similar tool, or by capturing a bug report.

This is log recorded since my starting the app to its closing. When it froze and the system warning 'SpMp isn't responding' appeared, I chose to wait once, then proceeded with the 'OK' option, which closed the app. Hope this helps. Thanks in advance!

2023-10-13 17:03:49.074 30728-30728 terofbread.spmp usap64 I Using CollectorTypeCC GC. 2023-10-13 17:03:49.078 30728-30728 terofbread.spmp usap64 E Not starting debugger since process cannot load the jdwp agent. 2023-10-13 17:03:49.086 1957-4086 SmartPower...899(30728) system_server I died->invisible(203791ms) R(process start ) adj=-10000. 2023-10-13 17:03:49.088 1957-2378 SmartPower...899(30728) system_server I invisible->visible(2ms) R(become visible) adj=-10000. 2023-10-13 17:03:49.122 30728-30728 terofbread.spmp usap64 D JNI_OnLoad success 2023-10-13 17:03:49.201 30728-6573 terofbread.spmp usap64 D MiuiProcessManagerServiceStub setSchedFifo 2023-10-13 17:04:17.097 30728-30728 terofbread.spmp usap64 W type=1400 audit(0.0:406593): avc: denied { search } for name="miuilog" dev="dm-43" ino=164265 scontext=u:r:untrusted_app:s0:c131,c259,c512,c768 tcontext=u:object_r:data_log_file:s0 tclass=dir permissive=0 app=com.toasterofbread.spmp 2023-10-13 17:04:17.097 30728-30728 terofbread.spmp usap64 W type=1400 audit(0.0:406594): avc: denied { search } for name="miuilog" dev="dm-43" ino=164265 scontext=u:r:untrusted_app:s0:c131,c259,c512,c768 tcontext=u:object_r:data_log_file:s0 tclass=dir permissive=0 app=com.toasterofbread.spmp 2023-10-13 17:04:17.097 30728-30728 terofbread.spmp usap64 W type=1400 audit(0.0:406595): avc: denied { search } for name="miuilog" dev="dm-43" ino=164265 scontext=u:r:untrusted_app:s0:c131,c259,c512,c768 tcontext=u:object_r:data_log_file:s0 tclass=dir permissive=0 app=com.toasterofbread.spmp 2023-10-13 17:04:17.097 30728-30728 terofbread.spmp usap64 W type=1400 audit(0.0:406596): avc: denied { search } for name="miuilog" dev="dm-43" ino=164265 scontext=u:r:untrusted_app:s0:c131,c259,c512,c768 tcontext=u:object_r:data_log_file:s0 tclass=dir permissive=0 app=com.toasterofbread.spmp 2023-10-13 17:04:17.097 30728-30728 terofbread.spmp usap64 W type=1400 audit(0.0:406597): avc: denied { search } for name="miuilog" dev="dm-43" ino=164265 scontext=u:r:untrusted_app:s0:c131,c259,c512,c768 tcontext=u:object_r:data_log_file:s0 tclass=dir permissive=0 app=com.toasterofbread.spmp 2023-10-13 17:04:17.097 30728-30728 terofbread.spmp usap64 W type=1400 audit(0.0:406598): avc: denied { search } for name="miuilog" dev="dm-43" ino=164265 scontext=u:r:untrusted_app:s0:c131,c259,c512,c768 tcontext=u:object_r:data_log_file:s0 tclass=dir permissive=0 app=com.toasterofbread.spmp 2023-10-13 17:04:19.589 30728-6690 terofbread.spmp usap64 W No such thread for suspend: 0x7b3eae3958:main 2023-10-13 17:04:19.594 30728-6551 terofbread.spmp usap64 I Thread[5,tid=6551,WaitingInMainSignalCatcherLoop,Thread*=0xb400007b30349000,peer=0x147401e8,"Signal Catcher"]: reacting to signal 3 2023-10-13 17:04:19.594 30728-6551 terofbread.spmp usap64 I 2023-10-13 17:04:19.642 30728-6551 terofbread.spmp usap64 I Wrote stack traces to tombstoned 2023-10-13 17:04:22.090 30728-6699 terofbread.spmp usap64 W No such thread for suspend: 0x7b3eae3958:main 2023-10-13 17:04:22.096 30728-6551 terofbread.spmp usap64 I Thread[5,tid=6551,WaitingInMainSignalCatcherLoop,Thread*=0xb400007b30349000,peer=0x147401e8,"Signal Catcher"]: reacting to signal 3 2023-10-13 17:04:22.097 30728-6551 terofbread.spmp usap64 I 2023-10-13 17:04:22.148 30728-6551 terofbread.spmp usap64 I Wrote stack traces to tombstoned 2023-10-13 17:04:23.023 30728-6551 terofbread.spmp usap64 I Thread[5,tid=6551,WaitingInMainSignalCatcherLoop,Thread*=0xb400007b30349000,peer=0x147401e8,"Signal Catcher"]: reacting to signal 3 2023-10-13 17:04:23.023 30728-6551 terofbread.spmp usap64 I 2023-10-13 17:04:23.064 30728-6551 terofbread.spmp usap64 I Wrote stack traces to tombstoned 2023-10-13 17:04:31.288 1957-2372 SmartPower...899(30728) system_server I visible->died(42200ms) R(process died ) adj=0.

I forgot to mention, that I used tag:terofbread.spmp to filter through all the logs so if any additional info is needed to resolve and/or clarify this issue, please let me know.

@toasterofbread
Copy link
Owner

toasterofbread commented Oct 13, 2023

Could you upload the logs from this build please? It should provide more useful information.

@ElizabethWega
Copy link
Author

Could you upload the logs from this build please? It should provide more useful information.

Sure. Which build should I choose? The 'release' or 'debug' one? Both?

@toasterofbread
Copy link
Owner

I doubt it'll make much of a difference in this case, but debug should be better for testing.

@ElizabethWega
Copy link
Author

I doubt it'll make much of a difference in this case, but debug should be better for testing.

There's a lag here and there, but the songs loading works now.

2023-10-13 21:11:13.070 1957-2378 SmartPower...g/10903(0) system_server I died->visible(4941ms) R(become visible) adj=-10000.
---------------------------- PROCESS STARTED (14870) for package com.toasterofbread.spmp.debug ----------------------------
2023-10-13 21:12:21.678 1957-6172 SmartPower...903(14870) system_server I visible->invisible(68608ms) R(become invisible) adj=0.
2023-10-13 21:12:21.679 1957-6172 SmartPower...903(14870) system_server I invisible->background(0ms) R(become background) adj=0.
2023-10-13 21:12:24.680 1957-3564 SmartPower...903(14870) system_server I background->idle(3001ms) R(become invisible) adj=0.

@toasterofbread
Copy link
Owner

Strange, are you sure you're doing the same thing? I haven't changed anything to do with this issue yet. Could you maybe try with the release APK for the same build?

There's a lag here and there

That's because of the debug APK, it should be fine on the release one

@toasterofbread
Copy link
Owner

Never mind, you're right. I tested with the artist you mentioned on both main and v0.2.2 and it does seem to be fixed now, although I'm not sure what fixed this. Thanks for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants