[Qgis-developer] QGIS crash during testing of my plugin
Luca Delucchi
lucadeluge at gmail.com
Tue Oct 14 02:15:46 PDT 2014
Hi everybody,
I'm developing a Python plugin with several submodules (like MMQGIS).
I create a BaseDialog class to create each dialog and some functions
to fill the dialogs.
When I try to call the second method QGIS crash and it return this logs.
Maybe I should create a ui file for each method and don't use the
BaseDialog class to create my interfaces?
QGIS died on signal 11[New LWP 28114]
[New LWP 28102]
[New LWP 28101]
[New LWP 28100]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f3937de3109 in __libc_waitpid (pid=28116,
stat_loc=0x7fffe4e04d54, options=0) at
../sysdeps/unix/sysv/linux/waitpid.c:40
40 ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
[Current thread is 1 (Thread 0x7f3940b6f7c0 (LWP 28099))]
#0 0x00007f3937de3109 in __libc_waitpid (pid=28116,
stat_loc=0x7fffe4e04d54, options=0) at
../sysdeps/unix/sysv/linux/waitpid.c:40
resultvar = 139883782338496
oldtype = 0
#1 0x0000000000571ac3 in qgisCrash(int) ()
No symbol table info available.
#2 <signal handler called>
No locals.
#3 0x00007f393b43a91e in QMetaObject::cast(QObject*) const () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#4 0x00007f393abc5e9c in QMdiArea::eventFilter(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#5 0x00007f38c8630566 in ?? () from
/usr/lib/python2.7/dist-packages/PyQt4/QtGui.so
No symbol table info available.
#6 0x00007f393b433d82 in
QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#7 0x00007f393a7892a8 in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#8 0x00007f393a78fe18 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#9 0x00007f393ca67a37 in QgsApplication::notify(QObject*, QEvent*) ()
from /usr/local/lib/libqgis_core.so.2.5.0
No symbol table info available.
#10 0x00007f393b433cad in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#11 0x00007f393a78b547 in QApplicationPrivate::enterModal(QWidget*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#12 0x00007f393a7d98c8 in QWidgetPrivate::show_helper() () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#13 0x00007f393a7db74a in QWidget::setVisible(bool) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#14 0x00007f393ac5d4ae in QDialog::setVisible(bool) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#15 0x00007f393ac5d876 in QDialog::exec() () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#16 0x00007f393c2cbe8b in QgsMessageViewer::showMessage(bool) () from
/usr/local/lib/libqgis_gui.so.2.5.0
No symbol table info available.
#17 0x00007f38c3a3cd12 in meth_QgsMessageOutput_showMessage () from
/usr/lib/python2.7/dist-packages/qgis/_core.so
No symbol table info available.
#18 0x00007f38c96aea8c in PyEval_EvalFrameEx () from
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
No symbol table info available.
#19 0x00007f38c96aee9d in PyEval_EvalFrameEx () from
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
No symbol table info available.
#20 0x00007f38c9721cf0 in PyEval_EvalCodeEx () from
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
No symbol table info available.
#21 0x00007f38c9670e3c in ?? () from
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
No symbol table info available.
#22 0x00007f38c9679873 in PyObject_Call () from
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
No symbol table info available.
#23 0x00007f38c9721247 in PyEval_CallObjectWithKeywords () from
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
No symbol table info available.
#24 0x00007f38c96c7dfc in PyErr_PrintEx () from
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
No symbol table info available.
#25 0x00007f38c8e31e1d in ?? () from
/usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
No symbol table info available.
#26 0x00007f38c8e3298d in ?? () from
/usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
No symbol table info available.
#27 0x00007f393b448ffb in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#28 0x00007f393a782b22 in QAction::triggered(bool) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#29 0x00007f393a7846c7 in QAction::activate(QAction::ActionEvent) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#30 0x00007f393abd809d in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#31 0x00007f393abdca69 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#32 0x00007f38c862afbb in ?? () from
/usr/lib/python2.7/dist-packages/PyQt4/QtGui.so
No symbol table info available.
#33 0x00007f393a7dc3b8 in QWidget::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#34 0x00007f393abe0a4b in QMenu::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#35 0x00007f38c86299fb in ?? () from
/usr/lib/python2.7/dist-packages/PyQt4/QtGui.so
No symbol table info available.
#36 0x00007f393a78931c in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#37 0x00007f393a78ff7f in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#38 0x00007f393ca67a37 in QgsApplication::notify(QObject*, QEvent*) ()
from /usr/local/lib/libqgis_core.so.2.5.0
No symbol table info available.
#39 0x00007f393b433cad in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#40 0x00007f393a78f5af in
QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*,
QWidget*, QWidget**, QPointer<QWidget>&, bool) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#41 0x00007f393a80668d in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#42 0x00007f393a804cb2 in QApplication::x11ProcessEvent(_XEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#43 0x00007f393a82df92 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#44 0x00007f3935f11c5d in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#45 0x00007f3935f11f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#46 0x00007f3935f11ffc in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#47 0x00007f393b46314d in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#48 0x00007f393a82e056 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#49 0x00007f393b432801 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#50 0x00007f393b432b65 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#51 0x00007f393b4385c7 in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#52 0x0000000000574b3c in main ()
No symbol table info available.
gdb returned 0
Aborted
--
ciao
Luca
http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
More information about the Qgis-developer
mailing list