SVG file blocking inkscape (huge memory allocation, cpu overload)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When working with inkscape, it crashed. When opening the last saved file (attached to this report) this causes Inkscape to freeze, on the latest downloadable Windows Version (as of July 3 2013) as well as with Ubuntu Linux, Inkscape version (Inkscape 0.48.3.1 r9886 (Jan 29 2013)). The file displays fine in Firefox, except for the 5-stars in the right side of the image, they are distorted. When opening the file with Linux, the following message is repeatedly displayed:
** (inkscape:7070): WARNING **: GC Warning: Repeated allocation of very large block (appr. size 1167360):
May lead to memory leak and poor performance.
Hard to tell, whether this could be a security problem, but it is conceivable that memory corruption occurs.
I hope this helps improving this wonderful program even more.
Many thanks to all the developers!
Ivo
tags: | added: livepatheffects performance |
That specific group of paths had a LPE applied - try the attached version with the path effect removed (by manually editing the file):
$ diff 1197692- line-follower- avec-portes- artistique. svg 1197692- line-follower- avec-portes- artistique\ copy.svg "matrix( 0.18318451, 1.0123207, -1.0123207, 0.18318451, 7648.2029, -622.53019) " path-effect= "#path- effect14941" > "matrix( 0.18318451, 1.0123207, -1.0123207, 0.18318451, 7648.2029, -622.53019) " >
1498,1499c1498
< transform=
< inkscape:
---
> transform=
The path effect itself:
<inkscape: path-effect
effect= "skeletal"
id="path- effect14941"
is_visible= "true"
pattern= "#use7534"
copytype= "repeated"
prop_scale= "1"
scale_y_ rel="false"
normal_ offset= "0"
tang_offset= "0"
prop_units= "false"
vertical_ pattern= "false"
fuse_tolerance= "0" />
spacing="0"
The referenced pattern object of the path effect "Pattern along Path" is inside the group to which the path effect is applied (id "use7534").