View Issue Details

IDProjectCategoryView StatusLast Update
0018957MediaMonkey 5Otherpublic2022-05-07 07:02
Reporterdrakinite Assigned To 
PriorityurgentSeveritycrashReproducibilityhave not tried
Status resolvedResolutionopen 
Product Version5.0.3 
Target Version5.0.3 
Summary0018957: MM5 window freeze when playing YouTube while MM is minimized
DescriptionLog ID: EB3FB131
Response from user: "I think it was because I hit play on youtube online and then instantly minimized the player. I think I messed with a buffer"
Fixed in build


related to 0018609 closedLudek Some users can't run MM5 (until HW accelaration is disabled) 
has duplicate 0018959 closedmichal Crash/stall when playing YouTube while MM is minimized 
has duplicate 0018958 closedLudek "Unknown thread" exception after PC wake up on playback restoring 
related to 0018995 feedbackrusty Consider adding HW acceleration switch to Options > Performance 



2022-04-01 18:58


image.png (21,730 bytes)   
image.png (21,730 bytes)   
image-2.png (172,896 bytes)   
image-2.png (172,896 bytes)   


2022-04-04 13:04

developer   ~0067417

Last edited: 2022-04-04 14:09

View 5 revisions

This is same user as in 0018959
It is again UI freeze log ( EB3FB131 )

This time on line
ODS('**** focusControl: ' +;
in control.js

which is particularly strange as it just tries to output debug message.

Maybe the 'focus' event is called too often for some reason? The DbgView part is missing in the ELF.
If it is still reproducible for the user then please try to catch it in standard debug log using DbgView and attach.


EDIT: It would be also valuable to try:
1) whether the freeze is reproducible with regular build too? (i.e. not the debug to be sure that it is not a false positive freeze by Eureka)
2) whether the freeze is reproducible with using MediaMonkey_NoGPU.bat (i.e. without HW acceleration)


2022-04-05 01:31

developer   ~0067424

He did a bunch more testing, and confirmed that it's actually 2) which stopped the issue from occurring. Couldn't reproduce the UI freezing when running without HW acceleration, but he could reproduce it on both build types when running it normally.


2022-04-05 14:33

developer   ~0067426

Last edited: 2022-04-05 14:38

View 3 revisions

Thx, could you please ask him to put chrome://gpu to the address bar of Chrome browser and share the output?
in case he is using Edge browser then use edge://gpu/

We need to ensure that his GPU isn't blacklisted and if it is then we should add a mechanism to detect blacklisted GPUs and run MM without HW acceleration (related to issue 0018609)


2022-04-05 20:16

developer   ~0067442

I think blacklisting the GPU would be more harm than help. For some reason, when he runs MM with HW acceleration disabled, SVG icons are aliased. Additionally, because disabling HW acceleration causes HUGE CPU usage, it should be a last resort.

Asked him for the DbgView log & GPU info now, however.
image-3.png (988 bytes)   
image-3.png (988 bytes)   
image-4.png (4,471 bytes)   
image-4.png (4,471 bytes)   


2022-04-05 20:39

developer   ~0067443

I could reproduce the issue by opening a game (The Witcher 3) while MM was minimized playing a YouTube playlist. There's no explicit crash, and it continues to send debug messages to DbgView. The attached log includes about 3-4 minutes of idle messages as I was typing out this note.

