Closed Bug 325427 Opened 18 years ago Closed 8 years ago
SVG <use> hang with reference loops
5.88 KB, image/svg+xml
3.21 KB, image/svg+xml
1.79 KB, image/svg+xml
730 bytes, image/svg+xml
I'm finding it difficult to reduce this further by guessing, because many changes cause it to hang for 10 seconds instead of hanging indefinitely.
I noticed that memory usage increases by about 1MB per second until I kill Firefox using Task Manager. Btw, I'm using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060131 Firefox/1.6a1.
I also experience various hanging conditions. Does anyone have an idea of what are the causes behind this behaviour? Even if a fix is not provided, knowing what sort of SVG documents to avoid would be useful.
WFM (Intel Mac, trunk, debug). But I originally reported this on Windows, so I'm not marking it as WFM.
Still present in current trunk builds on Windows.
This just takes out the extraneous <g> tags. The testcase still hangs for quite a long time for me on mac - 23 seconds - but not as long as the original.
Simply removing the attributes from the <line>, <rect> and <text> tags further reduces the hang time to about 16 seconds.
OS: Windows XP → All
Hardware: x86 → All
Summary: SVG hang, possibly due to reference loop → SVG <use> hang with reference loops
Testcase works without issue now.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.