filter with feImage with empty href crashes inkscape

Bug #1249390 reported by v1nce on 2013-11-08
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

dev 12777 ubuntu 12.04

the predefined filter "Fill and Transparency/Fill Background"
crashes inkscape probably coz it has an empty xlink:href="" feImage primitive

I attached a svg with the filter applied onto a simple rect

Open attached svg = crash

see also

v1nce (vincent-pennec) wrote :
description: updated
su_v (suv-lp) on 2013-11-08
tags: added: crash filters-svg
Changed in inkscape:
importance: Undecided → High
su_v (suv-lp) wrote :

Reproduced with trunk r12782 on OS X 10.7.5.
(the file first opens ok, and the crash occurs e.g. when zooming to drawing content)

Changed in inkscape:
status: New → Confirmed
su_v (suv-lp) wrote :

Crash not reproduced with 0.48.4. The oldest trunk build I have available on this machine (r10795) does crash however - likely an earlier regression introduced with the new cairo-renderer in trunk.

tags: added: regression
Changed in inkscape:
milestone: none → 0.49
v1nce (vincent-pennec) on 2013-11-08
description: updated
jazzynico (jazzynico) wrote :

Also reproduced on Crunchbang Waldorf (Debian stable), Inkscape trunk revision 12782. Same trace as in comment #2.
For an unknown reason, I didn't manage to reproduce it on Windows XP yesterday (I'm pretty sure there was a xlink:href attribute in my test file).

Changed in inkscape:
status: Confirmed → Triaged
jazzynico (jazzynico) wrote :

Patch tested on Windows XP, Inkscape trunk revision 12782.
No longer crashes with empty or invalid hrefs.

Please test and confirm.

Changed in inkscape:
assignee: nobody → jazzynico (jazzynico)
status: Triaged → In Progress
jazzynico (jazzynico) wrote :
jazzynico (jazzynico) wrote :

Also tested successfully on Crunchbang Waldorf (Debian stable), and committed revision 12790.

Changed in inkscape:
milestone: 0.49 → none
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers