Bug report #13538
PostGIS tables containing MultiPolygonZ crash QGIS master
Status: | Closed | ||
---|---|---|---|
Priority: | Severe/Regression | ||
Assignee: | Jürgen Fischer | ||
Category: | Data Provider/PostGIS | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 21580 |
Description
To reproduce the problem:
1- Create a new empty database
2- Restore the attached back-up data
3- Connect to the database from QGIS master
4- Add Bodies of water layer to the canvas
5- Try to zoom in and out for a couple of times
6- QGIS will eventually crash
Works fine in 2.8.3.
Associated revisions
adapt local simplication to new geometry types (fixes #13538)
History
#1 Updated by Saber Razmjooei about 9 years ago
- Assignee deleted (
Jürgen Fischer)
#2 Updated by Jürgen Fischer about 9 years ago
- Status changed from Open to Feedback
not reproducable for me on Linux (using PostgreSQL 9.4 and PostGIS 2.1 and 1.5).
#3 Updated by Salvatore Larosa about 9 years ago
I can confirm with the following stacktrace:
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fff7c396700 (LWP 15257)] 0x00007ffff3bbfd85 in QPointF::QPointF (this=0x7ffc7abae8b0) at /usr/include/qt4/QtCore/qpoint.h:271 271 inline QPointF::QPointF() : xp(0), yp(0) { } (gdb) bt #0 0x00007ffff3bbfd85 in QPointF::QPointF (this=0x7ffc7abae8b0) at /usr/include/qt4/QtCore/qpoint.h:271 #1 0x00007ffff3c3850c in QVector<QPointF>::QVector (this=0x7fff7c3952e0, asize=-804899190) at /usr/include/qt4/QtCore/qvector.h:422 #2 0x00007ffff3c375d0 in QPolygonF::QPolygonF (this=0x7fff7c3952e0, asize=-804899190) at /usr/include/qt4/QtGui/qpolygon.h:165 #3 0x00007ffff3c3376d in QgsFeatureRendererV2::_getPolygon (pts=..., holes=..., context=..., wkb= 0x7fffd00fb799 "X\\361*\\375?W\\024A\\352\\212\\066\\006\\320_\\006A\\262\\263\\367\\001xY\\024A\\352\\212\\066\\006\\320_\\006A\\262\\263\\367\\001xY\\024A\\323\\177\\064\\371\\307c\\006AX\\361*\\375?W\\024A\\323\\177\\064\\371\\307c\\006AX\\361*\\375?W\\024A\\352\\212\\066\\006\\320_\\006A\ $\\225vyp@p", clipToExtent=true) at /home/sam/pacchetti_gis/QGIS/src/core/symbology-ng/qgsrendererv2.cpp:146 #4 0x00007ffff3c348b4 in QgsFeatureRendererV2::renderFeatureWithSymbol (this=0x69ab360, feature=..., symbol=0x69ac800, context=..., layer=-1, selected=false, drawVertexMarker=false) at /home/sam/pacchetti_gis/QGIS/src/core/symbology-ng/qgsrendererv2.cpp:430 #5 0x00007ffff3c33f9c in QgsFeatureRendererV2::renderFeature (this=0x69ab360, feature=..., context=..., layer=-1, selected=false, drawVertexMarker=false) at /home/sam/pacchetti_gis/QGIS/src/core/symbology-ng/qgsrendererv2.cpp:275 #6 0x00007ffff3fbb8bf in QgsVectorLayerRenderer::drawRendererV2 (this=0x5ebcf60, fit=...) at /home/sam/pacchetti_gis/QGIS/src/core/qgsvectorlayerrenderer.cpp:303 #7 0x00007ffff3fbafe6 in QgsVectorLayerRenderer::render (this=0x5ebcf60) at /home/sam/pacchetti_gis/QGIS/src/core/qgsvectorlayerrenderer.cpp:240 #8 0x00007ffff3e8728f in QgsMapRendererCustomPainterJob::doRender (this=0xb27600) at /home/sam/pacchetti_gis/QGIS/src/core/qgsmaprenderercustompainterjob.cpp:251 #9 0x00007ffff3e86f49 in QgsMapRendererCustomPainterJob::staticRender (self=0xb27600) at /home/sam/pacchetti_gis/QGIS/src/core/qgsmaprenderercustompainterjob.cpp:214 #10 0x00007ffff3e89e39 in QtConcurrent::StoredFunctorCall1<void, void (*)(QgsMapRendererCustomPainterJob*), QgsMapRendererCustomPainterJob*>::runFunctor (this=0x18dc220) at /usr/include/qt4/QtCore/qtconcurrentstoredfunctioncall.h:277 #11 0x00007ffff3e881b0 in QtConcurrent::RunFunctionTask<void>::run (this=0x18dc220) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:134 #12 0x00007ffff1fea6bd in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #13 0x00007ffff1ff6d0b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #14 0x00007fffee77ab50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #15 0x00007fffeea6b95d in clone () from /lib/x86_64-linux-gnu/libc.so.6 #16 0x0000000000000000 in ?? ()
PostgreSQL Client Version 9.2.5, PostGIS 2.2
#4 Updated by Jürgen Fischer about 9 years ago
using local simplification?
#5 Updated by Saber Razmjooei about 9 years ago
Jürgen, simplification was indeed enabled. Disabling it, did not resolve the problem but it took longer to crash.
#6 Updated by Saber Razmjooei about 9 years ago
- Status changed from Feedback to Open
#7 Updated by Jürgen Fischer about 9 years ago
- Assignee set to Jürgen Fischer
#8 Updated by Jürgen Fischer about 9 years ago
- Status changed from Open to Closed
Fixed in changeset bc59d6f18d57af8f52b656e21a8f083c3087684e.