Bug 33322 - use/defs in SVG can cause browser to crash
Summary: use/defs in SVG can cause browser to crash
Status: RESOLVED DUPLICATE of bug 18994
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 525.x (Safari 3.2)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-07 07:47 PST by andreas.hocevar
Modified: 2010-01-08 07:27 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andreas.hocevar 2010-01-07 07:47:39 PST
use/defs does not work. In Safari 3.1 (525.21) it can cause the browser to crash, and Chromium 4 (532.6) and Epiphany-webkit (531.2) render use elements at the original position, ignoring x and y offsets.

Example showing the rendering issue:
http://www.selfsvg.info/content/listings/use_example.svg (should look like http://www.selfsvg.info/content/images/use_example.png).

Example showing the browser crash:
http://dev.openlayers.org/releases/OpenLayers-2.8/examples/graphic-name.html (select the button with the 4 arrows, click on a polygon, and move the vertices, watch browser crash after moving the mouse around a bit).
Comment 1 Dirk Schulze 2010-01-07 10:57:57 PST
Easy fix: use other language settings: export LANG="C"
for example. We already have bug reports for this.

*** This bug has been marked as a duplicate of bug 18994 ***
Comment 2 andreas.hocevar 2010-01-08 06:48:39 PST
The link provided for the browser crash was incorrect. The correct one is http://dev.openlayers.org/releases/OpenLayers-2.8/examples/snapping.html
Comment 3 andreas.hocevar 2010-01-08 07:15:14 PST
After switching my numeric locale from de_AT to en_US, I experience the browser crashing on all of the mentioned browsers. So I think there must actually be two different issues. Unfortunately I am not able to provide a stripped down test case, but I can confirm that this issue goes away when not using defs/use.