[Qgis-developer] QGIS Server performance deterioration
Luca Manganelli
luca76 at gmail.com
Wed Jun 8 05:40:07 PDT 2016
On Wed, Jun 8, 2016 at 8:06 AM, Luca Manganelli <luca76 at gmail.com> wrote:
> On Tue, Jun 7, 2016 at 5:52 PM, René-Luc Dhont <rldhont at gmail.com> wrote:
>> [...]
I compiled a debug version of QGIS Server. It seems that there's a
memory leak when it reads the QGS project file, after some project
switching in QWC project list:
Program received signal SIGSEGV, Segmentation fault.
0xb6f80d11 in QBasicAtomicInt::ref (this=0x7fffffff) at
/usr/include/qt4/QtCore/qatomic_i386.h:120
120 : "memory");
(gdb) bt
#0 0xb6f80d11 in QBasicAtomicInt::ref (this=0x7fffffff) at
/usr/include/qt4/QtCore/qatomic_i386.h:120
#1 0xb6f82ce4 in QString::QString (this=0xafc1b2c, other=...) at
/usr/include/qt4/QtCore/qstring.h:726
#2 0xb7238b33 in QgsMapLayer::id (this=0xab1fc20) at
/usr/local/src/qgis-2.14.3/src/core/qgsmaplayer.cpp:107
#3 0xb7093f85 in QgsLayerTreeLayer::QgsLayerTreeLayer
(this=0xafc1b10, layer=0xab1fc20)
at /usr/local/src/qgis-2.14.3/src/core/layertree/qgslayertreelayer.cpp:27
#4 0xb709462e in QgsLayerTreeLayer::readXML (element=...) at
/usr/local/src/qgis-2.14.3/src/core/layertree/qgslayertreelayer.cpp:111
#5 0xb70a724d in QgsLayerTreeNode::readXML (element=...) at
/usr/local/src/qgis-2.14.3/src/core/layertree/qgslayertreenode.cpp:56
#6 0xb7091d85 in QgsLayerTreeGroup::readChildrenFromXML
(this=0xaf28218, element=...)
at /usr/local/src/qgis-2.14.3/src/core/layertree/qgslayertreegroup.cpp:293
#7 0xb70917c0 in QgsLayerTreeGroup::readXML (element=...) at
/usr/local/src/qgis-2.14.3/src/core/layertree/qgslayertreegroup.cpp:259
#8 0xb70a7200 in QgsLayerTreeNode::readXML (element=...) at
/usr/local/src/qgis-2.14.3/src/core/layertree/qgslayertreenode.cpp:54
#9 0xb7091d85 in QgsLayerTreeGroup::readChildrenFromXML
(this=0xada4e48, element=...)
at /usr/local/src/qgis-2.14.3/src/core/layertree/qgslayertreegroup.cpp:293
#10 0xb70917c0 in QgsLayerTreeGroup::readXML (element=...) at
/usr/local/src/qgis-2.14.3/src/core/layertree/qgslayertreegroup.cpp:259
#11 0x080f9da2 in QgsServerProjectParser::findLegendGroupElements
(this=0xafc7df0)
at /usr/local/src/qgis-2.14.3/src/server/qgsserverprojectparser.cpp:1209
More information about the Qgis-developer
mailing list