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 editing a polygon layer #29452

Closed
qgib opened this issue Mar 21, 2019 · 3 comments
Closed

QGIS crashes when editing a polygon layer #29452

qgib opened this issue Mar 21, 2019 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Digitizing Related to feature digitizing map tools or functionality Feedback Waiting on the submitter for answers High Priority

Comments

@qgib
Copy link
Contributor

qgib commented Mar 21, 2019

Author Name: Markus Weidenbach (Markus Weidenbach)
Original Redmine Issue: 21636
Affected QGIS version: 3.6.0
Redmine category:digitising


User Feedback

I was editing a MulitPolygon layer (*.gpkg). In the Digitizing Option of this layer I set "Geometry Correction" to "Delete duplicate Vertices" and "Is Valid". Th e "Topology Control" was not set.
As expected, when I was trying to save the layer after editing it, I got the message to check and correct the Geometrie errors before being able to save the layer.
I zoomed to the coordinates where the intersection of two line elements have been detected. I selected the vertex in question and tried to delete it. Then QGIS crashed!

We are working for some weeks now with this automatic geometry correction, I used it in 3.4 and now also in 3.6, and it caused permanent problems (it causes crashes and when repairing the detected errors, QGIS is ignoring it, ending up in an endless loop of correcting errors ...).
I also can find no help or documnetation on that option. I ended upt to deactivate this funtion (only the automatic correction of duplicates of vertices works).

Report Details

Crash ID: ad531a5ba6bb903396b6d917663ba2cbf0d1966e

Stack Trace

QgsFirstRunDialog::tr :
QModelIndex::data :
QgsFirstRunDialog::tr :
QgsFirstRunDialog::tr :
QgsFirstRunDialog::tr :
QgsFirstRunDialog::tr :
QMetaObject::activate :
QAbstractItemModel::dataChanged :
QgsFirstRunDialog::tr :
QMetaObject::activate :
QgsFormAnnotationDialog::qt_static_metacall :
QgsFirstRunDialog::tr :
QMetaObject::activate :
QgsVectorLayer::geometryChanged :
QMetaObject::activate :
QgsVectorLayerEditBuffer::geometryChanged :
QUndoStack::push :
QgsVectorLayerEditBuffer::changeGeometry :
QgsVectorLayer::changeGeometry :
QgsVectorLayerEditUtils::deleteVertex :
QgsVectorLayer::deleteVertex :
QgsVertexTool::deleteVertex :
QgsVertexTool::keyPressEvent :
QgsMapCanvas::keyPressEvent :
QWidget::event :
QFrame::event :
QAbstractScrollArea::event :
QgsMapCanvas::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QSizePolicy::QSizePolicy :
QSizePolicy::QSizePolicy :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QGuiApplicationPrivate::processKeyEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
TranslateMessageEx :
TranslateMessage :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 3.6.0-Noosa
QGIS code revision: 5873452
Compiled against Qt: 5.11.2
Running against Qt: 5.11.2
Compiled against GDAL: 2.4.0
Running against GDAL: 2.4.0

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

@qgib
Copy link
Contributor Author

qgib commented Mar 21, 2019

Author Name: Giovanni Manghi (@gioman)


Can you try with a new/clean profile (no 3rd party plugins), thanks!


  • priority_id was changed from Normal to High
  • status_id was changed from Open to Feedback
  • subject was changed from QGIS 3.6 with GRASS crashes when editing a polygon layer to QGIS crashes when editing a polygon layer

@qgib
Copy link
Contributor Author

qgib commented Mar 21, 2019

Author Name: Markus Weidenbach (Markus Weidenbach)


o.k will work now with a clean profile.
Still working with my old profile I got another Crash, I`d like to share:

User Feedback

QGIS crashed again, still working on the same project and layer when editing a Ring (fill Ring) and while pressing the DELET key to delete vertices of the Ring.

Report Details

Crash ID: 9bc0371d12a0020387a1191fddbb061ea5ebe77a

Stack Trace

QgsPointXY::QgsPointXY :
QgsAdvancedDigitizingDockWidget::alignToSegment :
QgsRubberBand::addPoint :
QgsMapToolCapture::cadCanvasMoveEvent :
QgsMapCanvas::mouseMoveEvent :
QWidget::event :
QFrame::event :
QGraphicsView::viewportEvent :
QCoreApplicationPrivate::sendThroughObjectEventFilters :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QApplicationPrivate::sendMouseEvent :
QSizePolicy::QSizePolicy :
QSizePolicy::QSizePolicy :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QGuiApplicationPrivate::processMouseEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
TranslateMessageEx :
TranslateMessage :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 3.6.0-Noosa
QGIS code revision: 5873452
Compiled against Qt: 5.11.2
Running against Qt: 5.11.2
Compiled against GDAL: 2.4.0
Running against GDAL: 2.4.0

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

@qgib qgib added Feedback Waiting on the submitter for answers Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Digitizing Related to feature digitizing map tools or functionality Crash/Data Corruption labels May 25, 2019
@gioman
Copy link
Contributor

gioman commented Aug 25, 2019

Closing for lack of feedback, please reopen if necessary.

@gioman gioman closed this as completed Aug 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 Digitizing Related to feature digitizing map tools or functionality Feedback Waiting on the submitter for answers High Priority
Projects
None yet
Development

No branches or pull requests

2 participants