Skip to content

Instantly share code, notes, and snippets.

@lech

lech/test.svg Secret

Last active July 30, 2021 06:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lech/7dd4d6797de47157c3c370a03e1f07f1 to your computer and use it in GitHub Desktop.
Save lech/7dd4d6797de47157c3c370a03e1f07f1 to your computer and use it in GitHub Desktop.
SVG setup test file for crashing Inkscape on Windows 10.
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="384"
height="384"
viewBox="0 0 101.6 101.6"
version="1.1"
id="svg5"
inkscape:version="1.1 (c68e22c387, 2021-05-23)"
sodipodi:docname="test.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<title
id="title946">Title</title>
<style
id="style835">.time { fill: #ff0000; }
.to { fill: #00ff00; }
.crash { fill: #0000ff; }
</style>
<sodipodi:namedview
id="namedview7"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="true"
inkscape:document-units="px"
showgrid="true"
inkscape:zoom="2"
inkscape:cx="214.25"
inkscape:cy="182.5"
inkscape:current-layer="svg5"
units="px"
width="256px"
height="1122.5196px"
showborder="true"
inkscape:showpageshadow="false"
inkscape:lockguides="true">
<inkscape:grid
type="xygrid"
id="grid824"
empspacing="8"
originx="0"
originy="0"
empcolor="#0000aa"
empopacity="0.2"
color="#dd6600"
opacity="0.13333333" />
</sodipodi:namedview>
<defs
id="defs2" />
<inkscape:templateinfo>
<inkscape:name>Grid</inkscape:name>
<inkscape:author>Lech</inkscape:author>
<inkscape:shortdesc>A Gridded Layout</inkscape:shortdesc>
<inkscape:date>2021-07-30</inkscape:date>
</inkscape:templateinfo>
<rect
style="fill-rule:evenodd;stroke-width:0.264583"
id="rect856"
width="25.4"
height="14.816667"
x="12.7"
y="10.583333"
class="time" />
<metadata
id="metadata944">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:title>Title</dc:title>
<dc:date>8/1/2021</dc:date>
<dc:creator>
<cc:Agent>
<dc:title>Bob Dole</dc:title>
</cc:Agent>
</dc:creator>
<dc:rights>
<cc:Agent>
<dc:title>Bob Dole</dc:title>
</cc:Agent>
</dc:rights>
<dc:publisher>
<cc:Agent>
<dc:title>Bob Dole</dc:title>
</cc:Agent>
</dc:publisher>
<dc:identifier>bobdole.bobdole.bob</dc:identifier>
<dc:source>github.com/tharealbobdole</dc:source>
<dc:relation>no relation</dc:relation>
<dc:language>Universal</dc:language>
<dc:description>Something Something, BOB DOLE!</dc:description>
</cc:Work>
</rdf:RDF>
</metadata>
<rect
style="fill-rule:evenodd;stroke-width:0.264583"
id="rect5429"
width="19.049999"
height="12.7"
x="50.799999"
y="8.4666662"
class="to" />
<rect
style="fill-rule:evenodd;stroke-width:0.264583"
id="rect5551"
width="21.166666"
height="14.816667"
x="23.283333"
y="31.75"
class="crash" />
<rect
style="fill:#000000;fill-rule:evenodd;stroke-width:0.264583"
id="rect866"
width="10.583333"
height="12.7"
x="55.033333"
y="33.866665" />
</svg>
@lech
Copy link
Author

lech commented Jul 30, 2021

Steps to reproduce:

  1. Work with this file normally, edit the metadata, create new shapes. Save. Confirm it's still working.
  2. Go back into the document properties > Licenses
  3. Add a license. (if still responsive, go to next step)
  4. Select the box tool and draw a box.

At this point, Inkscape has probably locked up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment