[Bug]: Application Freezes on Startup #2886

Open
opened 2025-01-18 09:35:52 +00:00 by KaanAkkayaa · 16 comments
KaanAkkayaa commented 2025-01-18 09:35:52 +00:00 (Migrated from github.com)

Preflight Checklist

  • I use the latest version of YouTube Music (Application).
  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.
  • I understand that th-ch/youtube-music has NO affiliation with Google or YouTube

YouTube Music (Application) Version

3.7.2

Checklists

What operating system are you using?

Windows

Operating System Version

23H2

What CPU architecture are you using?

x64

Last Known Working YouTube Music (Application) version

3.7.0

Reproduction steps

Issue Description: The application freezes after it is launched, making the interface unresponsive.
Steps to Reproduce:
Open the application.
Once the startup screen is fully loaded, the application freezes.
No response is received from mouse or keyboard inputs.

Expected Behavior

The application should start correctly and allow user interactions without any issues.

Actual Behavior

The application freezes, and no actions can be performed.

Enabled plugins

No plugins are active

Additional Information

Operating System: 23H2 Windows 11
Application Version: 3.7.2
Error Message: No error message is displayed during the freeze.

### Preflight Checklist - [x] I use the latest version of YouTube Music (Application). - [x] I have searched the [issue tracker](https://github.com/th-ch/youtube-music/issues) for a bug report that matches the one I want to file, without success. - [x] I understand that **th-ch/youtube-music has NO affiliation with Google or YouTube** ### YouTube Music (Application) Version 3.7.2 ### Checklists - [ ] I use the portable version of the YouTube Music Application. - [ ] I can reproduce this issue in the [official version of (WEB) YTM](https://music.youtube.com). ### What operating system are you using? Windows ### Operating System Version 23H2 ### What CPU architecture are you using? x64 ### Last Known Working YouTube Music (Application) version 3.7.0 ### Reproduction steps **Issue Description:** The application freezes after it is launched, making the interface unresponsive. **Steps to Reproduce:** Open the application. Once the startup screen is fully loaded, the application freezes. No response is received from mouse or keyboard inputs. ### Expected Behavior The application should start correctly and allow user interactions without any issues. ### Actual Behavior The application freezes, and no actions can be performed. ### Enabled plugins No plugins are active ### Additional Information Operating System: 23H2 Windows 11 Application Version: 3.7.2 Error Message: No error message is displayed during the freeze.
Owner

The application freezes, in what state is it left frozen?

Has the website loaded?
Is it a blank screen?

Please provide a screenshot.

The application freezes, in what state is it left frozen? Has the website loaded? Is it a blank screen? Please provide a screenshot.
KaanAkkayaa commented 2025-01-18 12:31:29 +00:00 (Migrated from github.com)

When the application freezes, the interface becomes completely unresponsive. Buttons and menus are visible but cannot be clicked or interacted with.

Image

The application freezes, in what state is it left frozen?

Has the website loaded? Is it a blank screen?

Please provide a screenshot.

