Bug report #21619

Check geometries crashing QGIS 3.6

Added by Pedro Henrique Caldeira Caliari 9 months ago. Updated 8 months ago.

Status:Feedback
Priority:High
Assignee:-
Category:C++ plugins/Geometry Checker
Affected QGIS version:3.6.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:29435

Description

After running Check Geometries on QGIS 3.6, even by selecting a single vector layer or some of it's features, QGIS is crashing. When it has a considerable amount of errors, a "QGIS has crashed" window appears, while with a "small" amount of errors (230 or so), the algorithm might run normally and then QGIS crashes in less than a minute. Could it be that I'm using layers and files from a QGIS 2.x material? (if I run on all the layers, about 30k errors are reported and 350k+ errors are given as fixed/processed)

If Check Geometries shouldn't be used for layers containing many errors, which tool should I use in it's place for fixing common geometry errors?

Roads.7z - 7zip with the .shp and other layer files. (39 KB) Pedro Henrique Caldeira Caliari, 2019-03-20 06:43 PM

History

#1 Updated by Giovanni Manghi 9 months ago

  • Category changed from Geometry to C++ plugins/Geometry Checker
  • Status changed from Open to Feedback
  • Priority changed from Normal to High

Please attach sample data and the exact specific configurations you are using in the geometry checker.

#2 Updated by Pedro Henrique Caldeira Caliari 9 months ago

Giovanni Manghi wrote:

Please attach sample data and the exact specific configurations you are using in the geometry checker.

Input vector layers: only the attached layer.
Allowed geometries: line, multiline;
Geometry validity : duplicate nodes;
Geometry properties: none;
Geometry conditions: none;
Topology checks: check for duplicates;
Tolerance: 1e-6
Output: ESRI shapefile on temp directory

#3 Updated by Giovanni Manghi 9 months ago

  • Operating System deleted (Windows 10)
  • Status changed from Feedback to Open

Confirmed here also on Linux.

#4 Updated by Giovanni Zanoni 9 months ago

I am getting the same issue with QGIS 3.6 (and 3.4) even with a clean profile. It's ok in QGIS 3.2

#5 Updated by Alessandro Pasotti 9 months ago

  • Assignee set to Alessandro Pasotti

#6 Updated by Alessandro Pasotti 9 months ago

  • Assignee deleted (Alessandro Pasotti)

I cannot reproduce with test data on master/Linux Ubuntu 18.10

#7 Updated by Giovanni Zanoni 8 months ago

Fresh installation (3.6.1) but no way out (ok in 3.2). Check geometry plugin (with quite big dataset) makes QGis crash on Windows 10

#8 Updated by Giovanni Manghi 8 months ago

  • Status changed from Open to Feedback

No more problems, with the provided dataset, here now on 3.6.1 on linux.

#9 Updated by Giovanni Manghi 8 months ago

Giovanni Manghi wrote:

No more problems, with the provided dataset, here now on 3.6.1 on linux.

spoke too soon: it still crashes. It does when clicking on "ok" after the tool has fixed all the errors found.

does the same happens on 2.18? can anyone test?

Also available in: Atom PDF