Closed
Bug 420953
Opened 17 years ago
Closed 17 years ago
Video_Standards.svg is very, very slow
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
People
(Reporter: jwatt, Unassigned)
References
()
Details
(4 keywords, Whiteboard: [in-the-wild] [external-report])
Attachments
(1 obsolete file)
Spun off from bug 332413 comment 9. The filter in the following file makes the UI hang for ~3 second any time I try to scroll (remove the filter and it's fine):
http://upload.wikimedia.org/wikipedia/commons/c/ca/Video_Standards.svg
Flags: wanted1.9+
This would benefit enormously from both bug 416305 and bug 418201. (Restricting filter processing to the dirty rect would greatly speed up the shadows for the really large objects that are mostly offscreen.)
BTW there's this strange line in the input:
<feComposite in2="shadow" in="SourceGraphic" operator="arithmatic"></feComposite>
"arithmatic" is misspelled so we do a regular composite. Not sure what the author was trying to achieve there.
Always crash there:
http://upload.wikimedia.org/wikipedia/commons/c/ca/Video_Standards.svg
Flags: blocking1.9?
Andriy: what platform? I don't crash there on Mac trunk.
No crash here either Mac or Linux.
Flags: wanted-next+
Flags: blocking1.9?
Flags: blocking1.9-
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008050206 Minefield/3.0pre
Recent incidents:
http://crash-stats.mozilla.com/report/index/7ed94040-195c-11dd-8ffd-001cc4e2bf68
http://crash-stats.mozilla.com/report/index/5dc99df0-195c-11dd-aeff-001cc4e2bf68
http://crash-stats.mozilla.com/report/index/2787cbe1-195c-11dd-b168-001cc45a2c28
Installed extensions:
Nightly Tester Tools 2.0.1
NoScript 1.6.4 (disabled)
Update Channel Selector 1.0.3
you ran out of memory.
Signature RaiseException
UUID 7ed94040-195c-11dd-8ffd-001cc4e2bf68
Time 2008-05-03 15:01:21-07:00
Uptime 44
Product Firefox
Version 3.0pre
Build ID 2008050206
OS Windows NT
OS Version 5.1.2600 Service Pack 2
CPU x86
CPU Info GenuineIntel family 6 model 14 stepping 8
Crash Reason 0xe06d7363 / 0x00000001
Crash Address 0x7c812a5b
Comments Crash in http://upload.wikimedia.org/wikipedia/commons/c/ca/Video_Standards.svg
Crashing Thread
Frame Module Signature Source
0 kernel32.dll RaiseException
1 mozcrt19.dll _CxxThrowException throw.cpp:159
2 mozcrt19.dll operator new new.cpp:57
3 xul.dll nsSVGFEGaussianBlurElement::GaussianBlur mozilla/content/svg/content/src/nsSVGFilters.cpp:814
4 xul.dll nsSVGFEGaussianBlurElement::Filter mozilla/content/svg/content/src/nsSVGFilters.cpp:895
5 xul.dll nsSVGFilterFrame::FilterPaint mozilla/layout/svg/base/src/nsSVGFilterFrame.cpp:513
6 xul.dll nsSVGUtils::PaintChildWithEffects mozilla/layout/svg/base/src/nsSVGUtils.cpp:1378
7 xul.dll nsSVGOuterSVGFrame::Paint mozilla/layout/svg/base/src/nsSVGOuterSVGFrame.cpp:585
8 xul.dll nsDisplaySVG::Paint mozilla/layout/svg/base/src/nsSVGOuterSVGFrame.cpp:465
9 xul.dll nsDisplayList::Paint mozilla/layout/base/nsDisplayList.cpp:296
10 xul.dll nsDisplayClip::Paint mozilla/layout/base/nsDisplayList.cpp:887
11 xul.dll nsDisplayList::Paint mozilla/layout/base/nsDisplayList.cpp:296
12 xul.dll nsLayoutUtils::PaintFrame mozilla/layout/base/nsLayoutUtils.cpp:988
13 xul.dll PresShell::Paint mozilla/layout/base/nsPresShell.cpp:5413
14 xul.dll nsViewManager::RenderViews mozilla/view/src/nsViewManager.cpp:614
15 xul.dll nsViewManager::Refresh mozilla/view/src/nsViewManager.cpp:502
16 xul.dll xul.dll@0x2f92fa
17 xul.dll HandleEvent mozilla/view/src/nsView.cpp:168
18 xul.dll nsWindow::DispatchEvent mozilla/widget/src/windows/nsWindow.cpp:974
19 xul.dll nsWindow::DispatchWindowEvent mozilla/widget/src/windows/nsWindow.cpp:999
20 xul.dll xul.dll@0x2e9927
21 xul.dll nsWindow::ProcessMessage mozilla/widget/src/windows/nsWindow.cpp:4150
22 xul.dll nsWindow::WindowProc mozilla/widget/src/windows/nsWindow.cpp:1189
23 user32.dll InternalCallWinProc
24 user32.dll UserCallWinProcCheckWow
25 user32.dll DispatchClientMessage
26 user32.dll __fnDWORD
27 ntdll.dll KiUserCallbackDispatcher
28 xul.dll nsCacheService::Unlock
29 user32.dll DispatchMessageW
30 xul.dll nsAppShell::ProcessNextNativeEvent mozilla/widget/src/windows/nsAppShell.cpp:148
31 nspr4.dll PR_IntervalNow mozilla/nsprpub/pr/src/misc/prinrval.c:77
while unfortunate. this is unlikely to be fixed for ff3.
Keywords: crash
Comment 8•17 years ago
|
||
extremely small test case with very similar symptoms
Comment 9•17 years ago
|
||
Video standards is slow because it uses filters. The small related test case does not and is therefore not this bug.
I have a tree with fixes for bugs 416305 and 418201 and they totally nail this page.
Comment 11•17 years ago
|
||
Another slow SVG file, this time without gradients.
http://www.w3.org/DesignIssues/diagrams/arch/follow.svg
Comment 12•17 years ago
|
||
techtonik, there are 2 gradients:
<linearGradient x1="0" x2="1" id="Gradient" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#d9edff"/>
<stop offset="1" stop-color="#91a9c5"/>
</linearGradient>
<linearGradient id="Obj_Gradient" xl:href="#Gradient" gradientTransform="translate(1e3 71.639908) rotate(90) scale(59.999992)"/>
<linearGradient id="Obj_Gradient_2" xl:href="#Gradient" gradientTransform="translate(1e3 234.14001) rotate(90) scale(60)"/>
Comment 13•17 years ago
|
||
Removed these lines gradients, but the scrolling is still sluggish. I can't say if it is faster than before, but it is still very slow for sure.
My patches help with that page too.
Comment 15•17 years ago
|
||
So what are the plans on integrating these into the trunk?
Updated•17 years ago
|
Attachment #321437 -
Attachment is obsolete: true
The relevant patches have landed on trunk. This should be much, much faster now.
I'll take the liberty of marking this fixed.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•11 years ago
|
Whiteboard: [in-the-wild] [external-report]
You need to log in
before you can comment on or make changes to this bug.
Description
•