Page 1 of 2

[INVALID] A big bug in NoScript or I'm doing some stupidity?

Posted: Fri Jun 01, 2012 6:39 pm
by farluiz
Please, someone can test the following page for me:

a) Enter into the following page (URL below) with all scripts DISABLED;

http://esporte.uol.com.br/futebol/ultim ... acabou.htm

b) Only wait! No need to do anything! Firefox begins to crazily allocate memory, memory, memory, turns slowly, slowly and crashes.

With scripts in the page above ENABLED, everything goes ok.

I'm crazy? I'm doing some stupidity?

My machine:
Pentium 4 with 2GB memory
WINDOWS XP SP3 with all fixes and all .net
FIREFOX 12.0
NOSCRIT 2.4.3

Re: A big bug in NoScript or I'm doing some stupidity?

Posted: Fri Jun 01, 2012 7:29 pm
by dhouwn
When scripts are disabled, this page's memory consumptions differs a lot of in terms of whether you have images allowed or not, without images it peaks at 80 MB, with at nearly 2 GB for me.

Seems like all images are decoded when JS is disabled, that's why there is the memory peak.

Bad page design.

Re: A big bug in NoScript or I'm doing some stupidity?

Posted: Fri Jun 01, 2012 7:41 pm
by farluiz
Thank you by your reply. In my machine this page "shutdown" Firefox in a few minutes with JS disabled and with no user interaction. Crazy, no?

Re: [INVALID] A big bug in NoScript or I'm doing some stupid

Posted: Sat Jun 02, 2012 10:29 am
by dhouwn
Virtual address space exhaustion. Firefox on 32-bit XP can only use up to 2GiB (unless you set the /3GB kernel switch).
Apparently https://bugzil.la/670967 is not helping.

image.mem.decodeondraw (which is now enabled per default) should help until you scroll down to the images. ;)

Re: [INVALID] A big bug in NoScript or I'm doing some stupid

Posted: Sat Jun 02, 2012 12:39 pm
by therube
Could you post that link again (in URL tags) as the board looks to have corrupted it.

Re: [INVALID] A big bug in NoScript or I'm doing some stupid

Posted: Sat Jun 02, 2012 12:43 pm
by therube
> this page "shutdown" Firefox in a few minutes

Crashed me too on XP, 2GB RAM.


Just to be clear, this has nothing to do with NoScript.
(If you remove NoScript & manually disable JavaScript, you will observe the same.)

Not sure just what image.mem.decodeondraw is doing?
From here, Bug 666560 - The best way to handle images, it was neat to load the page in question, observe Mem go up to ~1.4GB, then move to some other tabs & at some point Mem declined to ~300MB (in my case). Jump back to the gcforum.org tab & Mem shoots right back up.

Re: [INVALID] A big bug in NoScript or I'm doing some stupid

Posted: Sat Jun 02, 2012 4:01 pm
by dhouwn
therube wrote:Not sure just what image.mem.decodeondraw is doing?
Images will not be decoded (converted from compressed format, e.g. JPEG into simple bits per pixel, that's what causes the memory peak) until what they are on is drawn (note that is not the same as them being visible like I thought at first, that's why there is bug https://bugzil.la/689623 I guess).

Re: [INVALID] A big bug in NoScript or I'm doing some stupid

Posted: Mon Jun 04, 2012 2:17 pm
by therube
Link:

Code: Select all

http://esporte.uol.com.br/futebol/ultimas-noticias/2012/05/31/joel-santana-revela-surpresa-com-novela-ronaldinho-no-fla-e-decreta-acabou.htm
Crash, 0d68ec07-07af-4dd0-a6cb-7159d2120601.
Related, Bug 760952 - crash in nsLineLayout::ReflowFrame.

Been months since my last crash (& this one was was purposely forced) & I see they now log various memory related parameters, which they did not have before.
until what they are on is drawn
Explain?
Is that once the page itself is loaded, has focus?

Re: [INVALID] A big bug in NoScript or I'm doing some stupid

Posted: Mon Jun 04, 2012 6:45 pm
by GµårÐïåñ
farluiz wrote:http://esporte.uol.com.br/futebol/ultim ... acabou.htm
Next time wrap your links in between [URL] tags so they are not chomped up like this.

Re: [INVALID] A big bug in NoScript or I'm doing some stupid

Posted: Mon Jun 04, 2012 6:51 pm
by therube
> Next time...

That actually happened after the fact.
Originally it did display correctly. Don't know if he went back & mod'd the link or what?

Re: [INVALID] A big bug in NoScript or I'm doing some stupid

Posted: Mon Jun 04, 2012 8:51 pm
by farluiz
therube wrote:Link:

Code: Select all

http://esporte.uol.com.br/futebol/ultimas-noticias/2012/05/31/joel-santana-revela-surpresa-com-novela-ronaldinho-no-fla-e-decreta-acabou.htm
Crash, 0d68ec07-07af-4dd0-a6cb-7159d2120601.
Related, Bug 760952 - crash in nsLineLayout::ReflowFrame.

Been months since my last crash (& this one was was purposely forced) & I see they now log various memory related parameters, which they did not have before.
until what they are on is drawn
Explain?
Is that once the page itself is loaded, has focus?
Thank you for reporting that bug to Mozilla. I survey bugzilla in the last days and I read a lot of complaints about Firefox and pages with many images. Even in OS's other than Windows, Firefox becomes "drunk" after a simple visit to such pages.

Reading the "talks" between Mozilla's engineers, I am convinced that there is a terrible project flaw in Firefox about images manipulation.

I hope be wrong because I love Firefox, but I see shadows in the Firefox future!

Thank you all again!
Farluiz

Re: [INVALID] A big bug in NoScript or I'm doing some stupid

Posted: Mon Jun 04, 2012 9:08 pm
by dhouwn
therube wrote:Don't know if he went back & mod'd the link or what?
Might have happened when the title got edited?

Re: [INVALID] A big bug in NoScript or I'm doing some stupid

Posted: Mon Jun 04, 2012 9:29 pm
by GµårÐïåñ
It only happens if its a long URL and not wrapped and if it was wrapped in URL tags, no matter how many times you edit it, it would not change or mangle like that. Simple as that. It happened, its been noted, let's call it a day.

Re: [INVALID] A big bug in NoScript or I'm doing some stupid

Posted: Tue Jun 05, 2012 9:31 am
by dhouwn
GµårÐïåñ wrote:It only happens if its a long URL and not wrapped and if it was wrapped in URL tags, no matter how many times you edit it, it would not change or mangle like that.
Just to reiterate: if it's not wrapped in URL tags then it happens after the first edit? Because at first the link was certainly fine.

Re: [INVALID] A big bug in NoScript or I'm doing some stupid

Posted: Tue Jun 05, 2012 5:32 pm
by therube
> at first the link was certainly fine

Right.

Below being posted without Preview, simply Submit.
Further I will not edit this post a million times as I am apt to do ;-).
Lets see what happens ...

http://esporte.uol.com.br/futebol/ultim ... acabou.htm