[Qgis-user] QGIS crashes opening wfs layer

emmexx emmexx at tiscalinet.it
Sun May 14 01:37:46 PDT 2017


I installed qgis 2.18.4 on slackware 14.2 (http://qgis.gotslack.org/).

I slightly modified the compilation option to enable spatialite.

When I try to open a wfs vector layer qgis crashes.

Gdb output and backtrace:

src/core/qgsmaprenderer.cpp: 213: (adjustExtentToSize) [0ms]
6.7566848874092065,40.1852046012878290 :
18.6361111521720488,47.2066830635070644
src/core/qgsmaprenderer.cpp: 221: (adjustExtentToSize) [0ms] Adjusted
map units per pixel (x,y) : 0.00774997622761505, 0.00774997622761505
src/core/qgsmaprenderer.cpp: 223: (adjustExtentToSize) [0ms] Recalced
pixmap dimensions (x,y) : 1574, 906
src/core/qgsscalecalculator.cpp: 129: (calculateGeographicDistance)
[0ms] Distance across map extent (m): 697310
src/core/qgsscalecalculator.cpp: 86: (calculate) [0ms] scale =
1.6744e+06 conversionFactor = 39.3701
src/core/qgsmaprenderer.cpp: 228: (adjustExtentToSize) [0ms] Scale
(assuming meters as map units) = 1:1674398.5704983938485384
src/gui/qgsmapcanvas.cpp: 688: (refresh) [0ms] CANVAS refresh already
scheduled
src/gui/qgsmapcanvas.cpp: 704: (refreshMap) [45ms] CANVAS refresh!
src/core/qgsmaprenderersequentialjob.cpp: 29:
(QgsMapRendererSequentialJob) [1ms] SEQUENTIAL construct
src/core/qgsmaprenderersequentialjob.cpp: 63: (start) [2ms] SEQUENTIAL START
src/core/qgsmaprenderercustompainterjob.cpp: 37:
(QgsMapRendererCustomPainterJob) [0ms] QPAINTER construct
src/core/qgsmaprenderercustompainterjob.cpp: 64: (start) [0ms] QPAINTER run!
src/core/qgsmaprenderercustompainterjob.cpp: 66: (start) [0ms] Preparing
list of layer jobs for rendering
src/core/qgsscalecalculator.cpp: 40: (setMapUnits) [0ms] Map units set to 2
src/core/qgsmaprendererjob.cpp: 182: (prepareJobs) [0ms] CACHE VALID: 0
src/core/qgsmaprendererjob.cpp: 192: (prepareJobs) [1ms] Rendering at
layer item bicitalia_tracce5a20170514103445416
src/core/qgsmaprendererjob.cpp: 208: (prepareJobs) [0ms] layer
bicitalia:tracce5a:  minscale:0  maxscale:1e+08  scaledepvis:0  blendmode:0
src/core/qgsvectorlayerrenderer.cpp: 93: (QgsVectorLayerRenderer) [2ms]
rendering v2:
  SINGLE: LINE SYMBOL (1 layers) color 157,20,230,255
src/core/qgsmaprenderercustompainterjob.cpp: 102: (start) [0ms]
Rendering prepared in (seconds): 0.003
src/core/qgsmaprenderercustompainterjob.cpp: 240: (doRender) [1ms]
[thread:0x1c85c00] Starting to render layer stack.
src/providers/wfs/qgswfsutils.cpp: 64: (getCacheDirectory) [1ms]
[thread:0x1c85c00] Creating our cache dir
/home/maxx/.qgis2//cache/wfsprovider/pid_11128
src/providers/wfs/qgswfsutils.cpp: 162: (updateTimestamp) [0ms]
[thread:0x1c85c00] Updating keep-alive
[New Thread 0x7fff5dac0700 (LWP 11215)]
src/core/qgsvectorfilewriter.cpp: 295: (init) [2ms] [thread:0x1c85c00]
forced UTF-8 encoding for SpatiaLite

Thread 12 "Thread (pooled)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff5b2bf700 (LWP 11179)]
0x00007fffeed68414 in spatialite_init () from /usr/lib64/libspatialite.so.5
(gdb)


Backtrace

(gdb) backtrace
#0  0x00007fffeed68414 in spatialite_init () at
/usr/lib64/libspatialite.so.5
#1  0x00007ffff008ec9f in  () at /usr/lib64/libgdal.so.1
#2  0x00007ffff0093d6d in  () at /usr/lib64/libgdal.so.1
#3  0x00007ffff00977d3 in  () at /usr/lib64/libgdal.so.1
#4  0x00007ffff0085582 in OGR_Dr_CreateDataSource () at
/usr/lib64/libgdal.so.1
#5  0x00007ffff54aac46 in QgsVectorFileWriter::init(QString, QString,
QgsFields const&, QgsWKBTypes::Type, QgsCoordinateReferenceSystem
const*, QString const&, QStringList, QStringList, QString*,
QgsVectorFileWriter::FieldValueConverter*, QString const&,
QgsVectorFileWriter::ActionOnExistingFile) () at
/usr/lib64/libqgis_core.so.2.18.4
#6  0x00007ffff54af8c5 in
QgsVectorFileWriter::QgsVectorFileWriter(QString const&, QString const&,
QgsFields const&, QGis::WkbType, QgsCoordinateReferenceSystem const*,
QString const&, QStringList const&, QStringList const&, QString*,
QgsVectorFileWriter::SymbologyExport) () at
/usr/lib64/libqgis_core.so.2.18.4
#7  0x00007fff6f6b15b1 in  () at
/usr/local/lib/qgis/plugins/libwfsprovider.so
#8  0x00007fff6f6b5b79 in  () at
/usr/local/lib/qgis/plugins/libwfsprovider.so
#9  0x00007fff6f68a120 in  () at
/usr/local/lib/qgis/plugins/libwfsprovider.so
#10 0x00007fff6f68a880 in  () at
/usr/local/lib/qgis/plugins/libwfsprovider.so
#11 0x00007ffff54ecd2c in
QgsVectorLayerFeatureIterator::QgsVectorLayerFeatureIterator(QgsVectorLayerFeatureSource*,
bool, QgsFeatureRequest const&) () at /usr/lib64/libqgis_core.so.2.18.4
#12 0x00007ffff54eddf0 in  () at /usr/lib64/libqgis_core.so.2.18.4
#13 0x00007ffff5500504 in  () at /usr/lib64/libqgis_core.so.2.18.4
#14 0x00007ffff53644e5 in QgsMapRendererCustomPainterJob::doRender() ()
at /usr/lib64/libqgis_core.so.2.18.4
#15 0x00007ffff536478b in
QgsMapRendererCustomPainterJob::staticRender(QgsMapRendererCustomPainterJob*)
()
    at /usr/lib64/libqgis_core.so.2.18.4
#16 0x00007ffff5365ccc in  () at /usr/lib64/libqgis_core.so.2.18.4
#17 0x00007ffff47bdcba in  () at /usr/lib64/libQtCore.so.4
#18 0x00007ffff47ca3bc in  () at /usr/lib64/libQtCore.so.4
#19 0x00007fffed544684 in start_thread () at /lib64/libpthread.so.0
#20 0x00007fffee174efd in clone () at /lib64/libc.so.6
(gdb)

Any suggestion?

Thanks
	maxx




More information about the Qgis-user mailing list