Page 1 of 1

Safebrowsing: 5.1.8.4rc1: Eats 50% CPU on browser startup

Posted: Fri Jan 19, 2018 8:50 pm
by therube
5.1.8.4rc1: Eats 50% CPU (100% of 1 of 2 cores) on browser startup for a good 20+ seconds.

XP
Intel e4300, 2GB RAM
SeaMonkey 2.49.1

SeaMonkey starts up to (a true) about:blank page.
No A/V or anything like that.

Extensions:
NoScript
Nuke Anything Enhanced

Plugins:
Adobe Acrobat (Reader), enabled
Adobe Flash (Player), set to Ask


Even with SeaMonkey (disabled) [in Addons Manager], it does the same.
Restart in Safe Mode (or remove NoScript) & all is well.

Re: 5.1.8.4rc1: Eats 50% CPU on browser startup

Posted: Sun Jan 21, 2018 9:38 pm
by Giorgio Maone
e10s status?

Re: 5.1.8.4rc1: Eats 50% CPU on browser startup

Posted: Mon Jan 22, 2018 12:17 am
by therube
e10s status?
SeaMonkey, so there is no e10s.

And to note, that was on XP.
I don't think I've seen the same on Win7.

Re: 5.1.8.4rc1: Eats 50% CPU on browser startup

Posted: Mon Jan 22, 2018 3:46 am
by therube
I don't think I've seen the same on Win7.
No, it does not occur.

Win7 x64
SeaMonkey 2.49.2 x64
Intel i5-3570k, 16 GB RAM

Re: 5.1.8.4rc1: Eats 50% CPU on browser startup

Posted: Mon Jan 22, 2018 5:28 pm
by therube
To note: SM BANK


I definitely saw what I saw, OP, that day.
Today, it is different.
Today, I'm getting prolonged high CPU (perhaps not quite as long duration) even after removing both extensions.

Today, FF 52.6 is likewise doing the same, with all extensions disabled.


At the least, Safe Browsing is playing into this.

(Browser) Safe Mode does not mention Safe Browsing, nevertheless, starting Safe Mode alleviates issues cause by Safe Browsing.


---


The other day (on my Win7 computer), with FF 57, running reasonably well, I updated to FF 58, & on startup, I was seeing prolong, seemingly never to end high CPU usage, that being ~25% CPU, 100% of 1 of 4 cores. With no logical reason for it. And I restart, same. And I restart, same. So I dropped back to FF 57, & still, the same.

So then I figure, I'll "gut" the Profile, blanket deleting "crap". So long as it wasn't particularly important to me, so long as I had a pretty good feel that what I was about to delete I could do without, it was gone.

And in that respect, gone were:

(directories) storage, safebrowsing, startupCache, minidumps, offlinecache, gmp, crashes, cache (maybe some others, but that's the general idea)
(I kept chrome & extensions.)

(Profile Folder, files) I probably kept most all of them, of which generally only sessionstore.json are of interest.

Anyhow, with that "fix", that issue was gone in FF 57 & in FF 58.


---


So, I guess what I'm saying is there is all kinds of crap that may be in a Profile that could potentially negatively affect what one sees.

That said, definitely odd what I did see in my OP - especially if it were only attributable to a NoScript change (& "change", not necessarily a particular NoScript version.) (NoScript would be the only extension to update. For whatever reason an extension update [& in that vain, perhaps it need not have been a NoScript update] may have had some affect, trigger, on what happened.)


---

SeaMonkey & FF 52 /safebrowsing/ ZIP'd-up (~10 MB each):

FF: https://drive.google.com/file/d/1A-OwM_ ... sp=sharing
SM: https://drive.google.com/file/d/1HkdB3_ ... sp=sharing

Download (either, both), create a new Profile, open browser & observe CPU usage.
Replace existing /safebrowsing/ directory contents with that from the ZIP.
Open browser & observe CPU usage.

Note that in FF, the "main" set of files are dated 1-15-18, with others 12-13-17.
Note that in SM, the "main" set of files are dated 11-30-17.

Don't know why SM in particular are so old.


Seamonkey slow to load home page at start up
[FF52] Why safebrowsing folder contents can cause a big slow down


From the FF zip, deleting the 1-15-2018 files "fixes" things - at least the browser loads normally (quickly).
Alternatively, deleting any 1 of the following (1-15-2018) files allows the browser to load normally (quickly):
goog-phish-shavar.pset, goog-phish-shavar.sbstore
Deleting all the other files, but leaving the above two, results in slow load.

Re: Safebrowsing: 5.1.8.4rc1: Eats 50% CPU on browser startu

Posted: Mon Jan 22, 2018 8:35 pm
by therube

Re: Safebrowsing: 5.1.8.4rc1: Eats 50% CPU on browser startu

Posted: Mon Jan 22, 2018 9:18 pm
by Giorgio Maone
Thanks. So it seems it's unrelated to NoScript, or I misunderstood the bugzilla entry?

Re: Safebrowsing: Eats 50% CPU on browser startup

Posted: Tue Jan 23, 2018 12:06 am
by therube
Correct.
It appears that it is unrelated to NoScript.

Re: Safebrowsing: 5.1.8.4rc1: Eats 50% CPU on browser startu

Posted: Tue Jan 23, 2018 1:46 am
by therube
FF 57 & 58 have a different /safebrowsing/ format so don't even know if my (reduced, bugzilla) testcase applies - nonetheless, simply by coping those two files into the /safebrowsing/ directory, FF 57 & 58 are likewise affected.

(Win7 x64, FF x64)