fast4x / RiMusic

A multilingual Android application for streaming music from YouTube Music.
https://rimusic.xyz
GNU General Public License v3.0
2.11k stars 109 forks source link

Crashing almost every song #2447

Closed Eremedition closed 2 months ago

Eremedition commented 3 months ago

Steps to reproduce the bug

  1. Open app.
  2. Searched Band
  3. Albums
  4. Open album ( trending bug never-ending load)
  5. Click artists
  6. Click bands name 7.(song list displayed) Click the first song at the top 8(track starts no issue) click album cover to reveal background lyrics 9.click bottom left corner of album cover to fullscreen lyrics
  7. (Plays a minute or so) pop up notification from my phone says app crashed
  8. Ive closed it multiple times, and Ive clicked " wait " a couple.
  9. Hitting wait closes the popup and the app is displayed frozen.
  10. The always-displayed notification bar at the bottom allowed me to Click the three-line icon to open "Recents" and allowed me to click the "Home" square
  11. The navigation bar did NOT allow me to back out using the bottom right "Back" arrow icon.
  12. Ive cleared the cache, and updated , but still crashing

Expected behavior

I have no experience or knowledge regarding programming, coding, or developing. I "Enabled debug logs" after one of the first crashes. I dont even know exactly what debugging is, i just know it can document errors.

Actual behavior

After 1 or 2 more crashes, I went back to that setting to see what resulted from enabling it. Below it I have 2 options. Copy log to clipboard, and the last one listed is to copy Crash Log. Clicking The Crash Log copy option opens a small , quick pop up with an icon of a "circled "i" above the words "Log Unavailable". The first option is pasted below.

Screenshots/Screen recordings

Notes_240624_022940.txt

Logs

2024-06-24 12:53:43:050 DEBUG: MainApplication - Log enabled at /data/user/0/it.fast4x.rimusic/files/logs 2024-06-24 12:53:43:614 DEBUG: d - CheckMonthlyPlaylist false 2024-06-24 12:53:43:745 DEBUG: d - CheckMonthlyPlaylist false 2024-06-24 12:53:43:767 DEBUG: d - CheckMonthlyPlaylist false 2024-06-24 12:53:43:792 DEBUG: d - CheckMonthlyPlaylist false 2024-06-24 12:53:43:912 ERROR: b - The request's data is null. 2024-06-24 12:53:43:913 ERROR: b - The request's data is null. 2024-06-24 12:53:43:914 ERROR: b - The request's data is null. 2024-06-24 12:53:43:915 ERROR: b - The request's data is null. 2024-06-24 12:53:43:923 ERROR: b - The request's data is null. 2024-06-24 12:53:43:924 ERROR: b - The request's data is null. 2024-06-24 12:53:43:925 ERROR: b - The request's data is null. 2024-06-24 12:53:43:926 ERROR: b - The request's data is null. 2024-06-24 12:53:43:929 ERROR: b - The request's data is null. 2024-06-24 12:53:43:931 ERROR: b - The request's data is null. 2024-06-24 12:53:43:931 ERROR: b - The request's data is null. 2024-06-24 12:53:43:932 ERROR: b - The request's data is null. 2024-06-24 12:53:43:936 ERROR: b - The request's data is null. 2024-06-24 12:53:43:937 ERROR: b - The request's data is null. 2024-06-24 12:53:43:938 ERROR: b - The request's data is null. 2024-06-24 12:53:43:939 ERROR: b - The request's data is null. 2024-06-24 12:53:43:942 ERROR: b - The request's data is null. 2024-06-24 12:53:43:943 ERROR: b - The request's data is null. 2024-06-24 12:53:43:944 ERROR: b - The request's data is null. 2024-06-24 12:53:43:945 ERROR: b - The request's data is null. 2024-06-24 12:53:43:948 ERROR: b - The request's data is null. 2024-06-24 12:53:43:949 ERROR: b - The request's data is null. 2024-06-24 12:53:43:950 ERROR: b - The request's data is null. 2024-06-24 12:53:43:951 ERROR: b - The request's data is null. 2024-06-24 12:53:43:955 ERROR: b - The request's data is null. 2024-06-24 12:53:43:956 ERROR: b - The request's data is null. 2024-06-24 12:53:43:957 ERROR: b - The request's data is null. 2024-06-24 12:53:43:958 ERROR: b - The request's data is null. 2024-06-24 12:53:43:962 ERROR: b - The request's data is null. 2024-06-24 12:53:43:963 ERROR: b - The request's data is null. 2024-06-24 12:53:43:964 ERROR: b - The request's data is null. 2024-06-24 12:53:43:965 ERROR: b - The request's data is null. 2024-06-24 12:53:43:970 ERROR: b - The request's data is null. 2024-06-24 12:53:43:971 ERROR: b - The request's data is null. 2024-06-24 12:53:43:972 ERROR: b - The request's data is null. 2024-06-24 12:53:43:973 ERROR: b - The request's data is null. 2024-06-24 12:59:14:746 DEBUG: MainApplication - Log enabled at /data/user/0/it.fast4x.rimusic/files/logs 2024-06-24 12:59:18:686 DEBUG: d - CheckMonthlyPlaylist false 2024-06-24 12:59:18:766 DEBUG: d - CheckMonthlyPlaylist false 2024-06-24 12:59:18:801 DEBUG: d - CheckMonthlyPlaylist false 2024-06-24 12:59:18:970 ERROR: b - The request's data is null. 2024-06-24 12:59:18:971 ERROR: b - The request's data is null. 2024-06-24 12:59:18:972 ERROR: b - The request's data is null. 2024-06-24 12:59:18:973 ERROR: b - The request's data is null. 2024-06-24 12:59:18:982 ERROR: b - The request's data is null. 2024-06-24 12:59:18:984 ERROR: b - The request's data is null. 2024-06-24 12:59:18:985 ERROR: b - The request's data is null. 2024-06-24 12:59:18:987 ERROR: b - The request's data is null. 2024-06-24 12:59:18:992 ERROR: b - The request's data is null. 2024-06-24 12:59:18:993 ERROR: b - The request's data is null. 2024-06-24 12:59:18:995 ERROR: b - The request's data is null. 2024-06-24 12:59:18:995 ERROR: b - The request's data is null. 2024-06-24 12:59:18:999 ERROR: b - The request's data is null. 2024-06-24 12:59:19:001 ERROR: b - The request's data is null. 2024-06-24 12:59:19:002 ERROR: b - The request's data is null. 2024-06-24 12:59:19:002 ERROR: b - The request's data is null. 2024-06-24 12:59:19:006 ERROR: b - The request's data is null. 2024-06-24 12:59:19:007 ERROR: b - The request's data is null. 2024-06-24 12:59:19:008 ERROR: b - The request's data is null. 2024-06-24 12:59:19:009 ERROR: b - The request's data is null. 2024-06-24 12:59:19:012 ERROR: b - The request's data is null. 2024-06-24 12:59:19:013 ERROR: b - The request's data is null. 2024-06-24 12:59:19:015 ERROR: b - The request's data is null. 2024-06-24 12:59:19:016 ERROR: b - The request's data is null. 2024-06-24 12:59:19:020 ERROR: b - The request's data is null. 2024-06-24 12:59:19:022 ERROR: b - The request's data is null. 2024-06-24 12:59:19:023 ERROR: b - The request's data is null. 2024-06-24 12:59:19:024 ERROR: b - The request's data is null. 2024-06-24 12:59:19:028 ERROR: b - The request's data is null. 2024-06-24 12:59:19:030 ERROR: b - The request's data is null. 2024-06-24 12:59:19:031 ERROR: b - The request's data is null. 2024-06-24 12:59:19:033 ERROR: b - The request's data is null. 2024-06-24 12:59:19:040 ERROR: b - The request's data is null. 2024-06-24 12:59:19:042 ERROR: b - The request's data is null. 2024-06-24 12:59:19:043 ERROR: b - The request's data is null. 2024-06-24 12:59:19:044 ERROR: b - The request's data is null.

