[Bug]: Application Freezes/Hangs with Memory Leak, GLib-GObject Error, and VSync Warnings on Arch Linux #3525

Closed
opened 2025-06-24 13:41:26 +00:00 by prxshetty · 3 comments
prxshetty commented 2025-06-24 13:41:26 +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.9.0-1

Checklists

What operating system are you using?

Other Linux

Operating System Version

Linux archlinux 6.15.3-arch1-1

What CPU architecture are you using?

x64

Last Known Working YouTube Music (Application) version

No response

Reproduction steps

Image

Launch the YouTube Music Desktop App on Arch Linux by running youtube-music in the terminal.
Use the application normally (e.g., play music, navigate through the interface, open/close menus) for an extended period (e.g., 30 minutes to an hour or more).
Observe the console output for increasing occurrences of the "Possible AsyncEventEmitter memory leak detected" warning, followed by other errors.
The application will eventually become unresponsive or completely freeze.

Expected Behavior

The application should run stably and smoothly without freezing or hanging, maintain consistent performance, and not produce warnings or errors related to memory leaks or excessive event listeners.

Actual Behavior

[71300:0624/092203.779553:ERROR:interface_endpoint_client.cc(725)] Message 0 rejected by interface blink.mojom.WidgetHost
[YTMusic] Plugin "downloader::menu" loaded
[YTMusic] Plugin "discord::menu" loaded
[YTMusic] Plugin "crossfade::menu" loaded
[YTMusic] Plugin "ambient-mode::menu" loaded
[YTMusic] Plugin "album-color-theme::menu" loaded
[YTMusic] Plugin "adblocker::menu" loaded
[71330:0624/092209.688202:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
Possible AsyncEventEmitter memory leak detected. 11 connected listeners added to q. Use emitter.setMaxListeners() to increase the limit.
[71330:0624/092522.834978:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[71330:0624/092523.897013:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
[YTMusic] Plugin "downloader::menu" loaded
[YTMusic] Plugin "discord::menu" loaded
[YTMusic] Plugin "crossfade::menu" loaded
[YTMusic] Plugin "ambient-mode::menu" loaded
[YTMusic] Plugin "album-color-theme::menu" loaded
[YTMusic] Plugin "adblocker::menu" loaded
[YTMusic] Plugin "video-toggle::menu" loaded
[YTMusic] Plugin "downloader::menu" loaded
[YTMusic] Plugin "discord::menu" loaded
[YTMusic] Plugin "crossfade::menu" loaded
[YTMusic] Plugin "ambient-mode::menu" loaded
[YTMusic] Plugin "album-color-theme::menu" loaded
[YTMusic] Plugin "adblocker::menu" loaded
[71300:0624/092627.840760:ERROR:browser_main_loop.cc(278)] GLib-GObject: ../glib/gobject/gsignal.c:2699: instance '0x2b5c03cd9ec0' has no handler with id '5110'

Image

Enabled plugins

[YTMusic] Plugin "downloader::menu" loaded
[YTMusic] Plugin "discord::menu" loaded
[YTMusic] Plugin "crossfade::menu" loaded
[YTMusic] Plugin "ambient-mode::menu" loaded
[YTMusic] Plugin "album-color-theme::menu" loaded
[YTMusic] Plugin "adblocker::menu" loaded
[YTMusic] Plugin "video-toggle::menu" loaded
[YTMusic] Plugin "downloader::menu" loaded
[YTMusic] Plugin "discord::menu" loaded
[YTMusic] Plugin "crossfade::menu" loaded
[YTMusic] Plugin "ambient-mode::menu" loaded
[YTMusic] Plugin "album-color-theme::menu" loaded
[YTMusic] Plugin "adblocker::menu" loaded

Additional Information

No response

### 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.9.0-1 ### Checklists - [ ] I use the portable version of the YouTube Music Application. - [x] I can reproduce this issue in the [official version of (WEB) YTM](https://music.youtube.com). ### What operating system are you using? Other Linux ### Operating System Version Linux archlinux 6.15.3-arch1-1 ### What CPU architecture are you using? x64 ### Last Known Working YouTube Music (Application) version _No response_ ### Reproduction steps ![Image](https://github.com/user-attachments/assets/8d77953f-4a49-4661-8e0c-e1fbb8a72145) Launch the YouTube Music Desktop App on Arch Linux by running youtube-music in the terminal. Use the application normally (e.g., play music, navigate through the interface, open/close menus) for an extended period (e.g., 30 minutes to an hour or more). Observe the console output for increasing occurrences of the "Possible AsyncEventEmitter memory leak detected" warning, followed by other errors. The application will eventually become unresponsive or completely freeze. ### Expected Behavior The application should run stably and smoothly without freezing or hanging, maintain consistent performance, and not produce warnings or errors related to memory leaks or excessive event listeners. ### Actual Behavior [71300:0624/092203.779553:ERROR:interface_endpoint_client.cc(725)] Message 0 rejected by interface blink.mojom.WidgetHost [YTMusic] Plugin "downloader::menu" loaded [YTMusic] Plugin "discord::menu" loaded [YTMusic] Plugin "crossfade::menu" loaded [YTMusic] Plugin "ambient-mode::menu" loaded [YTMusic] Plugin "album-color-theme::menu" loaded [YTMusic] Plugin "adblocker::menu" loaded [71330:0624/092209.688202:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times! Possible AsyncEventEmitter memory leak detected. 11 connected listeners added to q. Use emitter.setMaxListeners() to increase the limit. [71330:0624/092522.834978:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times! [71330:0624/092523.897013:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times! [YTMusic] Plugin "downloader::menu" loaded [YTMusic] Plugin "discord::menu" loaded [YTMusic] Plugin "crossfade::menu" loaded [YTMusic] Plugin "ambient-mode::menu" loaded [YTMusic] Plugin "album-color-theme::menu" loaded [YTMusic] Plugin "adblocker::menu" loaded [YTMusic] Plugin "video-toggle::menu" loaded [YTMusic] Plugin "downloader::menu" loaded [YTMusic] Plugin "discord::menu" loaded [YTMusic] Plugin "crossfade::menu" loaded [YTMusic] Plugin "ambient-mode::menu" loaded [YTMusic] Plugin "album-color-theme::menu" loaded [YTMusic] Plugin "adblocker::menu" loaded [71300:0624/092627.840760:ERROR:browser_main_loop.cc(278)] GLib-GObject: ../glib/gobject/gsignal.c:2699: instance '0x2b5c03cd9ec0' has no handler with id '5110' ![Image](https://github.com/user-attachments/assets/eaa9abc6-2b16-4c4b-95a5-d3002a8c5094) ### Enabled plugins [YTMusic] Plugin "downloader::menu" loaded [YTMusic] Plugin "discord::menu" loaded [YTMusic] Plugin "crossfade::menu" loaded [YTMusic] Plugin "ambient-mode::menu" loaded [YTMusic] Plugin "album-color-theme::menu" loaded [YTMusic] Plugin "adblocker::menu" loaded [YTMusic] Plugin "video-toggle::menu" loaded [YTMusic] Plugin "downloader::menu" loaded [YTMusic] Plugin "discord::menu" loaded [YTMusic] Plugin "crossfade::menu" loaded [YTMusic] Plugin "ambient-mode::menu" loaded [YTMusic] Plugin "album-color-theme::menu" loaded [YTMusic] Plugin "adblocker::menu" loaded ### Additional Information _No response_
JellyBrick commented 2025-07-05 01:45:54 +00:00 (Migrated from github.com)

Please check whether the issue persists even with the crossfade plugin disabled.

Please check whether the issue persists even with the crossfade plugin disabled.
Owner

I feel like I've already seen that "expected behavior" verbatim in another issue

Do y'all use AI to generate that text, or are you copy-pasting it from other issues?

Like idk, if I was in your place I'd write "for there to be no memory leak", which is directly related to the issue at hand

I feel like I've already seen that "expected behavior" verbatim in another issue Do y'all use AI to generate that text, or are you copy-pasting it from other issues? Like idk, if I was in your place I'd write "for there to be no memory leak", which is directly related to the issue at hand
JellyBrick commented 2025-07-13 05:33:43 +00:00 (Migrated from github.com)

Duplicate of #3321

Duplicate of #3321
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#3525
No description provided.