crash when gradients dependencies are bad
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Tavmjong Bah |
Bug Description
When selecting an item which has a broken gradient background inheritance chain, Inskape would crash.
Repro:
- Save this as weapons.svg and open it in Inkscape: http://
- Open the fill&stroke panel
- Select the circle. Inkscape crashes
Here's a trace: http://
I also found this piece of code where the return value of chase_hrefs is not checked in getVector but is checked in all other functions using chase_hrefs... (leading to the segfault seen in the trace) (in sp-gradient.cpp) http://
Note: The "weapons.svg" file was generated by Inkscape and was not tempered by an external tool (this could be a topic for another issue if someone manages to reproduce it, I didn't).
Inkscape Version (from file):
inkscape:
description: | updated |
Changed in inkscape: | |
milestone: | 0.91.1 → 0.92 |
status: | Fix Committed → Fix Released |
Reproduced (as discussed on irc):
* on Ubuntu 14.04 with Inkscape 0.91 and 0.91+devel;
* on OS X 10.7.5 with Inkscape 0.48.x, 0.91 and 0.91+devel r14109
--
<off-topic>Please always include information about OS/platform and Inkscape version in the description when filing new reports, thank you</off-topic>