Another YouTube glitch: 100% of CPU core usage
-
@Pathduck said in Another YouTube glitch: 100% of CPU core usage:
You can use Process Explorer to examine threads in a process and see what uses CPU.
Not a single one, lots of them:
-
Do debug build exists?
I can try to analyze hang with VTune.
But pure addresses (or asm code of functions) will not help too much. -
At least, I know that 45% of CPU resources are lost inside WaitForSingleObject API function:
(hang starts at ~20 sec)
-
@Vort Good, at least we know you have the toolset required
For all I know, since I'm unable to reproduce it here on Win 10, it might be your OS causing issues. Maybe someone else with Win7 is able to reproduce it.
Are you able to reproduce the same issue in Vivaldi version 3.2? You can install a standalone downloaded from here: https://vivaldi.com/download/archive/
Of course, it will use a clean profile, so likely not. But then you could install extensions and maybe figure out what causes it. Or you could even copy your 3.3 profile to 3.2 standalone to see if that triggers the issue. There's a lot of things you could do to isolate the problem.
Have you changed any of the flags in
vivaldi://flags
?
What is the command line of your Vivaldi, from Help > About? -
@Pathduck said in Another YouTube glitch: 100% of CPU core usage:
For all I know, since I'm unable to reproduce it here on Win 10
You do not have contents of my broken(?) cache.
And I can't send 1.5 GiB of private data to you, of course.Have you changed any of the flags in vivaldi://flags ?
I don't see easy way to check it.
What is the command line of your Vivaldi, from Help > About?
"D:\Vivaldi\Application\vivaldi.exe" --profile-directory=Default --vivaldi-standalone --flag-switches-begin --flag-switches-end --enable-audio-service-sandbox --ppapi-flash-path="C:\Windows\SysWOW64\Macromed\Flash\pepflashplayer32_32_0_0_156.dll" --save-page-as-mhtml
Are you able to reproduce the same issue in Vivaldi version 3.2? You can install a standalone downloaded from here:
No.
Last version there is Vivaldi.2.10.1745.26.x64.exe (2020-01-10).
So what about debug builds?
It is impossible to get them? -
@Vort said in Another YouTube glitch: 100% of CPU core usage:
Have you changed any of the flags in vivaldi://flags ?
I don't see easy way to check it.
Just go to vivaldi://flags and the ones you have changed are listed at the top with a blue dot at the left. The dropdown at right is blue as well.
-
@samuvuo said in Another YouTube glitch: 100% of CPU core usage:
Just go to vivaldi://flags and the ones you have changed are listed at the top with a blue dot at the left and right hand side dropdown blue as well.
Thanks. No blue dots.
-
I have found something.
Not with procexp, but with procmon.
During hang, this happens:
-
@Vort said in Another YouTube glitch: 100% of CPU core usage:
You do not have contents of my broken(?) cache.
How are you so sure the issue is with your cache? If you want to test this, close Vivaldi and manually delete the contents of:
Cache, Code Cache, File System, GPUCache, IndexedDB (might reset extension settings), Local Storage, Service Worker, Session Storage.I know you said the problem goes away if clearing the cache, so I say just delete it and save a lot of investigation. Unless the problem returns, then I still say it's an extension.
Your command line looks clean.
Last version there is Vivaldi.2.10.1745.26.x64.exe (2020-01-10).
No, last version is
Vivaldi.3.3.2022.36.x64.exe
. Maybe you have an old cache entry of the site, try Ctrl+F5.During hang, this happens:
And PID 14040 is the main Browser process? It's trying to open files in the File System folder which does not exist.
What kinds of security/privacy/third-party software is your system running?
Is it running CCleaner?
https://valkyrie.comodo.com/kill/chain/c705c0b0210ebda6a3301c6ca9c6091b2ee11d5b/behaviour/summary -
@Pathduck said in Another YouTube glitch: 100% of CPU core usage:
How are you so sure the issue is with your cache? If you want to test this, close Vivaldi and manually delete the contents of:
Cache, Code Cache, File System, GPUCache, IndexedDB (might reset extension settings), Local Storage, Service Worker, Session Storage.Cache, Code Cache, File System, GPUCache, Local Storage, Session Storage -> no changes
Service Worker -> fixes it until website loads worker again.
IndexedDB -> this is where bug lives.What kinds of security/privacy/third-party software is your system running?
Kaspersky Free 20.0.14.1085(l).
Is it running CCleaner?
No.
No, last version is Vivaldi.3.3.2022.36.x64.exe. Maybe you have an old cache entry of the site, try Ctrl+F5.
-
@Vort said in Another YouTube glitch: 100% of CPU core usage:
Service Worker -> fixes it until website loads worker again.
And this is the Youtube SW? The only SW showing in
vivaldi://serviceworker-internals
?Kaspersky Free 20.0.14.1085(l).
Have you tried to exclude the Vivaldi folder from scanning for testing purposes?
You're getting redirected to the RU version of the page, which apparently is not updated. Go manually to the main URL.
-
@Pathduck said in Another YouTube glitch: 100% of CPU core usage:
And this is the Youtube SW?
I have tested with file:
https://developers.google.com/speed/public-dns/docs/using?partial=1&hl=en
And site:
https://developers.google.com/web/tools/chrome-devtools/storage/cacheYou're getting redirected to the RU version of the page, which apparently is not updated. Go manually to the main URL.
How?
Removingru/
and changing it toen/
do not help.
Page is still redirected. -
-
@Pathduck said in Another YouTube glitch: 100% of CPU core usage:
Have you tried to exclude the Vivaldi folder from scanning for testing purposes?
Looks like restarting of Kaspersky fixed the problem O_o
Thanks. Will make more tests, but looks like problem is fixed. -
@Vort said in Another YouTube glitch: 100% of CPU core usage:
Looks like restarting of Kaspersky fixed the problem O_o
Great find - it's always either extensions or 3rd-party software
Please report the issue to Kaspersky support.Removing ru/ and changing it to en/ do not help.
Good point. I guess this should be reported to Vivaldi, and tell them to update their pages. Also redirect should not be forced if user manually adds
/en/
to the url.
https://vivaldi.com/bugreport/Direct link to 3.2 Stable:
https://downloads.vivaldi.com/stable/Vivaldi.3.2.1967.47.x64.exe
(If you still need to test if this issue is only with 3.3)Also, maybe it's still somehow related to service workers, and since you're running uBO, try to add this rule in "My Filters" it should block the YT sw process.
||youtube.com/sw.js
I just block most service workers I can find anyway -
@Pathduck said in Another YouTube glitch: 100% of CPU core usage:
Good point. I guess this should be reported to Vivaldi, and tell them to update their pages. Also redirect should not be forced if user manually adds /en/ to the url.
I have made VIV-1003.
Not a perfect description of a problem, but I have tried.By the way, do Vivaldi installers are downloaded with specific language embedded in them?
If not, then I do not see the reason for making separate lists of binaries for each language.Great find - it's always either extensions or 3rd-party software
Please report the issue to Kaspersky support.
Maybe the cause is high energy particle, which flipped some bit in my RAM
So I will do this if problem rises again.
For now glitch state is lost. -
@Pathduck said in Another YouTube glitch: 100% of CPU core usage:
(If you still need to test if this issue is only with 3.3)
Yeah, problem appeared again.
During yesterday evening, all was fine.
Then, at night, this happened:
And at morning I realized that the same bug appeared again.I have made test with Vivaldi 3.2.1967.47 - bug reproduces with this version too.
-
I have tried to add
d:\Vivaldi\
folder to Kaspersky exceptions -> no difference."L" patch for Kaspersky 20.0.14.1085 was released at 03.08.2020, which corresponds to 10.08.2020 date for file
c:\Program Files (x86)\Kaspersky Lab\Kaspersky Free 20.0\SecurityProductInformation.ini
.
So it was not possible for fresh update to make bad things.Since problem also reproduces with Vivaldi 3.2.1967.47, I think that the reason is some sort of data corruption somewhere (hope that not because of failed hardware).
Another attempt can be a computer restart, which may reset theoretical corruption in OS memory. But for now I will not do this. -
@Pathduck PC restart and several restarts of Kaspersky did not fixed the problem this time.
So problem inside broswer is the main hypothesis now.upd. Default RAM checker showed no errors.
-
Bug also reproduces inside virtual machine without Kaspersky installed.