Comment 19 for bug 1269206

Revision history for this message
David Mathog (mathog) wrote :

This example can be used to demonstrate the problem when patterned strokes are used. If that object (the top one) is selected and then "copy", Inkscape crashes. It goes down in sp_style_paint_server_ref_modified in style.cpp, at line 476. Apparently when the object is copied the server name gets out of sync with that in stroke (and text_decoration_stroke), consequently none of the 4 test cases match, and it falls through to the assert where it crashes the program.

Oddly, this does not happen for the test case where only a pattern text_decoration_fill is used (middle text case).

The problem is present for gradients in stroke as well, but not for gradients in fill. (Not shown)