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

QGIS crashes when rendering all layers from a SOSI file at once #19689

Closed
qgib opened this issue Oct 14, 2014 · 7 comments
Closed

QGIS crashes when rendering all layers from a SOSI file at once #19689

qgib opened this issue Oct 14, 2014 · 7 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Data Provider Related to specific vector, raster or mesh data providers High Priority

Comments

@qgib
Copy link
Contributor

qgib commented Oct 14, 2014

Author Name: Stefan Blumentrath (@ninsbl)
Original Redmine Issue: 11410
Affected QGIS version: master
Redmine category:data_provider/ogr


QGIS crashes when rendering SOSI files, when all included layers are imported and made visible at once. QGIS crashes with "qgis-dev.exe has stopped working". In order to reproduce the issue it may need more that one SOSI file to cause the crash (open a SOSI file, click select all layers and then OK).
Using GDAL 1.11.0 and gdal-sosi 1.11.0-2

I can provide example files if needed.

Last line in DebugView is:
[11540] c:\src\qgis\src\providers\ogr\qgsogrprovider.cpp(872) : (QgsOgrProvider::extent) Starting get extent

Possibly related to #19130


@qgib
Copy link
Contributor Author

qgib commented Oct 16, 2014

Author Name: Giovanni Manghi (@gioman)


yes please, send/attach sample files. Thanks!


  • status_id was changed from Open to Feedback
  • priority_id was changed from Normal to High

@qgib
Copy link
Contributor Author

qgib commented Oct 16, 2014

Author Name: Stefan Blumentrath (@ninsbl)


Best way to reproduce the issue is to open all three files and then select all layers at import...


  • 7955 was configured as NATVERNOMR.zip
  • 7953 was configured as Kystkontur_generalisert.zip
  • 7954 was configured as NATURTYPER.zip

@qgib
Copy link
Contributor Author

qgib commented Oct 16, 2014

Author Name: Giovanni Manghi (@gioman)


  • status_id was changed from Feedback to Open
  • version was changed from 2.4.0 to master

@qgib
Copy link
Contributor Author

qgib commented Jan 19, 2016

Author Name: Sandro Santilli (@strk)


Can you still reproduce with current master (2.14-pre) ?
If so, can you also reproduce by loading a spatialite file rather than those SOSI files (I couldn't figure out how to load the SOSI file for testing)


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Jan 24, 2016

Author Name: James Stott (@jamesstott)


I have just tested with Master from OSGeo4w.

The first time I opened NATVERNOMR.sos, it didn't crash QGIS, but the file was not rendered correctly. It did not show all the geometry types correctly. Sometimes you see only the lines, other times only the polygons, and occasionally the points.

When I then added NATURTYPER.sos to QGIS, it instantly crashed.

After this I cannot get Naturvern.sos to render or show data in the attribute table. However naturtyper.sos opens, but has the same display problems that it will not display all geometry types at once. Eventually QGIS crashes with both files open again.

Do you have an example spatialite file I can try for you to reproduce?

@qgib
Copy link
Contributor Author

qgib commented Feb 6, 2016

Author Name: Stefan Blumentrath (@ninsbl)


Unfortunately, it seems that the Norwegian Mapping authority (Kartverket) discontinued the work on the SOSI-driver for GDAL, as there is no progress for more than a year now:
kartverket/fyba#9

Sad, but maybe best to close this issue as wontfix, until Kartverket updates the driver?

@qgib
Copy link
Contributor Author

qgib commented Feb 9, 2016

Author Name: Giovanni Manghi (@gioman)


Stefan Blumentrath wrote:

Unfortunately, it seems that the Norwegian Mapping authority (Kartverket) discontinued the work on the SOSI-driver for GDAL, as there is no progress for more than a year now:
kartverket/fyba#9

Sad, but maybe best to close this issue as wontfix, until Kartverket updates the driver?

closing as "upstream", as seems really the issue must be fixed anyway in gdal first.


  • resolution was changed from to up/downstream
  • status_id was changed from Feedback to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Data Provider Related to specific vector, raster or mesh data providers Crash/Data Corruption labels May 25, 2019
@qgib qgib added this to the Future Release - Lower Priority milestone May 25, 2019
@qgib qgib closed this as completed 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 Data Provider Related to specific vector, raster or mesh data providers High Priority
Projects
None yet
Development

No branches or pull requests

1 participant