Bug report #15006
Crashes in standalone browser
Status: | Closed | ||
---|---|---|---|
Priority: | Severe/Regression | ||
Assignee: | Even Rouault | ||
Category: | Browser | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | Yes | Copied to github as #: | 22953 |
Description
2 issues:
- in debug mode, when there's at least a WFS connection (probably true for other network based connections), the browser crashes at startup on :
ASSERT: "smMainNAM" in file /home/even/qgis-git/Quantum-GIS.clean/src/core/qgsnetworkaccessmanager.cpp, line 290 ASSERT: "smMainNAM" in file /home/even/qgis-git/Quantum-GIS.clean/src/core/qgsnetworkaccessmanager.cpp, line 290 Program received signal SIGABRT, Aborted. [Switching to Thread 0x7fffba355700 (LWP 4566)] 0x00007fffee38d845 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 64 ../nptl/sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier de ce type. in ../nptl/sysdeps/unix/sysv/linux/raise.c (gdb) bt #0 0x00007fffee38d845 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #1 0x00007fffee391390 in *__GI_abort () at abort.c:92 #2 0x00007ffff6eaafcf in qt_message_output(QtMsgType, char const*) () from /home/even/install-qt-4.8.5/lib/libQtCore.so.4 #3 0x00007ffff6eab148 in qt_message(QtMsgType, char const*, __va_list_tag*) () from /home/even/install-qt-4.8.5/lib/libQtCore.so.4 #4 0x00007ffff6eab2d4 in qFatal(char const*, ...) () from /home/even/install-qt-4.8.5/lib/libQtCore.so.4 #5 0x00007ffff32a5104 in QgsNetworkAccessManager::setupDefaultProxyAndCache (this=0xe21720) at /home/even/qgis-git/Quantum-GIS.clean/src/core/qgsnetworkaccessmanager.cpp:290 #6 0x00007ffff32a38d5 in QgsNetworkAccessManager::instance () at /home/even/qgis-git/Quantum-GIS.clean/src/core/qgsnetworkaccessmanager.cpp:112 #7 0x00007fffc43c12d3 in QgsWFSRequest::QgsWFSRequest (this=0x7fffba350a80, theUri=...) at /home/even/qgis-git/Quantum-GIS.clean/src/providers/wfs/qgswfsrequest.cpp:37 #8 0x00007fffc439bec2 in QgsWFSCapabilities::QgsWFSCapabilities (this=0x7fffba350a80, theUri=...) at /home/even/qgis-git/Quantum-GIS.clean/src/providers/wfs/qgswfscapabilities.cpp:28 #9 0x00007fffc43a51c0 in QgsWFSConnectionItem::createChildren (this=0xd8e7f0) at /home/even/qgis-git/Quantum-GIS.clean/src/providers/wfs/qgswfsdataitems.cpp:63 #10 0x00007ffff31801a3 in QgsDataItem::runCreateChildren (item=0xd8e7f0) at /home/even/qgis-git/Quantum-GIS.clean/src/core/qgsdataitem.cpp:383 #11 0x00007ffff318b50f in QtConcurrent::StoredFunctorCall1<QVector<QgsDataItem*>, QVector<QgsDataItem*> (*)(QgsDataItem*), QgsDataItem*>::runFunctor ( this=0x7fffbc01b820) at /home/even/install-qt-4.8.5/include/QtCore/qtconcurrentstoredfunctioncall.h:267 #12 0x00007ffff318b3fe in QtConcurrent::RunFunctionTask<QVector<QgsDataItem*> >::run (this=0x7fffbc01b820) at /home/even/install-qt-4.8.5/include/QtCore/qtconcurrentrunbase.h:106 #13 0x00007ffff6ea901d in QThreadPoolThread::run() () from /home/even/install-qt-4.8.5/lib/libQtCore.so.4 #14 0x00007ffff6eb53ec in QThreadPrivate::start(void*) () from /home/even/install-qt-4.8.5/lib/libQtCore.so.4 #15 0x00007fffee1439ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #16 0x00007fffee44545d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #17 0x0000000000000000 in ?? ()
- when clicking on a datasource, the browser crashes with :
Program received signal SIGSEGV, Segmentation fault. 0x00007ffff766d9f0 in QgsAttributeTableFilterModel::masterModel (this=0x0) at /home/even/qgis-git/Quantum-GIS.clean/src/gui/attributetable/qgsattributetablefiltermodel.h:147 147 inline QgsAttributeTableModel *masterModel() const { return mTableModel; } (gdb) bt #0 0x00007ffff766d9f0 in QgsAttributeTableFilterModel::masterModel (this=0x0) at /home/even/qgis-git/Quantum-GIS.clean/src/gui/attributetable/qgsattributetablefiltermodel.h:147 #1 0x00007ffff766d9da in QgsAttributeTableFilterModel::layer (this=0x0) at /home/even/qgis-git/Quantum-GIS.clean/src/gui/attributetable/qgsattributetablefiltermodel.h:133 #2 0x00007ffff767dadb in QgsAttributeTableView::createActionWidget (this=0xc7d3f0, fid=0) at /home/even/qgis-git/Quantum-GIS.clean/src/gui/attributetable/qgsattributetableview.cpp:165 #3 0x00007ffff767d99f in QgsAttributeTableView::setModel (this=0xc7d3f0, filterModel=0x0) at /home/even/qgis-git/Quantum-GIS.clean/src/gui/attributetable/qgsattributetableview.cpp:147 #4 0x000000000040d1df in QgsBrowser::setLayer (this=0x7fffffffd550, vLayer=0x0) at /home/even/qgis-git/Quantum-GIS.clean/src/browser/qgsbrowser.cpp:522 #5 0x000000000040a09d in QgsBrowser::itemClicked (this=0x7fffffffd550, index=...) at /home/even/qgis-git/Quantum-GIS.clean/src/browser/qgsbrowser.cpp:134 #6 0x0000000000412198 in QgsBrowser::qt_static_metacall (_o=0x7fffffffd550, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffffbb70) at /home/even/qgis-git/Quantum-GIS.clean/build/src/browser/moc_qgsbrowser.cxx:68 #7 0x00007ffff6fc6ddf in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /home/even/install-qt-4.8.5/lib/libQtCore.so.4 #8 0x00007ffff684b9e5 in QAbstractItemView::clicked(QModelIndex const&) () from /home/even/install-qt-4.8.5/lib/libQtGui.so.4 #9 0x00007ffff684bd72 in QAbstractItemView::mouseReleaseEvent(QMouseEvent*) () from /home/even/install-qt-4.8.5/lib/libQtGui.so.4 #10 0x00007ffff6394a59 in QWidget::event(QEvent*) () from /home/even/install-qt-4.8.5/lib/libQtGui.so.4 #11 0x00007ffff673f126 in QFrame::event(QEvent*) () from /home/even/install-qt-4.8.5/lib/libQtGui.so.4 #12 0x00007ffff684abcb in QAbstractItemView::viewportEvent(QEvent*) () from /home/even/install-qt-4.8.5/lib/libQtGui.so.4 #13 0x00007ffff688dd5b in QTreeView::viewportEvent(QEvent*) () from /home/even/install-qt-4.8.5/lib/libQtGui.so.4 #14 0x00007ffff6fb1b56 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /home/even/install-qt-4.8.5/lib/libQtCore.so.4 #15 0x00007ffff6344e0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/even/install-qt-4.8.5/lib/libQtGui.so.4 #16 0x00007ffff6349b1b in QApplication::notify(QObject*, QEvent*) () from /home/even/install-qt-4.8.5/lib/libQtGui.so.4 #17 0x00007ffff3134d3e in QgsApplication::notify (this=0x7fffffffd6f0, receiver=0xc461b0, event=0x7fffffffc9a0) at /home/even/qgis-git/Quantum-GIS.clean/src/core/qgsapplication.cpp:281 #18 0x00007ffff6fb19ee in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/even/install-qt-4.8.5/lib/libQtCore.so.4 #19 0x00007ffff6345c7b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /home/even/install-qt-4.8.5/lib/libQtGui.so.4 #20 0x00007ffff63c0e44 in QETWidget::translateMouseEvent(_XEvent const*) () from /home/even/install-qt-4.8.5/lib/libQtGui.so.4 #21 0x00007ffff63bf741 in QApplication::x11ProcessEvent(_XEvent*) () from /home/even/install-qt-4.8.5/lib/libQtGui.so.4 #22 0x00007ffff63e5512 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /home/even/install-qt-4.8.5/lib/libQtGui.so.4 #23 0x00007fffed6759d2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #24 0x00007fffed679858 in ?? () from /lib/libglib-2.0.so.0 #25 0x00007fffed679a0c in g_main_context_iteration () from /lib/libglib-2.0.so.0 #26 0x00007ffff6fdff16 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/even/install-qt-4.8.5/lib/libQtCore.so.4 #27 0x00007ffff63e519e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/even/install-qt-4.8.5/lib/libQtGui.so.4 #28 0x00007ffff6fb069f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/even/install-qt-4.8.5/lib/libQtCore.so.4 #29 0x00007ffff6fb0928 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/even/install-qt-4.8.5/lib/libQtCore.so.4 #30 0x00007ffff6fb5668 in QCoreApplication::exec() () from /home/even/install-qt-4.8.5/lib/libQtCore.so.4 #31 0x0000000000408b9e in main (argc=1, argv=0x7fffffffda58) at /home/even/qgis-git/Quantum-GIS.clean/src/browser/main.cpp:130
History
#1 Updated by Even Rouault over 8 years ago
- Resolution set to fixed/implemented
- Estimated time set to 1.00
- % Done changed from 0 to 100
- Status changed from Open to Closed