[Qgis-developer] QGIS server/desktop segfaults

Andreas Neumann a.neumann at carto.net
Thu Sep 17 08:29:06 PDT 2015


Hi,

Currently, with current master, QGIS server always crashes on my test 
machine (Ubuntu 64bit). Any idea how I can investigate it?

The same version on QGIS desktop always crashes on exit. Maybe it is the 
same issue?

Here is the output from the crash on exit in QGIS desktop:

--------------------
Konsole output
(gdb) bt
#0  0x00007fffef63e267 in __GI_raise (sig=sig at entry=6) at 
../sysdeps/unix/sysv/linux/raise.c:55
#1  0x00007fffef63feca in __GI_abort () at abort.c:89
#2  0x00007fffef681c53 in __libc_message (do_abort=do_abort at entry=1, 
fmt=fmt at entry=0x7fffef79a1a8 "*** Error in `%s': %s: 0x%s ***\n")
    at ../sysdeps/posix/libc_fatal.c:175
#3  0x00007fffef68d9f8 in malloc_printerr (ptr=<optimized out>, 
str=0x7fffef79a1d0 "munmap_chunk(): invalid pointer", action=<optimized 
out>)
    at malloc.c:4965
#4  munmap_chunk (p=<optimized out>) at malloc.c:2820
#5  __GI___libc_free (mem=<optimized out>) at malloc.c:2945
#6  0x00007ffff24340f8 in QString::free(QString::Data*) () from 
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007ffff3c65d05 in QString::~QString (this=0x7fffffffc8a0, 
__in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qstring.h:880
#8  0x00007ffff3e2cebd in QgsExpression::functionIndex (name=...) at 
/home/an/dev/QGIS/src/core/qgsexpression.cpp:2191
#9  0x00007ffff3e1c2d5 in QgsExpression::unregisterFunction (name=...) 
at /home/an/dev/QGIS/src/core/qgsexpression.cpp:1878
#10 0x00007fff798d6825 in meth_QgsExpression_unregisterFunction 
(sipArgs=0x7fff72bfca90) at 
/home/an/dev/QGIS/build/python/core/sip_corepart3.cpp:87358
#11 0x00007fff7b600f0c in PyEval_EvalFrameEx () from 
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#12 0x00007fff7b60131d in PyEval_EvalFrameEx () from 
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#13 0x00007fff7b60131d in PyEval_EvalFrameEx () from 
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#14 0x00007fff7b64bf80 in PyEval_EvalCodeEx () from 
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#15 0x00007fff7b5fb6d9 in PyEval_EvalCode () from 
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#16 0x00007fff7b5db9c6 in PyRun_StringFlags () from 
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#17 0x00007fff7ba21a50 in QgsPythonUtilsImpl::evalString 
(this=0x1f53600, command=..., result=...)
    at /home/an/dev/QGIS/src/python/qgspythonutilsimpl.cpp:540
#18 0x00007fff7ba22923 in QgsPythonUtilsImpl::unloadPlugin 
(this=0x1f53600, packageName=...) at 
/home/an/dev/QGIS/src/python/qgspythonutilsimpl.cpp:645
#19 0x0000000000714115 in QgsPluginRegistry::unloadAll (this=0x21968d0) 
at /home/an/dev/QGIS/src/app/qgspluginregistry.cpp:182
#20 0x00000000004e79f6 in QgisApp::saveWindowState (this=0x10d4c60) at 
/home/an/dev/QGIS/src/app/qgisapp.cpp:2901
#21 0x00000000008bd3de in QgisApp::qt_static_metacall (_o=0x10d4c60, 
_c=QMetaObject::InvokeMetaMethod, _id=156, _a=0x7fffffffd1e0)
    at /home/an/dev/QGIS/build/src/app/moc_qgisapp.cxx:792
#22 0x00007ffff25091ec in QMetaObject::activate(QObject*, QMetaObject 
const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#23 0x00007ffff24f8b75 in QCoreApplication::exec() () from 
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#24 0x00000000004cbbbf in main (argc=1, argv=0x7fffffffde98) at 
/home/an/dev/QGIS/src/app/main.cpp:1212
-----------------

Any idea on what is wrong here?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150917/44112f60/attachment.html>


More information about the Qgis-developer mailing list