Bug report #20544

Crashing on snapping in meter unit when layer CRS is in degrees

Added by rohit singh about 6 years ago. Updated about 6 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Digitising
Affected QGIS version:3.4.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:28364

Description

User Feedback

It is crashing when using snapping options with tollerance in meter unit.

Very difficult to find the invailid geometry.

Report Details

Crash ID: bb4de561036fcb4116eecc8385eeacde74aa6ee5

Stack Trace

QgsRubberBand::QgsRubberBand :
QgsRubberBand::asGeometry :
QgsRubberBand::reset :
version :
QMetaObject::activate :
QDockWidget::visibilityChanged :
QDockWidget::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QWidgetPrivate::hideChildren :
QWidgetPrivate::hide_helper :
QWidget::setVisible :
QWidgetPrivate::close_helper :
QWidget::~QWidget :
CPLStringList::operator[] :
main :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 3.4.1-Madeira
QGIS code revision: 383851c597
Compiled against Qt: 5.11.2
Running against Qt: 5.11.2
Compiled against GDAL: 2.3.2
Running against GDAL: 2.3.2

System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.17134

History

#1 Updated by Giovanni Manghi about 6 years ago

  • Status changed from Open to Feedback

Please try with a new/clean profile.

#2 Updated by rohit singh about 6 years ago

rohit singh wrote:

User Feedback

It is crashing when using snapping options with tollerance in meter unit.

Very difficult to find the invailid geometry.

Report Details

Crash ID: bb4de561036fcb4116eecc8385eeacde74aa6ee5

Stack Trace
[...]

QGIS Info
QGIS Version: 3.4.1-Madeira
QGIS code revision: 383851c597
Compiled against Qt: 5.11.2
Running against Qt: 5.11.2
Compiled against GDAL: 2.3.2
Running against GDAL: 2.3.2

System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.17134

This issue was present in the previous version of qgis as well. The problem is when you have a shapefile in wgs84 coordinate system and you set tolerance level in meters in snapping option the back-end program is facing problem of on the fly conversion of units. One thing more there should be a way to display where is the invalid geometry error is coming from in the polygon shapefile. It has become more difficult in the new version.

#3 Updated by Giovanni Manghi about 6 years ago

  • Crashes QGIS or corrupts data changed from No to Yes
  • Status changed from Feedback to Open
  • Category changed from Editing to Digitising
  • Subject changed from Crashing on snapping in meter unit to Crashing on snapping in meter unit when layer CRS is in degrees

Also available in: Atom PDF