[Qgis-developer] QGIS 2.2 custom ui crash
Stefan Sylla
stefansylla at gmx.de
Fri Mar 14 03:07:45 PDT 2014
I am using a custom UI created with qt4 designer in QGIS 2.2 on Ubuntu 13.10.
When I try to load the form using the identify tool QGIS crashes.
I know that this was an issue on Ubuntu 12.04 with QGIS 2.0
(http://hub.qgis.org/issues/8760), but with Ubuntu 13.10 it was not an issue
before QGIS 2.2. I tried to fix the problem proposed on
http://hub.qgis.org/issues/8760 (remove xml elements with geometry), but the
crashing persists.
Here is the error log (I launched as root to get error msgs):
:~$ sudo qgis
Warning: loading of qt translation failed
[/usr/share/qt4/translations/qt_en_US]
QGIS died on signal 11[New LWP 9063]
[New LWP 9038]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f1bed56f4b7 in __libc_waitpid (pid=<optimized out>,
stat_loc=<optimized out>, options=<optimized out>) 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 0x7f1bf4da37c0 (LWP 9035))]
#0 0x00007f1bed56f4b7 in __libc_waitpid (pid=<optimized out>,
stat_loc=<optimized out>, options=<optimized out>) at
../sysdeps/unix/sysv/linux/waitpid.c:40
resultvar = 18446744073709551104
oldtype = 0
result = <optimized out>
#1 0x00000000004f3727 in qgisCrash(int) ()
No symbol table info available.
#2 <signal handler called>
No locals.
#3 0x0000000000850178 in
QFormInternal::domPropertyToVariant(QFormInternal::QAbstractFormBuilder*,
QMetaObject const*, QFormInternal::DomProperty const*) ()
No symbol table info available.
#4 0x00000000007fecc9 in
QFormInternal::QAbstractFormBuilder::toVariant(QMetaObject const*,
QFormInternal::DomProperty*) ()
No symbol table info available.
#5 0x0000000000818422 in
QFormInternal::QFormBuilder::applyProperties(QObject*,
QList<QFormInternal::DomProperty*> const&) ()
No symbol table info available.
#6 0x00000000007fa0b1 in
QFormInternal::FormBuilderPrivate::applyProperties(QObject*,
QList<QFormInternal::DomProperty*> const&) ()
No symbol table info available.
#7 0x0000000000806130 in
QFormInternal::QAbstractFormBuilder::create(QFormInternal::DomWidget*,
QWidget*) ()
No symbol table info available.
#8 0x0000000000819241 in
QFormInternal::QFormBuilder::create(QFormInternal::DomWidget*, QWidget*) ()
No symbol table info available.
#9 0x00000000007fa76e in
QFormInternal::FormBuilderPrivate::create(QFormInternal::DomWidget*,
QWidget*) ()
No symbol table info available.
#10 0x00000000008083a3 in
QFormInternal::QAbstractFormBuilder::create(QFormInternal::DomUI*, QWidget*)
()
No symbol table info available.
#11 0x00000000007fa708 in
QFormInternal::FormBuilderPrivate::create(QFormInternal::DomUI*, QWidget*)
()
No symbol table info available.
#12 0x00000000007fe7e1 in
QFormInternal::QAbstractFormBuilder::load(QIODevice*, QWidget*) ()
No symbol table info available.
#13 0x00007f1bf0bbb094 in QUiLoader::load(QIODevice*, QWidget*) () from
/usr/lib/libqgis_gui.so.2.2.0
No symbol table info available.
#14 0x00007f1bf0ae2d73 in QgsAttributeDialog::init() () from
/usr/lib/libqgis_gui.so.2.2.0
No symbol table info available.
#15 0x00007f1bf0ae3d4d in
QgsAttributeDialog::QgsAttributeDialog(QgsVectorLayer*, QgsFeature*, bool,
QWidget*, bool, QgsAttributeEditorContext) () from
/usr/lib/libqgis_gui.so.2.2.0
No symbol table info available.
#16 0x00000000005ddecc in QgsFeatureAction::newDialog(bool) ()
No symbol table info available.
#17 0x00000000005de34c in QgsFeatureAction::viewFeatureForm(QgsHighlight*)
()
No symbol table info available.
#18 0x00000000005d50b2 in QgsIdentifyResultsDialog::featureForm() ()
No symbol table info available.
#19 0x00000000005db843 in QgsIdentifyResultsDialog::show() ()
No symbol table info available.
#20 0x0000000000635360 in
QgsMapToolIdentifyAction::canvasReleaseEvent(QMouseEvent*) ()
No symbol table info available.
#21 0x00007f1bf0b38c2b in QgsMapCanvas::mouseReleaseEvent(QMouseEvent*) ()
from /usr/lib/libqgis_gui.so.2.2.0
No symbol table info available.
#22 0x00007f1bef4e931e in QWidget::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#23 0x00007f1bef88a5be in QFrame::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#24 0x00007f1befa95e09 in QGraphicsView::viewportEvent(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#25 0x00007f1bf00fca26 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#26 0x00007f1bef499ddc in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#27 0x00007f1bef4a05ad in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#28 0x00007f1bf1097c1b in QgsApplication::notify(QObject*, QEvent*) () from
/usr/lib/libqgis_core.so.2.2.0
No symbol table info available.
#29 0x00007f1bf00fc8bd in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#30 0x00007f1bef49fd63 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.
#31 0x00007f1bef5147db in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#32 0x00007f1bef514079 in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#33 0x00007f1bef53b922 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#34 0x00007f1beb3c83b6 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#35 0x00007f1beb3c8708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#36 0x00007f1beb3c87ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#37 0x00007f1bf0129a55 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#38 0x00007f1bef53b9d6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#39 0x00007f1bf00fb5ef in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#40 0x00007f1bf00fb8e5 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#41 0x00007f1bf0100e5b in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#42 0x00000000004ee273 in main ()
No symbol table info available.
gdb returned 0
Anyone experiencing the same?
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/QGIS-2-2-custom-ui-crash-tp5129012.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
More information about the Qgis-developer
mailing list