[Qgis-user] qgis_mapserv.fcgi seg faulting with QT error

Peter Smith pete at linuxbox.co.uk
Wed Oct 2 05:17:02 PDT 2013


Hello,

Centos 6.4, 64 bit. I've compiled qgis 2.0.1 from source, but the
mapserv CGI keeps seg faulting with the following error:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff59445a3 in qHash(QString const&) () from
/usr/lib64/libQtCore.so.4

It only seems to happen if the map file uses an ECW data source.

I've recompiled QGIS with debugging symbols enabled, and a backtrace
in GDB gives:

(gdb) bt
#0  0x00007ffff59445a3 in qHash(QString const&) () from
/usr/lib64/libQtCore.so.4
#1  0x000000000044c2a3 in QHash<QString, QHashDummyValue>::findNode
(this=0x87eac0, akey=..., ahp=0x0) at /usr/include/QtCore/qhash.h:875
#2  0x0000000000477b92 in QHash<QString, QHashDummyValue>::contains
(this=0x87eac0, akey=...) at /usr/include/QtCore/qhash.h:867
#3  0x0000000000475797 in QSet<QString>::contains (this=0x87eac0,
value=...) at /usr/include/QtCore/qset.h:86
#4  0x000000000045cc7e in QgsProjectParser::mapLayerFromStyle
(this=0x87e9e0, lName=..., styleName=..., useCache=true) at
/root/qgis/qgis-2.0.1/src/mapserver/qgsprojectparser.cpp:1365
#5  0x00000000004ae4a0 in QgsWMSServer::applyOpacities (this=0x82d4d0,
layerList=..., vectorRenderers=..., rasterRenderers=...,
labelTransparencies=..., labelBufferTransparencies=...)
    at /root/qgis/qgis-2.0.1/src/mapserver/qgswmsserver.cpp:2045
#6  0x00000000004a2363 in QgsWMSServer::getMap (this=0x82d4d0) at
/root/qgis/qgis-2.0.1/src/mapserver/qgswmsserver.cpp:674
#7  0x000000000043eb60 in main (argc=1, argv=0x7fffffffe5a8) at
/root/qgis/qgis-2.0.1/src/mapserver/qgis_map_serv.cpp:533

Any ideas please?





More information about the Qgis-user mailing list