SVG file blocking inkscape (huge memory allocation, cpu overload)

Bug #1197692 reported by Ivo Blöchliger
6
This bug affects 1 person
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

Revision history for this message
Ivo Blöchliger (ivo-bloechliger) wrote :
su_v (suv-lp)
tags: added: livepatheffects performance
Revision history for this message
su_v (suv-lp) wrote :

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
1498,1499c1498
< transform="matrix(0.18318451,1.0123207,-1.0123207,0.18318451,7648.2029,-622.53019)"
< inkscape:path-effect="#path-effect14941">
---
> transform="matrix(0.18318451,1.0123207,-1.0123207,0.18318451,7648.2029,-622.53019)" >

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"
       spacing="0"
       normal_offset="0"
       tang_offset="0"
       prop_units="false"
       vertical_pattern="false"
       fuse_tolerance="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").

Revision history for this message
Beluga (buovjaga) wrote :

Repro the hang.

Arch Linux 64-bit, KDE Plasma 5
Inkscape 0.92+devel 15099 (GTK3)

Changed in inkscape:
status: New → Incomplete
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.