Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes in standalone browser #22953

Closed
qgib opened this issue Jun 12, 2016 · 1 comment
Closed

Crashes in standalone browser #22953

qgib opened this issue Jun 12, 2016 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Jun 12, 2016

Author Name: Even Rouault (@rouault)
Original Redmine Issue: 15006
Affected QGIS version: master
Redmine category:browser
Assignee: Even Rouault


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

@qgib
Copy link
Contributor Author

qgib commented Jun 12, 2016

Author Name: Even Rouault (@rouault)


Fixed in ffaf493 and 6b80170


  • resolution was changed from to fixed/implemented
  • estimated_hours was configured as 1.0
  • done_ratio was changed from 0 to 100
  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption labels May 25, 2019
@qgib qgib added this to the Version 2.16 milestone May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption
Projects
None yet
Development

No branches or pull requests

1 participant