RiMusic version

0.6.40

Android version

Android 12 (Open UI 4.1)

Additional information

No response

fast4x commented 3 months ago

Try to disable monthly playlist creation by UI settings.

fast4x commented 3 months ago

Screenshot_2024-06-24-13-20-43-928_it.fast4x.rimusic-edit.jpg

TheMiskic commented 3 months ago

Hello! I'm getting the same error, with a slightly different log:

2024-07-01 08:20:35:450 ERROR: k - Failed to load bitmap Unable to resolve host "[lh3.googleusercontent.com](http://lh3.googleusercontent.com/)": No address associated with hostname
2024-07-01 12:05:39:709 ERROR: b - The request's data is null.
2024-07-01 12:05:39:710 ERROR: b - The request's data is null.
2024-07-01 12:05:39:710 ERROR: b - The request's data is null.
2024-07-01 12:05:39:710 ERROR: b - The request's data is null.
2024-07-01 12:05:39:712 ERROR: b - The request's data is null.
2024-07-01 12:05:39:712 ERROR: b - The request's data is null.
2024-07-01 12:05:39:712 ERROR: b - The request's data is null.
2024-07-01 12:05:39:713 ERROR: b - The request's data is null.
2024-07-01 12:05:39:713 ERROR: b - The request's data is null.
2024-07-01 12:05:39:714 ERROR: b - The request's data is null.
2024-07-01 12:05:39:714 ERROR: b - The request's data is null.
2024-07-01 12:05:39:714 ERROR: b - The request's data is null.

It seems that it's unable to resolve the host.

Edit: I forgot to mention that I disabled monthly playlists like suggested.

fast4x commented 3 months ago

Exactly host is unreachable so bitmap canìt load... try to use a proxy...

fast4x commented 3 months ago

I've added some improvements in the next version...

Loughty commented 3 months ago

@TheMiskic

2024-07-01 08:20:35:450 ERROR: k - Failed to load bitmap Unable to resolve host "lh3.googleusercontent.com": No address associated with hostname

You're using a different DNS configuration? Try with Google's DNS: https://developers.google.com/speed/public-dns/docs/using

    Go to Settings > Network & Internet > Advanced > Private DNS.
    Select Private DNS provider hostname.
    Enter dns.google as the hostname of the DNS provider.
    Click Save.

This is for Android, on the link there's also instructions for changing from your home router too. If you're on an office or a public WiFi, maybe there's a DNS level block.

TheMiskic commented 3 months ago

@Loughty

I've tried it and it unfortunately didn't work.

This only happens when using mobile data, on wifi it works fine.

The strange thing is when I open the songs in youtube music or piped, everything works without any issues.

Loughty commented 3 months ago

Sometimes phone companies do strange things, I hope that's not your case. For example, I can't open Reddit using my data, but if I use VPN it allows me to open it... Try with a VPN to see what happens, just out of curiosity.