google-code-export / svgweb

Automatically exported from code.google.com/p/svgweb
Other
1 stars 1 forks source link

Scripted SVG File Causes Stack Overflow in svgweb #445

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As an embedded object, the following SVG file loads and the script starts
to run in IE8 but without 10 seconds it stops with a stack overflow:

http://www.insplore.com/replay?filename=2010-01-18_08-40-50.svg.gz

Here is the wrapper for it, directly loadable in IE:

http://www.insplore.com/static/ie-test.html

The SVG file runs well (natively) in the current versions of Firefox,
Safari and Chrome.

Original issue reported on code.google.com by don.bart...@gmail.com on 18 Jan 2010 at 11:51

GoogleCodeExporter commented 9 years ago
Are you serving up the SVG file GZip encoded (the svg.gz in the file ending)? 
Serving up 
svgz files is not supported by SVG Web for IE.

Original comment by bradneub...@gmail.com on 19 Jan 2010 at 5:03

GoogleCodeExporter commented 9 years ago

Original comment by bradneub...@gmail.com on 19 Jan 2010 at 5:03

GoogleCodeExporter commented 9 years ago
It was setup as a gzipped file. So I fixed
http://www.insplore.com/static/ie-test.html to load a non-gzipped file. So now
instead of throwing a stack overflow about 10 seconds in, it freezes the 
javascript
script about 10 seconds in.

Thanks for looking. Like I said before, Firefox, Safari and Chrome all render 
the svg
file correctly, which is now at: 

http://www.insplore.com/static/2010-01-18_08-40-50.svg

Original comment by don.bart...@gmail.com on 19 Jan 2010 at 5:41

GoogleCodeExporter commented 9 years ago

Original comment by bradneub...@gmail.com on 9 Apr 2010 at 2:43

GoogleCodeExporter commented 9 years ago
When I hit the remote link you provided I'm able to replicate the issue. I 
brought the sample down 
into tests/non-licensed/issue445/ and hit it against r1111. I've left it 
running for a long time and the 
robots continue to move around and no stack overflow error appears. This is in 
IE 8.

Original comment by bradneub...@gmail.com on 9 Apr 2010 at 8:13