Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working with SVG marker in (outline) marker line crash QGIS #25657

Closed
qgib opened this issue Dec 30, 2017 · 6 comments
Closed

Working with SVG marker in (outline) marker line crash QGIS #25657

qgib opened this issue Dec 30, 2017 · 6 comments
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

Comments

@qgib
Copy link
Contributor

qgib commented Dec 30, 2017

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)

@qgib
Copy link
Contributor Author

qgib commented Jan 1, 2018

Author Name: Nyall Dawson (@nyalldawson)


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.

@qgib
Copy link
Contributor Author

qgib commented Jan 2, 2018

Author Name: Klas Karlsson (@klakar)


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)

@qgib
Copy link
Contributor Author

qgib commented Jan 2, 2018

Author Name: Jürgen Fischer (@jef-n)


  • crashes_corrupts_data was configured as 1
  • regression was configured as 0
  • version was configured as 2.18.15
  • category_id was changed from Any to Symbology
  • project_id was changed from 18 to 17
  • easy_fix was configured as 0

@qgib
Copy link
Contributor Author

qgib commented Feb 22, 2018

Author Name: Giovanni Manghi (@gioman)


  • priority_id was changed from Normal to High

@qgib
Copy link
Contributor Author

qgib commented Jan 20, 2019

Author Name: Jürgen Fischer (@jef-n)


Please test with QGIS 3.4 - QGIS 2.18 reached it's end of life.


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Feb 10, 2019

Author Name: Nyall Dawson (@nyalldawson)


Fixed in 3.0


  • status_id was changed from Feedback to Closed
  • resolution was changed from to fixed/implemented

@qgib qgib closed this as completed Feb 10, 2019
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Symbology Related to vector layer symbology or renderers Crash/Data Corruption labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant