Comment 0 for bug 854617

Revision history for this message
su_v (suv-lp) wrote : crash (Pattern to Objects) in ISO-Latin-1 encoded file

Steps to reproduce:
1) download sample SVG file [1]
2) open in Inkscape
3) select rectangle (background) with checkerboard pattern
4) apply 'Object > Pattern > Pattern to objects'

-> no crash in 0.48.2 (but console warnings)
-> crash in current trunk (backtrace attached, note the difference between debug and optimized build)

Not reproduced when transferring the pattern with 'copy&paste style' into a new Inkscape document (sample SVG attached, with manually added viewBox definition and size of pattern-filled rect changed to "100%")

Tested on Mac OS X 10.5.8 (i386), with
- Inkscape 0.48.1, 0.48.2,
- Inkscape 0.48+devel r10325, 0.48+devel r10639

[1] Source of Latin-1 encoded file:
<http://apike.ca/prog_svg_clip.html>
<http://apike.ca/media/svg/exampleClip2.svg> (Encoding: ISO-8859-1)
(problem noticed while testing for bug #567014)

Alternatively, open the files in inkscape (cli only) from the web directly:
$ inkscape http://apike.ca/media/svg/exampleClip2.svg
$ inkscape http://imgh.us/pattern-to-object-3-viewBox-scaled-5.svg