Closed Bug 528613 Opened 15 years ago Closed 15 years ago

Firefox 3.5.5 crashes on SVG with a large number of (overlapping) objects with opacity

Categories

(Core :: SVG, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 523481

People

(Reporter: jvdmeiden, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/532.4 (KHTML, like Gecko) Chrome/4.0.237.0 Safari/532.4
Build Identifier: Mozilla Firefox 3.5.5

I have several SVG files which run well in previous versions of Firefox up until 3.5.4. Good example is http://vector-graphics.appspot.com/t010.html (several thousand circles with opacity often overlapping). When limitting the number of circles the SVG works fine. The SVG in http://vector-graphics.appspot.com/t001.html draws circles with opacity on mouse move, causes simmilar problems when a large number (> several hundred). At first redrawing for instnce when moving the window causes problems (Repeated blox, something like double vission), then firefox 'hangs'. 

Reproducible: Always

Steps to Reproduce:
1.navigate to http://vector-graphics.appspot.com/t010.svg
2.or http://vector-graphics.appspot.com/t001.svg
3.
Actual Results:  
Errors in display, horizontal blocks repeated. 'Hang.'

Expected Results:  
Picture (try other version or Chrome, IE with adobe plugin, Safari...
Component: General → SVG
Product: Firefox → Core
QA Contact: general → general
Works fine in 3.6. I don't know of anything change between 3.5.4 and 3.5.5 that could have broken things, since as far as I know opacity performance is shot in all 3.5.x releases.

Are you sure you really need opacity in this case and not fill-opacity.
If you're sufficiently interested to want this addressed and fill-opacity doesn't cut it for you then you could try http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/ Download mozilla1.9.1 builds to determine the exact date that the things changed for your example.
WFM on 3.5.5 just the same as 3.5.4. Opacity performance will be dramatically improved in 3.6.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
If you still have issues then try safe mode and/or a new profile or tracking it down per comment 2.
After version 3.5.4 Firefox is unable to display SVG files with a large number (hundreds) of overlapping objects with opacity.
On Windows platforms this will cause the the display to break when scolling.
On Linux this will cause the same problem. 
Up to 3.5.4 works well both on Win32 windows 5.5 SP2 (XP) and 6.0 SP1 (Vista) and Linux 2.6.27.
3.5.5 survives on Linux but redrawing 'when scrolling is 'weird' and slow.

On windows (XP and Vista) 3.6 beta 1 performs better but again caused Firefox to hang, eg on closing.
Status: RESOLVED → VERIFIED
Resolution: WORKSFORME → WONTFIX
I can't duplicate what you're seeing in terms of anything changing between 3.5.4 and 3.5.5 which is why I marked it WFM. If you want to investigate further and track things down to a day that they changed I can determine what code changes were made on that day and let the developers of those changes know. Since everything works for me I'm afraid I can't help you with that.

It is quite possible that we'd fix this if either you or someone else figured out what to fix.
Status: VERIFIED → UNCONFIRMED
Resolution: WONTFIX → ---
Jan, if you decide to investigate when this regressed between 1.9.1.4 and 1.9.1.5, then the builds at http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2009/10, the ones in the "*-mozilla-1.9.1" directories are what you want.

I can't reproduce the "hang on closing" behavior with 1.9.2 builds either...  Do you have Kaspersky antivirus installed by any chance?
Bit dazzled by all choices... Tried on win32 on Vista (Not Kaspersky but Symantec AV) downloads from:

http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2009/10/2009-10-31-05-mozilla1.9.0/ 
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2009/10/2009-10-31-04-mozilla-1.9.2/
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2009/10/2009-10-30-04-mozilla-1.9.1/

Resulting in:
-----------------
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.16pre) Gecko/2009103105 GranParadiso/3.0.16pre (.NET CLR 3.5.30729)
Works fine! Testing http://vector-graphics.appspot.com/t010.svg

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.5pre) Gecko/20091030 Shiretoko/3.5.5pre (.NET CLR 3.5.30729)
Wrecked by http://vector-graphics.appspot.com/t010.svg  
High CPU usage, blocks on scrolling, 'hangs' Redrawing screen fails: http://tiny.cc/Avz6m

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2b2pre) Gecko/20091031 Namoroka/3.6b2pre (.NET CLR 3.5.30729)
Works fine! Testing http://vector-graphics.appspot.com/t010.svg
OK, now you're getting the same results as the rest of us!

We accidentally made opacity slow in 3.5 but we noticed and have fixed it for 3.6. More details are in bug I'm duplicating this too.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.