Crash after optimizing Inkscape (.91) code filter-gaussianBlur-deviation

Bug #1517263 reported by Roul P. on 2015-11-18
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
High
Unassigned

Bug Description

Inkscape (not v0.49) created some trash style-code like this
style="filter-blend-mode:normal;color-rendering:auto;color:#000000;isolation:auto;mix-blend-mode:normal;filter-gaussianBlur-deviation:0;shape-rendering:auto;solid-color:#000000;image-rendering:auto"

(Scour is too old to recognize this code so we use some other...)

Some SVG optimzer can convert this code to SVG (XML) attributes like this

<path id="k" d="m213 368v9m-89 42v12m0 18v11.4m0-67.4v10m0-36v10m-43 58v9.469m0 76.5v10m0-38v10m0-40v12.5m-45-26.5v10m0-40v12.2m0 47.8v11m0-97.38v10.39m0-36v10m132 28v10m0-34v8.1m45 3.9v10" stroke="#000" stroke-width="4.5" fill="none" color-rendering="auto" isolation="auto" mix-blend-mode="normal" shape-rendering="auto" image-rendering="auto" filter-gaussianBlur-deviation="0" filter-blend-mode="normal" color="#000" solid-color="#000000"/>

If this code is present, Inkscape can't open this file anymore and crashes on this command filter-gaussianBlur-deviation="0" (without any messages, how I can get an error-log?)

Tested on Win7-x64 and Linux Mint

Roul P. (perhelion1) wrote :
description: updated
description: updated
Roul P. (perhelion1) on 2015-11-18
tags: added: opening
Alvin Penner (apenner) wrote :

crash reproduced on Windows XP, Inkscape 0.91+devel r14461 (Nov 13 2015)

backtrace is attached:

Program received signal SIGSEGV, Segmentation fault.
0x009961ac in SPILength::cascade ()
(gdb) bt
#0 0x009961ac in SPILength::cascade ()
#1 0x01455b44 in typeinfo for SPHkern ()
#2 0x01455da4 in typeinfo for SPIFilter ()
#3 0x00000000 in ?? ()
(gdb) c
Continuing.
error return win32-nat.c:1254 was 31

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

Full backtrace debug build 0.91+devel r14476 (OS X 10.7.5)

su_v (suv-lp) wrote :

On OS X 10.7.5, crash on load
- not reproduced with Inkscape 0.48.5 r10040
- reproduced with Inkscape 0.91 r13725, 0.91+devel r14476

Changed in inkscape:
importance: Undecided → High
milestone: none → 0.92
status: Confirmed → Triaged
tags: added: regression
Roul P. (perhelion1) on 2015-11-21
description: updated
jazzynico (jazzynico) wrote :

Still crashing on Windows 7, lp:inkscape/0.92.x rev. 15074, with the following console error message:

---
ERROR:src/sp-namedview.cpp:1068:SPNamedView* sp_document_namedview(SPDocument*, const gchar*): assertion failed: (nv != NULL)
---

jazzynico (jazzynico) wrote :

...and same BT as in comment #2.

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