Bug report #17761
Working with SVG marker in (outline) marker line crash QGIS
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | - | ||
Category: | Symbology | ||
Affected QGIS version: | 2.18.15 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | Yes | Copied to github as #: | 25657 |
Description
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)
History
#1 Updated by Nyall Dawson almost 7 years ago
Can you test with master? There was a related fix which landed in master but hasn't (yet) been backported, and I'm keen to know if it fixes this too.
#2 Updated by Klas Karlsson almost 7 years ago
Did test it in Master (2.99) and had no problem, then.
Right now I'm having other problems with current master, so I can't try... (maybe a new ticket)
#3 Updated by Jürgen Fischer almost 7 years ago
- Crashes QGIS or corrupts data set to Yes
- Regression? set to No
- Affected QGIS version set to 2.18.15
- Category changed from Any to Symbology
- Project changed from QGIS Redmine (QGIS bug tracker) to QGIS Application
- Easy fix? set to No
#4 Updated by Giovanni Manghi almost 7 years ago
- Priority changed from Normal to High
#5 Updated by Jürgen Fischer almost 6 years ago
- Status changed from Open to Feedback
Please test with QGIS 3.4 - QGIS 2.18 reached it's end of life.
#6 Updated by Nyall Dawson almost 6 years ago
- Status changed from Feedback to Closed
- Resolution set to fixed/implemented
Fixed in 3.0