Crash when opening SVG file with dangling feBlend or feFlood filters

Bug #1708100 reported by André GILLIBERT
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

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. It may be invalid, but it should not crash Inkscape.

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>

Revision history for this message
Alvin Penner (apenner) wrote :

confirmed on Windows 10, Inkscape 0.92.1 r15371, using the code:

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

the crash message is:
ERROR:E:\Temp\Inkscape\0.92.1\inkscape-0.92.1_32\src\sp-namedview.cpp:1068:SPNamedView* sp_document_namedview(SPDocument*, const gchar*): assertion failed: (nv != NULL)

the crash can be avoided by wrapping the feBlend in a <filter> tag, as shown in the attachewd file, which does not crash.

Changed in inkscape:
status: New → Confirmed
Revision history for this message
Nathan Lee (nathan.lee) wrote :

Hi - thanks for reporting this bug, I've manually migrated it to Inkscape's new bug tracker on GitLab, and closed it here. You can continue tracking the issue in https://gitlab.com/inkscape/inkscape/-/issues/2685

Please feel free to file new bugs about the issues you're seeing at
http://inkscape.org/report.

Changed in inkscape:
status: Confirmed → Invalid
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.