[Bug 380318] Re: Firefox eats all memory when displaying svg

Steffen Banhardt launchpad at steffenbanhardt.de
Thu May 28 10:42:23 UTC 2009


Attached is a smaller example made from the original wikipedia svg, with
all the stuff that is not responsible, removed.

The file contains a path, which is a large, closed circle, made with
cubic bezier:

d="M 800,500 C 800,700 600,900 400,900 C 200,900 0,700 0,500 C 0,300
200,100 400,100 C 600,100 800,300 800,500 z "

This is enlarged by a matrix:

transform="matrix(20,0,0,20,-3000,-14000)"

The whole thing has a feGaussianBlur filter on itself with
stdDeviation="3.2"

The graphic loads if *one* of these is done:

* filter removed
* shrinked the path (e.g. everpoint divided by 100)
* "smaller" matrix

It is quite interesting to see, that the svg (as also the original file
from wikipedia) loads without any problem in a background tab - firefox
freezes only, when the tab is opened.


** Attachment added: "firefox_crash7.8_ink.svg"
   http://launchpadlibrarian.net/27235331/firefox_crash7.8_ink.svg

** Changed in: firefox-3.0 (Ubuntu)
       Status: New => Confirmed

-- 
Firefox eats all memory when displaying svg
https://bugs.launchpad.net/bugs/380318
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox-3.0 in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list