I forgot to include this recording he made. Turn the volume up, his voice is quiet.
Youtube.m3u (8,160 bytes)   
#EXTINF:213,Black Gryph0n;Baasik - Faster Than You Know
#EXTINF:270,Black Gryph0n;Baasik - Quest (This Can't Be All)
#EXTINF:206,Black Gryph0n;Baasik - Crusader (Are We There Yet)
#EXTINF:187,Black Gryph0n;Baasik - Tell Me
#EXTINF:283,Black Gryph0n;Baasik - Moonlight
#EXTINF:214,Black Gryph0n;Baasik - Set in Stone
#EXTINF:305,Black Gryph0n;Baasik - Academy
#EXTINF:266,Black Gryph0n;Baasik - IMmortal
#EXTINF:203,Black Gryph0n;Baasik - Taking Off
#EXTINF:246,Black Gryph0n;Baasik - Sight Unseen
#EXTINF:210,Black Gryph0n;Baasik - Zero Gravity (Feat. Michelle Creber)
#EXTINF:290,Black Gryph0n;Baasik - Another End
#EXTINF:294,Michelle Creber;Black Gryph0n;Baasik - Getting Stronger
#EXTINF:249,Black Gryph0n;Michelle Creber - Here We Are
#EXTINF:229,Black Gryph0n;Michelle Creber - Play
#EXTINF:172,Michelle Creber - A Bad Idea
#EXTINF:215,Black Gryph0n - Fighting Back
#EXTINF:221,Michelle Creber;Black Gryph0n - Nervous
#EXTINF:270,Black Gryph0n;Michelle Creber - So Far Away
#EXTINF:259,Black Gryph0n - Say
#EXTINF:222,Michelle Creber - Bound to Break
#EXTINF:203,Michelle Creber;Black Gryph0n - Ice
#EXTINF:237,Black Gryph0n;Michelle Creber - Equality
#EXTINF:227,Michelle Creber;Black Gryph0n;Baasik - Getting Stronger (Remix)
#EXTINF:174,Black Gryph0n - Last Chance
#EXTINF:231,Black Gryph0n - What You Need
#EXTINF:210,Black Gryph0n - Letdown
#EXTINF:177,Black Gryph0n - Show Me (What You Got)
#EXTINF:278,Black Gryph0n - Promise
#EXTINF:229,Black Gryph0n - Homesick
#EXTINF:285,Black Gryph0n - Wander
#EXTINF:233,Black Gryph0n - Diamond
#EXTINF:211,Black Gryph0n - (In the Rough)
#EXTINF:189,Black Gryph0n - Better
#EXTINF:231,Black Gryph0n - Magic
#EXTINF:243,Black Gryph0n - IMmortalized
#EXTINF:245,Black Gryph0n;Michelle Creber - Here We Are
#EXTINF:293,Silva Hound;Black Gryph0n - EGOMANIA
#EXTINF:131,LilDeuceDeuce;TomSka;Black Gryph0n - Beep Beep I'm a Sheep (feat. TomSka & Black Gryph0n)
#EXTINF:118,TheFatRat - Warrior Song
#EXTINF:122,TheFatRat - Origin
#EXTINF:50,TheFatRat - Ascendancy
#EXTINF:82,TheFatRat - Nemesis
#EXTINF:107,TheFatRat - Origin Reprise
#EXTINF:163,TheFatRat - Elevate
#EXTINF:49,TheFatRat - Kingdom Come
#EXTINF:80,TheFatRat - Mad Moon Falling
#EXTINF:115,TheFatRat - Threnody
#EXTINF:139,TheFatRat - Envelope
#EXTINF:141,TheFatRat - Reminiscence
#EXTINF:140,TheFatRat - Afterlife
#EXTINF:222,TheFatRat;RIELL - Hiding In The Blue
#EXTINF:188,TheFatRat - Arcadia
#EXTINF:167,TheFatRat;RIELL - Pride & Fear
#EXTINF:192,TheFatRat - Upwind
#EXTINF:192,TheFatRat;Cecilia Gault - Our Song
#EXTINF:190,TheFatRat;Cecilia Gault - Violet Sky
#EXTINF:219,TheFatRat;Everen Maxwell;Lindsey Stirling - Warbringer
#EXTINF:210,TheFatRat - Fire
#EXTINF:191,TheFatRat;Anjulie - Love It When You Hurt Me
#EXTINF:199,TheFatRat;Anjulie - Let Love Win
#EXTINF:214,TheFatRat - Never Be Alone (Michael Jan remix)
#EXTINF:238,TheFatRat - Splinter
#EXTINF:315,TheFatRat - Splinter
#EXTINF:257,TheFatRat - Telescope
#EXTINF:208,TheFatRat - Infinite Power!
#EXTINF:228,TheFatRat - Windfall
#EXTINF:140,TheFatRat - Afterlife
#EXTINF:50,TheFatRat - Ascendancy
#EXTINF:163,TheFatRat - Elevate
#EXTINF:139,TheFatRat - Envelope
#EXTINF:49,TheFatRat - Kingdom Come
#EXTINF:80,TheFatRat - Mad Moon Falling
#EXTINF:82,TheFatRat - Nemesis
#EXTINF:122,TheFatRat - Origin
#EXTINF:107,TheFatRat - Origin Reprise
#EXTINF:141,TheFatRat - Reminiscence
#EXTINF:115,TheFatRat - Threnody
#EXTINF:118,TheFatRat - Warrior Song
#EXTINF:5175,Archie;TheFatRat - Pony Up Podcast, Episode 1: TheFatRat Guest Mix
#EXTINF:29,[no artist] - Intro
#EXTINF:81,Archie - Leto
#EXTINF:0,Archie - Leto (Aaron Wayne remix)
#EXTINF:0,Hardwell;Mitch Crown - Call Me A Spaceman (extended mix)
#EXTINF:246,TON!C - Phony
#EXTINF:5182,Archie;Polina - Here and Now
#EXTINF:210,Martin Solveig - The Night Out (Madeon remix)
#EXTINF:0,Archie;Anna Yvette - No Apologies
#EXTINF:0,Hypster - Nitro Party Music (Heren remix)
#EXTINF:0,Archie;Taio Cruz;Pitbull;Nadia Ali - Guess Who's Hungover (Childz Play mashup)
#EXTINF:0,Henrix - Let's Rave
#EXTINF:343,Steve Angello;AN21 - Valodja (Samual James remix)
#EXTINF:140,Yuna - Live Your Life (Jakob Liedholm & Carnage remix)
#EXTINF:0,Archie - Our World
#EXTINF:217,Archie;Anna Yvette - Villo
#EXTINF:198,Archie;Jakob Liedholm - Famous
#EXTINF:190,Archie;Nicky Romero;Calvin Harris - WTF Flash Fire (Archie mashup)
#EXTINF:192,EDX;John Williams - Give It Up For Love (Mysto & Pizzi Dub)
#EXTINF:231,Fareoh;Archie - Feathers
#EXTINF:210,Foster the People - Don't Stop (TheFatRat remix)
#EXTINF:0,Modulation - Groovy Movie
#EXTINF:0,Noisestorm - Renegade
#EXTINF:270,The Knocks - Brightside (TheFatRat Remix)
#EXTINF:105,Fatso - Together (Rabbit Killer remix)
Youtube.m3u (8,160 bytes)   
gpu crash (373,039 bytes)


