Crash when opening SVG file with dangling feBlend or feFlood filters

Asked by André GILLIBERT on 2017-08-01

Any SVG file produced by the SAS (Statistical Analysis System) 9.3 statistical software, crashes Inkscape 0.92.1 when open.
This can be reduced to a bug on dangling filters.

Steps to reproduce :
1) Install Inkscape 0.92.1 on Windows 7 64 bits (not tested on other systems)
2) Create a bug.svg file containing the following code:

<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<feBlend></feBlend>
</svg>

3) Open this SVG file with Inkscape

It produces this error message and closes immediately :
---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
---------------------------

Expected behavior : Open Inkscape with a blank page.

Same bug for the following file:

<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<feFlood></feFlood>
</svg>

Question information

Language:
English Edit question
Status:
Open
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
2017-08-01
Last reply:
Hachmann (marenhachmann) said : #1

So SAS produces invalid SVG code? :/

Inkscape shouldn't crash upon loading, though.
Please report any bugs in the bugs section (https://bugs.launchpad.net/inkscape) or convert this into a bug report.

Can you help with this problem?

Provide an answer of your own, or ask André GILLIBERT for more information if necessary.

To post a message you must log in.