Working with SVG marker in (outline) marker line crash QGIS #25657
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Crash/Data Corruption
High Priority
Symbology
Related to vector layer symbology or renderers
Author Name: Klas Karlsson (@klakar)
Original Redmine Issue: 17761
Affected QGIS version: 2.18.15
Redmine category:symbology
Testen on QGIS 2.18.15 on Ubuntu 16.04 (no problem found on QGIS 2.99)
Using a svg as a marker symbol when I style polygons with "outline: marker line" eventually crash QGIS. (also crash when using marker line with svg on line layer).
It's not immediate, but a combination of repeatedly changing marker line interval distance and svg symbol size eventually crash QGIS every time. This is especially true for small distances and sizes.
I've tried different svg-symbols, both included in QGIS and my own files. I've also tried different polygon layers, but eventually it always crash.
The problem is mostly limited to styling in the "live style panel", but preparing a style in the layer properties dialogue and then pressing ok has also crashed QGIS on occasion.
Some error messages are more substantial than others, so the text below is only an example.
Example of crash messages (when starting qgis from terminal):
Warning: QPicture::play: Invalid command 44
Warning: QPicture::play: Invalid command 240
Warning: QPicture::play: Invalid command 128
Warning: QPicture::play: Format error
Warning: QPicture::play: Invalid command 116
Warning: QIODevice::seek: The device is not open
Warning: QPicture::play: Invalid command 240
Warning: QPicture::play: Invalid command 240
Warning: QPicture::play: Invalid command 84
Warning: QPicture::play: Invalid command 240
Warning: QPicture::play: Invalid command 34
Warning: QPicture::play: Invalid command 3
Warning: QPicture::play: Invalid command 240
Warning: QPicture::play: Invalid command 240
Warning: QPicture::play: Invalid command 240
Warning: QPicture::play: Invalid command 255
Warning: QPicture::play: Invalid command 28
Warning: QPicture::play: Invalid command 83
Warning: QPicture::play: Invalid command 58
Warning: QPicture::play: Invalid command 218
Warning: QPicture::play: Invalid command 113
Warning: QPicture::play: Invalid command 28
Warning: QPicture::play: Invalid command 162
Warning: QPicture::play: Invalid command 129
Warning: QPicture::play: Invalid command 3
Warning: QPicture::play: Invalid command 240
Warning: QPicture::play: Invalid command 240
Warning: QPicture::play: Invalid command 240
Warning: QPicture::play: Invalid command 255
Warning: QBuffer::seek: Invalid pos: 5089
Warning: QPicture::play: Format error
Warning: QPicture::play: Format error
Warning: QPicture::play: Invalid command 81
Warning: QPicture::play: Invalid command 240
Warning: QPicture::play: Invalid command 240
Warning: QPicture::play: Invalid command 84
Warning: QPicture::play: Format error
Segmenteringsfel (minnesutskrift skapad)
The text was updated successfully, but these errors were encountered: