You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Author Name: Tim Sutton (Tim Sutton)
Original Redmine Issue: 3970
Affected QGIS version: master
Redmine category:vectors
When removing a layer, QGIS sometimes crashes. I get the following backtrace. The layers in question were all vector layers.
#_0 0x00007ffff2a2d5b8 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#_1 0x00007ffff70d66fa in QgsVectorLayer::nextFeature (this=0x4fc3d20, f=...)
at /home/timlinux/dev/cpp/Quantum-GIS/src/core/qgsvectorlayer.cpp:1795
#_2 0x00007ffff70d0bf6 in QgsVectorLayer::drawRendererV2 (this=0x4fc3d20, rendererContext=..., labeling=false)
at /home/timlinux/dev/cpp/Quantum-GIS/src/core/qgsvectorlayer.cpp:731
#_3 0x00007ffff70d2286 in QgsVectorLayer::draw (this=0x4fc3d20, rendererContext=...)
at /home/timlinux/dev/cpp/Quantum-GIS/src/core/qgsvectorlayer.cpp:987
#_4 0x00007ffff70723e2 in QgsMapRenderer::render (this=0x7ffffffed2e0, painter=0x7ffffffed5e0)
at /home/timlinux/dev/cpp/Quantum-GIS/src/core/qgsmaprenderer.cpp:492
#_5 0x00007ffff7112350 in QgsComposerMap::draw (this=0x6999f90, painter=0x7ffffffed5e0, extent=..., size=..., dpi=96)
at /home/timlinux/dev/cpp/Quantum-GIS/src/core/composer/qgscomposermap.cpp:177
#_6 0x00007ffff71127dc in QgsComposerMap::cache (this=0x6999f90) at /home/timlinux/dev/cpp/Quantum-GIS/src/core/composer/qgscomposermap.cpp:229
#_7 0x00007ffff71135f1 in QgsComposerMap::updateCachedImage (this=0x6999f90)
at /home/timlinux/dev/cpp/Quantum-GIS/src/core/composer/qgscomposermap.cpp:362
#_8 0x00007ffff742bf8f in QgsComposerMap::qt_metacall (this=0x6999f90, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7ffffffed760)
at /home/timlinux/dev/cpp/Quantum-GIS/build-release/src/core/composer/moc_qgscomposermap.cxx:78
#_9 0x00007ffff5fb75f8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#_10 0x00007ffff742952b in QgsMapLayerRegistry::layerWillBeRemoved (this=0xe6f6a0, _t1=...)
at /home/timlinux/dev/cpp/Quantum-GIS/build-release/src/core/moc_qgsmaplayerregistry.cxx:90
#_11 0x00007ffff706e9b0 in QgsMapLayerRegistry::removeMapLayer (this=0xe6f6a0, theLayerId=..., theEmitSignal=true)
at /home/timlinux/dev/cpp/Quantum-GIS/src/core/qgsmaplayerregistry.cpp:97
#_12 0x000000000078441d in QgsLegend::removeSelectedLayers (this=0xf0a7c0) at /home/timlinux/dev/cpp/Quantum-GIS/src/app/legend/qgslegend.cpp:2003
#_13 0x000000000055eae8 in QgisApp::removeLayer (this=0xd403c0) at /home/timlinux/dev/cpp/Quantum-GIS/src/app/qgisapp.cpp:4539
#_14 0x00000000007fc3ed in QgisApp::qt_metacall (this=0xd403c0, _c=QMetaObject::InvokeMetaMethod, _id=45, _a=0x7ffffffedb00)
at /home/timlinux/dev/cpp/Quantum-GIS/build-release/src/app/moc_qgisapp.cxx:407
#_15 0x00007ffff5fb75f8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#_16 0x00007ffff535d112 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#_17 0x00007ffff535d2ff in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#_18 0x00007ffff535d46f in QAction::event(QEvent*) () from /usr/lib/libQtGui.so.4
#_19 0x00007ffff53639e4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#_20 0x00007ffff53683aa in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#_21 0x00007ffff701869b in QgsApplication::notify (this=0x7fffffffdd10, receiver=0xdaa240, event=0x7ffffffee120)
at /home/timlinux/dev/cpp/Quantum-GIS/src/core/qgsapplication.cpp:118
#_22 0x00007ffff5fa249c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#_23 0x00007ffff5395be0 in ?? () from /usr/lib/libQtGui.so.4
The text was updated successfully, but these errors were encountered:
qgib
added
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Vectors
Related to general vector layer handling (not specific data formats)
labels
May 24, 2019
Author Name: Tim Sutton (Tim Sutton)
Original Redmine Issue: 3970
Affected QGIS version: master
Redmine category:vectors
When removing a layer, QGIS sometimes crashes. I get the following backtrace. The layers in question were all vector layers.
The text was updated successfully, but these errors were encountered: