Closed Bug 369047 Opened 18 years ago Closed 17 years ago

SVG image hangs X

Categories

(Core :: SVG, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bzbarsky, Unassigned)

References

()

Details

(Keywords: hang, perf, Whiteboard: [in-the-wild])

STEPS TO REPRODUCE:

1) Get a Linux build
2) Possibly get an X server that triggers cairo to use software fallback for fill
   instead of using Render.
3) Load http://www.mapviewsvg.com/examples/schlatterbach/index.html

EXPECTED RESULTS: Show the image, or at least not hang.

ACTUAL RESULTS: CPU at 100% for at least 10 minutes (after which I got tired and killed that X server), with X not responding at all during that time.  Nothing ever got drawn.

On Mac the thing draws OK, so this is pretty specific to whatever cairo is doing on Linux...

I feel that if we can't reasonably handle what looks like fairly sane SVG we should try to detect this at runtime and disable thing as needed or something.  Hanging the whole user experience like this is not cool.
Flags: blocking1.9?
For what it's worth, I ran into this trying to debug bug 368987.  Loading the "A smaller example for testing" there completely hung (not just 100% CPU, but no response at all) X, and made it do _something_ that disabled the kernel's ability to respond to network requests....

Not cool. ;)
Doesn't hang for me on current trunk with linux.  There are some drawing artifacts with the tooltips, but those are fixed by bug 401112.
Yeah, seems to be worksforme too.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
The attachment in bug 368987 also worksforme.
Whiteboard: [in-the-wild]
You need to log in before you can comment on or make changes to this bug.