2022-04-06 16:14

developer   ~0067461

Last edited: 2022-04-06 16:57

View 4 revisions

Based on the gpu.pdf HW acceleration seems fine and enabled for him -- so this shouldn't be an issue.
The log System_hang_while_using_VS_code.LOG isn't of any use, it just outputs our standard messages, but the bug is most probably inside Chromium.

@Petr, could you please create a build with with Chromium debug messages enabled to see more?
@drakinite: Ask Tim to open support ticket to have direct comminication channel with him


2022-04-06 17:02

developer   ~0067465

Last edited: 2022-04-06 17:26

View 3 revisions

BTW: I am unable to replicate, but this one sounds very similar: and disabling HW acceleration in Chrome did the trick. This confirms the user's tests ( 0018957:0067424 ) and that it is something between Chromium and GPU.

Also these links confirms that disabling HW accelaration does the trick for the similar issue:

Left assigned to Petr to create a build with with Chromium debug messages enabled to see more...


2022-04-07 15:40

developer   ~0067485

Chromium logging enabled for a next build


2022-04-14 19:04

developer   ~0067544

Assigning to Jordan to generate debug log using the build with Chromium logging.


2022-04-14 21:58

developer   ~0067548

Attaching log from build 2614 with the issue reproduced. It's quite long. (95,094 bytes)


2022-04-19 20:56

developer   ~0067590

Last edited: 2022-04-21 17:18

View 9 revisions

I am unable to replicate at all, but findings so far (debugging with Jordan and Tim) are:

1) The freeze occurs when there is YouTube playback and MM5 window is minimized (and is about to be maximized from the taskbar)
2) The freeze occurs also in 5.0.2 -- so not related to recent Chromium update
3) The freeze does not occur with the MediaMonkey_noGPU.bat , i.e. with HW acceleration disabled -- this relates to the links in my previous note 0018957:0067465
4) It is browser process that freezes (not the render) and the last line from browser (B) in the log usually is:
MM5 [15868](B) Activating window file:///mainwindow.html

EDIT re item 4) We added more debug messages into TBrowserWindow.activate and the method seems to be performed as whole, i.e., it does not freeze in the method, but after executing this method (somewhere in the browser process).

Assigned to Petr whether he has an idea (as the window management in the Browser process is his code)


2022-05-05 13:54

administrator   ~0067997

Per IM discussion with the devs, it might by interesting to try to enabled chrome://flags/#ignore-gpu-blocklist.

Anyway, it looks like an issue that would be 'fixed' by 0018995.


2022-05-06 07:55

developer   ~0068011

Based on tests ignore-gpu-blocklist switch didn't help


2022-05-07 07:02

developer   ~0068056

FYI, interesting note.
Adding as a Web bookmark, then playing songs on the YouTube web player, seems to NOT cause the issue. This means it must be something with the embedded YouTube player MM is using.