feImage filter primitive crashes Inkscape when using an SVG file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
Bug Description
Reproduced on Windows XP, Inkscape 0.48.4 and trunk revision 12782.
Steps:
1. Open Inkscape with the default options.
2. Draw a shape.
3. Open the Filter editor.
4. Create a new filter and add an Image primitive.
5. In the source image field, select an SVG file.
6. Select the shape and apply the filter.
Inkscape crashes with the following message:
** (inkscape.
Trace:
D:\Dev\
GNU gdb (GDB) 7.3
.....
Program received signal SIGSEGV, Segmentation fault.
0x004e2577 in Inkscape:
(gdb) bt
#0 0x004e2577 in Inkscape:
#1 0x0000037f in ?? ()
#2 0x0008037f in ?? ()
#3 0x0022ecd0 in ?? ()
#4 0x00b1e959 in Inkscape:
Not reproduced with current trunk (r12782) on OS X, based on the provided instructions - if I understood them correctly:
> 5. In the source image field, select an SVG file.
Are you referring to the button labelled 'Image File' (and to selecting an external SVG file saved earlier) or to the button labelled 'Selected SVG Element'? Using the latter and thus producing a circular reference to the SVG object does crash (different backtrace), and is already tracked in bug #195320. Using the former works for me (as long as I don't delete the path to the referenced file).
I can produce a crash (same backtrace) with these steps:
1) draw object
2) create new filter, add feImage primitive
3) select external SVG file (e.g. one with a rectangle)
4) apply filter to object¨
5) highlight the path to external SVG file in the text widget and delete it
-> crash (probably the same as reported by v1nce in bug #1249390)