Page 1 of 2
Memory leak + high cpu usage, 64-bit linux
Posted: Mon May 25, 2015 6:33 pm
by Oleg
Hi! I have a problem with NoScript (2.6.9.25), Firefox 38.0.1 64-bit Linux (openSUSE, from repos or Mozilla's tarball - same behaviour).
On some sites (for example
http://rutracker.org/) with NoScript enabled Firefox eats 100% of 1 CPU core and quickly grows up to 10Gb RAM. After that it starts freezing and eventually crashes. When it happens the progress indicator (in tab) for problematic site spins forever. Doesn't matter if scripts allowed or blocked on this particular site. Same thing with new profile.
Re: Memory leak + high cpu usage, 64-bit linux
Posted: Mon May 25, 2015 6:48 pm
by barbaz
Assuming that disabling NoScript entirely gets rid of that behavior...
When that happens, do you see anything related in the Browser Console? (Ctrl-Shift-J)
(if you don't know what's related, turn off CSS warnings and post everything else you see)
You may need to open the browser console before you open the site...
Re: Memory leak + high cpu usage, 64-bit linux
Posted: Tue May 26, 2015 3:22 am
by Oleg
Thanks for the quick answer
With NoScript enabled:
With NoScript disabled:
The resource at "
http://top100-images.rambler.ru/top100/ ... -gray2.gif" was blocked because tracking protection is enabled. index.php
The resource at "
http://counter.yadro.ru/hit?t16.2;r;s19 ... 6263072795" was blocked because tracking protection is enabled. index.php
The resource at "
http://counter.rambler.ru/top100.scn?14 ... 648188&rf=" was blocked because tracking protection is enabled. index.php
This site makes use of a SHA-1 Certificate; it's recommended you use certificates with signature algorithms that use hash functions stronger than SHA-1.[Learn More] 12991294
This site makes use of a SHA-1 Certificate; it's recommended you use certificates with signature algorithms that use hash functions stronger than SHA-1.[Learn More] 28584306
This site makes use of a SHA-1 Certificate; it's recommended you use certificates with signature algorithms that use hash functions stronger than SHA-1.[Learn More]
btw, tracking protection has no effect on this behaviour
Re: Memory leak + high cpu usage, 64-bit linux
Posted: Tue May 26, 2015 3:33 am
by barbaz
What is the latest rc version of NoScript which does not have this problem?
old noscript @
https://addons.mozilla.org/addon/noscript/versions
*or*
https://noscript.net/feed?t=a
If you can't determine that, can you disable a few individual NoScript features one at a time to try determine which one is causing the slow down, re-enabling each after the test?
1) XSS: NoScript Options > Advanced > XSS, un-check everything
2) ABE: NoScript Options > Advanced > ABE > un-check "Enable ABE"
-> 2a) if that works, try re-enabling ABE and setting about:config > noscript.doNotTrack.enabled to false
3) ClearClick: NoScript Options > Advanced > ClearClick, un-check everything
4) Inclusion type checking: about:config > set noscript.inclusionTypeChecking to false
5) The other XSS filter: about:config > set noscript.xss.checkInclusions to false
6) surrogates: about:config > noscript.surrogate.enabled to false
7) well, whatever I didn't mention that's listed in
viewtopic.php?f=10&t=5920
Re: Memory leak + high cpu usage, 64-bit linux
Posted: Tue May 26, 2015 4:26 am
by Oleg
The oldest one I tried is 2.6.8.43. Same problem.
But disabling ABE helps. When I disable ABE the spinning progress indicator (which spins forever on problematic site) immediately stops, CPU and RAM usage drops down. Setting noscript.doNotTrack.enabled to false doesn't change anything.
Re: Memory leak + high cpu usage, 64-bit linux
Posted: Tue May 26, 2015 2:59 pm
by barbaz
Do you have any non-default ABE rules?
If so can you please post them and might they be active on the "problematic" sites?
Re: Memory leak + high cpu usage, 64-bit linux
Posted: Tue May 26, 2015 5:35 pm
by Oleg
Nope. I don't have any custom ABE rules.
SYSTEM
# Prevent Internet sites from requesting LAN resources.
Site LOCAL
Accept from LOCAL
Deny
USER
# User-defined rules. Feel free to experiment here.
Checkbox "Allow sites to push their own rulesets" unchecked
Re: Memory leak + high cpu usage, 64-bit linux
Posted: Tue May 26, 2015 6:37 pm
by therube
eventually crashes
about:crashes, last few related URLs?
Doesn't matter if scripts allowed or blocked on this particular site. Same thing with new profile.
Odd.
What Plugins do you have?
Re: Memory leak + high cpu usage, 64-bit linux
Posted: Wed May 27, 2015 3:24 am
by Oleg
therube wrote:eventually crashes
about:crashes, last few related URLs?
Doesn't matter if scripts allowed or blocked on this particular site. Same thing with new profile.
Odd.
What Plugins do you have?
https://crash-stats.mozilla.com/report/ ... 49e2150525
Plugins: Java 1.7 (Oracle), OpenH264 by Cisco, Shockwave Flash (disabled). Same thing without any plugins (removed from plugins dir, not just disabled)
Extensions in addition to NS: xclear, adblock, opensuse firefox extensions Again, no matter if they are enabled or disabled.
Re: Memory leak + high cpu usage, 64-bit linux
Posted: Wed May 27, 2015 3:26 am
by Oleg
Re: Memory leak + high cpu usage, 64-bit linux
Posted: Wed May 27, 2015 3:31 am
by barbaz
Oleg wrote:Proper crash url
I don't like clicking on shortened links so I've fixed it in your above post as follows:
Code: Select all
[url=LINK_HERE]text you see of the link[/url]
^ Do that and your links won't get chopped by the board.
Also if that bug report linked by your crash report is any indicator, that crash is indeed a NoScript bug.
Re: Memory leak + high cpu usage, 64-bit linux
Posted: Wed May 27, 2015 6:02 am
by Oleg
So where should I report this bug?
Re: Memory leak + high cpu usage, 64-bit linux
Posted: Wed May 27, 2015 6:06 am
by barbaz
Oleg wrote:So where should I report this bug?
Unless you want to register an account on this board, this is probably the right place to report it...
If you register an account we'll move this to NoScript Development; otherwise, it can stay here, it's fine.
Re: Memory leak + high cpu usage, 64-bit linux
Posted: Wed May 27, 2015 2:42 pm
by hippo-upy
I can confirm a similar problem on Mac OS X 8.5 / Firefox 38.0.1 .
After receiving the V. 2.6.9.24 noscript update, browser tabs were flickering on site-load, and browser-window repaints were having a grand mal seizure.
I disabled noscript and had no problems.
I tried V. 2.6.9.25 and had the same problems, so I completely uninstalled and trashed all items and folders: Mozilla, Firefox, Google, etc. from both root and user directories; re-installed Firefox and noscript and same problem exists. Disabled noscript again and had no problems.
Re: Memory leak + high cpu usage, 64-bit linux
Posted: Wed May 27, 2015 3:09 pm
by barbaz
@hippo-upy: did you mean to post that in
viewtopic.php?f=7&t=20847 ?