Bug report #13763

QGIS crashes when doing a buffer with ftools

Added by Admire Nyakudya about 4 years ago. Updated over 2 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:-
Category:Processing/QGIS
Affected QGIS version:master Regression?:
Operating System: Easy fix?:
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:Yes Copied to github as #:21789

Description

QGIS crashes on doing buffer on a polygon area that has been generated from open street map. The dataset has been extracted from the QGIS training manual in section 7.2.10 . I have tested this on windows and ubuntu 15.04, ubuntu 15.10. The version of QGIS is 2.12 and 2.10.

school.zip (2.16 KB) Admire Nyakudya, 2015-11-05 06:19 AM

item.png (54 KB) Admire Nyakudya, 2015-11-05 06:19 AM

image.png (157 KB) Admire Nyakudya, 2015-11-05 06:19 AM

Associated revisions

Revision 3bc3f52f
Added by Alexander Bruy almost 4 years ago

[processing] skip invalid geometries when buffering (fix #13763)

History

#1 Updated by Raymond Nijssen about 4 years ago

While trying to replicate this bug some things were not clear to me. Paragraph 7.2.10 is describing an intersection and not a buffer. However, the previous paragraphs are about buffering, and the intersection uses a buffer layer as input. Could you please provide:

- a zip file with the vector data you try to buffer
- the function and input parameters you are using

Thank you!

#2 Updated by Giovanni Manghi about 4 years ago

  • Target version changed from Version 2.12 to Future Release - High Priority
  • Category changed from GUI to 44
  • Status changed from Open to Feedback

#3 Updated by Admire Nyakudya about 4 years ago

The section I was referencing is the one in section 7.2.9 of the training manual. I have attached the screenshots of the commands Running qgis in the terminal results in a segmentation fault.

#4 Updated by Giovanni Manghi about 4 years ago

  • Subject changed from QGIS crash on opening dataset in training manual to QGIS crashes when doing a buffer with ftools
  • Affected QGIS version changed from 2.12.0 to master
  • OS version deleted (15.04 ,15.10 and windows 7,10)
  • Operating System deleted (ubuntu and windows)
  • Status changed from Feedback to Open

Confirmed here on master.

The appeared after 2.8.3 (not sure if in 2.10 or 2.12).

#5 Updated by Alexander Bruy almost 4 years ago

There is no crash on master 5f3ca88 with fTools and Processing. fTools generates empty output layer, Processing throws error.
It is necessary to mention that provided layer has 2 geometry errors, this may be a root of problem.

#6 Updated by Alexander Bruy almost 4 years ago

  • Status changed from Open to Closed

#7 Updated by Alexander Bruy almost 4 years ago

  • Resolution set to fixed/implemented

#8 Updated by Giovanni Manghi over 2 years ago

The "ftools" category is being removed from the tracker, changing the category of this ticket to "Processing/QGIS" to not leave the category orphaned.

Also available in: Atom PDF