Noscript 1.9.8.4 causing Flash pages to use 100% CPU
Posted: Sun Aug 23, 2009 5:09 pm
I'm running NoScript 1.9.8.4 under Firefox 3.5.2 under Windows XP SP3.
Lately I've noticed that when interacting with certain Flash objects, such as playing movies, zooming to full screen, etc that Firefox starts using 100% of the CPU for a while. The time can be anywhere from 5 seconds to several minutes (or longer). During this time Firefox stops responding.
I finally tracked the problem down to NoScript. When NoScript is running, sometimes Flash objects get "stuck" and the browser ends up using 100% of the CPU. Sometimes the browser will recover after a few minutes, other times it won't and I'll have to kill the browser. I tried resetting the NoScript options back to the default, globally allowing all scripts, disabling ABE all with no effect. I'm not getting any script timeout errors. It seems to be some kind of weird interaction between NoScript and the Flash 10.0.32.18 plugin.
Take for example, this page:
http://www.zillow.com/homes/for_sale/map/60965_rid/
Once the map loads, if I tried to zoom in by clicking Street without NoScript installed, the result is pretty much instantaneous and Firefox never uses more than 50% of the CPU. With NoScript installed, zooming in or out is slow and uses 100% of the CPU for about 5 to 10 seconds. If I add the Adblock 1.1 addon, it will use 100% of the CPU for even longer, yet Adblock 1.1 by itself (with NoScript enabled) does not hang. Once the browser recovers, zooming in and out is nearly instantaneous unless I reload the page.
I've also seen this problem in Google Reader when reading RSS feeds that contain embedded flash players. The page loads fine, but if I try to play the video or make it full screen the browser hangs with the same 99% CPU usage. Sometimes it recovers in a minute, other times it does not. This doesn't happen all the time, but once it starts, it continues until I restart the browser.
I tried creating a new profile with no addons or plugins installed (except Flash 10.0.32.18) and once I install NoScript 1.9.8.4 I see the issue (on the Zillow.com page). I've tried NoScript 1.9.8.5, but that has the same problem. I've tried going back a number of NoScript versions and, at least on the zillow.com page, it makes no difference.
Lately I've noticed that when interacting with certain Flash objects, such as playing movies, zooming to full screen, etc that Firefox starts using 100% of the CPU for a while. The time can be anywhere from 5 seconds to several minutes (or longer). During this time Firefox stops responding.
I finally tracked the problem down to NoScript. When NoScript is running, sometimes Flash objects get "stuck" and the browser ends up using 100% of the CPU. Sometimes the browser will recover after a few minutes, other times it won't and I'll have to kill the browser. I tried resetting the NoScript options back to the default, globally allowing all scripts, disabling ABE all with no effect. I'm not getting any script timeout errors. It seems to be some kind of weird interaction between NoScript and the Flash 10.0.32.18 plugin.
Take for example, this page:
http://www.zillow.com/homes/for_sale/map/60965_rid/
Once the map loads, if I tried to zoom in by clicking Street without NoScript installed, the result is pretty much instantaneous and Firefox never uses more than 50% of the CPU. With NoScript installed, zooming in or out is slow and uses 100% of the CPU for about 5 to 10 seconds. If I add the Adblock 1.1 addon, it will use 100% of the CPU for even longer, yet Adblock 1.1 by itself (with NoScript enabled) does not hang. Once the browser recovers, zooming in and out is nearly instantaneous unless I reload the page.
I've also seen this problem in Google Reader when reading RSS feeds that contain embedded flash players. The page loads fine, but if I try to play the video or make it full screen the browser hangs with the same 99% CPU usage. Sometimes it recovers in a minute, other times it does not. This doesn't happen all the time, but once it starts, it continues until I restart the browser.
I tried creating a new profile with no addons or plugins installed (except Flash 10.0.32.18) and once I install NoScript 1.9.8.4 I see the issue (on the Zillow.com page). I've tried NoScript 1.9.8.5, but that has the same problem. I've tried going back a number of NoScript versions and, at least on the zillow.com page, it makes no difference.