When the application freezes, the interface becomes completely unresponsive. Buttons and menus are visible but cannot be clicked or interacted with. ![Image](https://github.com/user-attachments/assets/abd6fa01-8f76-442f-9f07-a9ef813a2d4a) > The application freezes, in what state is it left frozen? > > Has the website loaded? Is it a blank screen? > > Please provide a screenshot.
Owner

Alright, so it's as if an invisible barrier is preventing you from interacting with the website you could say?

What happens if you control the app using the protocol?

Alright, so it's as if an invisible barrier is preventing you from interacting with the website you could say? What happens if you control the app using the protocol?
KaanAkkayaa commented 2025-01-18 17:30:16 +00:00 (Migrated from github.com)

Alright, so it's as if an invisible barrier is preventing you from interacting with the website you could say?

What happens if you control the app using the protocol?

Yes, it does feel like an invisible barrier is preventing interaction with the application. I can use the application normally for the first 5 seconds after launching it. The freezing issue starts after this brief period, and after that, even the music playback timer freezes.

I didn't know the protocol you mentioned, so I haven't tried controlling the app using it. I can attempt it and share the results if you could provide more details or guidance about the protocol.

> Alright, so it's as if an invisible barrier is preventing you from interacting with the website you could say? > > What happens if you control the app using the protocol? Yes, it does feel like an invisible barrier is preventing interaction with the application. I can use the application normally for the first 5 seconds after launching it. The freezing issue starts after this brief period, and after that, even the music playback timer freezes. I didn't know the protocol you mentioned, so I haven't tried controlling the app using it. I can attempt it and share the results if you could provide more details or guidance about the protocol.
Owner

The protocol I am referring to is a uri protocol, if everything is setup correctly then you can visit the url youtubemusic://playPause and it would toggle play/pause, think of it as a shortcut.

The protocol I am referring to is a uri protocol, if everything is setup correctly then you can visit the url `youtubemusic://playPause` and it would toggle play/pause, think of it as a shortcut.
KaanAkkayaa commented 2025-01-18 18:46:26 +00:00 (Migrated from github.com)

I think I found the issue. Regarding how I identified the issue: I noticed through Task Manager that the application utilises GPU 1, which is my discrete graphics card. I remember that is only a recent change on my computer. The problem still persists. You can see the problem in the video:

https://github.com/user-attachments/assets/076393fd-d57b-425e-9bf1-c5746ee71c47

Current NVIDIA driver version: 566.36

I think I found the issue. Regarding how I identified the issue: I noticed through Task Manager that the application utilises GPU 1, which is my discrete graphics card. I remember that is only a recent change on my computer. The problem still persists. You can see the problem in the video: https://github.com/user-attachments/assets/076393fd-d57b-425e-9bf1-c5746ee71c47 Current NVIDIA driver version: 566.36
LewisLosa commented 2025-01-21 23:26:18 +00:00 (Migrated from github.com)

I have an same issue. My graphics card is rx6600 and in bios my internal graphics card is disabled (automatically)

I have an same issue. My graphics card is rx6600 and in bios my internal graphics card is disabled (automatically)
BigArty commented 2025-02-24 08:48:34 +00:00 (Migrated from github.com)

Same problem for me. Started today. I've tried to use youtubemusic://playPause but nothing happened. I've tried to uninstall and reinstall, I've tried to use portable version, I've tried 3.7.4 and 3.7.2 versions. All behave the same. I've tried to switch from main GPU to the integrated one - also nothing changed.

Same problem for me. Started today. I've tried to use youtubemusic://playPause but nothing happened. I've tried to uninstall and reinstall, I've tried to use portable version, I've tried 3.7.4 and 3.7.2 versions. All behave the same. I've tried to switch from main GPU to the integrated one - also nothing changed.
BigArty commented 2025-02-24 08:54:16 +00:00 (Migrated from github.com)

Also, the symptom is that the app constantly use almost full CPU core.

Also, the symptom is that the app constantly use almost full CPU core.
BigArty commented 2025-02-24 08:57:18 +00:00 (Migrated from github.com)

I was able in the first 5 seconds to click the playlist. After a minute it opened and the app seemed to be unfrozen. I was able to click the song and it started playing, but the window froze again. Even the red scroll bar from the song is not updating. The song played for ~10 second and then stopped.

I was able in the first 5 seconds to click the playlist. After a minute it opened and the app seemed to be unfrozen. I was able to click the song and it started playing, but the window froze again. Even the red scroll bar from the song is not updating. The song played for ~10 second and then stopped.
BigArty commented 2025-02-24 08:58:35 +00:00 (Migrated from github.com)

Image

Image

![Image](https://github.com/user-attachments/assets/c15bd213-1e79-4f1a-83d4-9504f41176d8) ![Image](https://github.com/user-attachments/assets/a1954b12-e7fb-49fb-8ddf-af5213e28380)
KaanAkkayaa commented 2025-02-24 09:16:48 +00:00 (Migrated from github.com)

I was able in the first 5 seconds to click the playlist. After a minute it opened and the app seemed to be unfrozen. I was able to click the song and it started playing, but the window froze again. Even the red scroll bar from the song is not updating. The song played for ~10 second and then stopped.

I had the same issue, but I managed to fix it by completely uninstalling the app and removing all leftover files before reinstalling. After doing that, it worked fine for me. There are also videos showing how to remove leftover files completely. Hope this helps!

> I was able in the first 5 seconds to click the playlist. After a minute it opened and the app seemed to be unfrozen. I was able to click the song and it started playing, but the window froze again. Even the red scroll bar from the song is not updating. The song played for ~10 second and then stopped. I had the same issue, but I managed to fix it by completely uninstalling the app and removing all leftover files before reinstalling. After doing that, it worked fine for me. There are also videos showing how to remove leftover files completely. Hope this helps!
BigArty commented 2025-02-24 09:29:02 +00:00 (Migrated from github.com)

Yes, thank you! I went to roaming folder and deleted it. Now the app works!

Yes, thank you! I went to roaming folder and deleted it. Now the app works!
KaanAkkayaa commented 2025-02-24 09:33:04 +00:00 (Migrated from github.com)

Yes, thank you! I went to roaming folder and deleted it. Now the app works!

Glad to hear that! If I could help, that makes me happy. Enjoy using the app!

> Yes, thank you! I went to roaming folder and deleted it. Now the app works! Glad to hear that! If I could help, that makes me happy. Enjoy using the app!
stepanzak commented 2025-03-24 19:21:17 +00:00 (Migrated from github.com)

The protocol I am referring to is a uri protocol, if everything is setup correctly then you can visit the url youtubemusic://playPause and it would toggle play/pause, think of it as a shortcut.

I've had the same issue and pausing using this method fixed it. I had to visit the url in Chromium, in Firefox it didn't work.
I think it was the notifications plugin.

> The protocol I am referring to is a uri protocol, if everything is setup correctly then you can visit the url `youtubemusic://playPause` and it would toggle play/pause, think of it as a shortcut. I've had the same issue and pausing using this method fixed it. I had to visit the url in Chromium, in Firefox it didn't work. I think it was the notifications plugin.
bioe007 commented 2025-05-30 21:38:55 +00:00 (Migrated from github.com)

same issue on macos, i've uninstalled, re-installed (via brew) and it's still not working.

++i've been using youtube music on this laptop for over a year and it's mostly worked fine, this behavior just started today.

i've tried youtubemusic://playPause from chrome. I get a prompt from the browser to open youtube music app, and the app is brought to the foreground, but it doesn't change the app state.

Other odd behaviors:

  • Sometimes when i restart the app I can hover over an album and the play widget will appear and I can click it, but music does not play.
  • While I'm not able to click anything inside the youtube music app, scrolling the mouse over the main window area will often scroll the contents. This seems to break after I've tried the youtubemusic://playPause call though..

i'm on macos 15.5, M2 pro, 32gb..

same issue on macos, i've uninstalled, re-installed (via brew) and it's still not working. ++i've been using youtube music on this laptop for over a year and it's mostly worked fine, this behavior just started today. i've tried `youtubemusic://playPause` from chrome. I get a prompt from the browser to open youtube music app, and the app is brought to the foreground, but it doesn't change the app state. Other odd behaviors: - Sometimes when i restart the app I can hover over an album and the play widget will appear and I can click it, but music does not play. - While I'm not able to click anything inside the youtube music app, scrolling the mouse over the main window area will often scroll the contents. This seems to break after I've tried the `youtubemusic://playPause` call though.. i'm on macos 15.5, M2 pro, 32gb..
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: YTMD/youtube-music#2886
No description provided.