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

QGIS crashes on WMS load #12987

Closed
qgib opened this issue Aug 2, 2010 · 6 comments
Closed

QGIS crashes on WMS load #12987

qgib opened this issue Aug 2, 2010 · 6 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GUI/UX Related to QGIS application GUI or User Experience
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Aug 2, 2010

Author Name: Gavin Fleming (@gubuntu)
Original Redmine Issue: 2927

Redmine category:gui
Assignee: nobody -


crashing repeatedly and repeatably when loading WMS layers. Seems to happen after doing a few in a row or after coming back to QGIS after a few minutes and trying another one.

(gdb) bt
#_0  0x00007f1de9f975d1 in [[PyObject]]_RichCompare ()
   from /usr/lib/libpython2.6.so.1.0
#_3905  0x00007f1de9f9793d in [[PyObject]]_RichCompareBool ()
   from /usr/lib/libpython2.6.so.1.0
#_3906  0x00007f1de9f91684 in ?? () from /usr/lib/libpython2.6.so.1.0
#_3907  0x00007f1de9f92302 in [[PyDict]]_GetItem () from /usr/lib/libpython2.6.so.1.0
#_3908  0x00007f1dea01a3a7 in [[PySymtable]]_Lookup ()
   from /usr/lib/libpython2.6.so.1.0
#_3909  0x00007f1de9ffc691 in ?? () from /usr/lib/libpython2.6.so.1.0
#_3910  0x00007f1dea002754 in [[PyAST]]_Compile () from /usr/lib/libpython2.6.so.1.0
#_3911  0x00007f1dea016d04 in [[PyRun]]_StringFlags ()
   from /usr/lib/libpython2.6.so.1.0
#_3912  0x00007f1dea3b4d02 in [[QgsPythonUtilsImpl]]::runStringUnsafe(QString const&, bool) () from /usr/lib/libqgispython.so.1.5.0
#_3913  0x00007f1dea3b5ff5 in [[QgsPythonUtilsImpl]]::runString(QString const&, QString) () from /usr/lib/libqgispython.so.1.5.0
#_10 0x00000000004e4ee9 in [[QgisApp]]::runPythonString(QString const&) ()
#_3914 0x00000000004e68f6 in [[QgisApp]]::projectChanged(QDomDocument const&) ()
#_3915 0x00000000007183e3 in [[QgisApp]]::qt_metacall(QMetaObject::Call, int, void**)
    ()
#_3916 0x00007f1e094a9e3f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#_3917 0x00007f1e0a7546d5 in [[QgsProject]]::writeProject(QDomDocument&) ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libqgis_core.so.1.5.0
#_3918 0x00007f1e0a666189 in [[QgsProject]]::write() ()
   from /usr/lib/libqgis_core.so.1.5.0
#_3919 0x00007f1de8d0f7f4 in ?? ()
   from /usr/lib/python2.6/dist-packages/qgis/core.so
#_3920 0x00007f1de9ff7030 in [[PyEval]]_EvalFrameEx ()
   from /usr/lib/libpython2.6.so.1.0
#_3921 0x00007f1de9ff8d60 in [[PyEval]]_EvalCodeEx ()
   from /usr/lib/libpython2.6.so.1.0
#_3922 0x00007f1de9f7ed60 in ?? () from /usr/lib/libpython2.6.so.1.0
#_3923 0x00007f1de9f512e3 in [[PyObject]]_Call () from /usr/lib/libpython2.6.so.1.0
#_3924 0x00007f1de9f62cef in ?? () from /usr/lib/libpython2.6.so.1.0
#_3925 0x00007f1de9f512e3 in [[PyObject]]_Call () from /usr/lib/libpython2.6.so.1.0
#_3926 0x00007f1de9ff1193 in [[PyEval]]_CallObjectWithKeywords ()
   from /usr/lib/libpython2.6.so.1.0
#_3927 0x00007f1de9cf8a38 in sip_api_invoke_slot ()
   from /usr/lib/pymodules/python2.6/sip.so
#_3928 0x00007f1de9a35016 in ?? ()
   from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#_3929 0x00007f1de9a35138 in ?? ()
   from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#_3930 0x00007f1de9a351f2 in ?? ()
   from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
---Type <return> to continue, or q <return> to quit---
#_3931 0x00007f1e094a9e3f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#_3932 0x00007f1e0a263ef2 in [[QgsMapCanvas]]::renderComplete(QPainter*) ()
   from /usr/lib/libqgis_gui.so.1.5.0
#_3933 0x00007f1e0a23a771 in [[QgsMapCanvas]]::refresh() ()
   from /usr/lib/libqgis_gui.so.1.5.0
#_3934 0x00000000004e8e4e in [[QgisApp]]::addRasterLayer(QString const&, QString const&, QString const&, QStringList const&, QStringList const&, QString const&, QString const&) ()
#_3935 0x0000000000618a1c in [[QgsWMSSourceSelect]]::addClicked() ()
#_3936 0x000000000071ee4d in [[QgsWMSSourceSelect]]::qt_metacall(QMetaObject::Call, int, void**) ()
#_3937 0x00007f1e094a9e3f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#_3938 0x00007f1e08eeb5f2 in QAbstractButton::clicked(bool) ()
   from /usr/lib/libQtGui.so.4
#_36 0x00007f1e08c0586b in ?? () from /usr/lib/libQtGui.so.4
#_37 0x00007f1e08c0670b in ?? () from /usr/lib/libQtGui.so.4
#_38 0x00007f1e08c0697c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/libQtGui.so.4
#_39 0x00007f1e088a6582 in QWidget::event(QEvent*) ()
   from /usr/lib/libQtGui.so.4
#_40 0x00007f1e0885022c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
---Type <return> to continue, or q <return> to quit---
    () from /usr/lib/libQtGui.so.4
#_41 0x00007f1e08856ecb in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#_42 0x00007f1e0a61086b in [[QgsApplication]]::notify(QObject*, QEvent*) ()
   from /usr/lib/libqgis_core.so.1.5.0
#_43 0x00007f1e0949706c in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib/libQtCore.so.4
#_44 0x00007f1e088560ae in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /usr/lib/libQtGui.so.4
#_45 0x00007f1e088d5f65 in ?? () from /usr/lib/libQtGui.so.4
#_46 0x00007f1e088d48ac in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/libQtGui.so.4
#_47 0x00007f1e08900882 in ?? () from /usr/lib/libQtGui.so.4
#_48 0x00007f1e043138c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#_49 0x00007f1e04317748 in ?? () from /lib/libglib-2.0.so.0
#_50 0x00007f1e043178fc in g_main_context_iteration ()
   from /lib/libglib-2.0.so.0
#_51 0x00007f1e094c0513 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#_52 0x00007f1e0890046e in ?? () from /usr/lib/libQtGui.so.4
#_53 0x00007f1e09495992 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
#_54 0x00007f1e09495d6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#_55 0x00007f1e08d1a09e in QDialog::exec() () from /usr/lib/libQtGui.so.4
#_56 0x00000000004d0de2 in [[QgisApp]]::addWmsLayer() ()
#_57 0x0000000000718b30 in [[QgisApp]]::qt_metacall(QMetaObject::Call, int, void**)
    ()
#_58 0x00007f1e094a9e3f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#_59 0x00007f1e0884a032 in QAction::triggered(bool) ()
   from /usr/lib/libQtGui.so.4
#_60 0x00007f1e0884c0ab in QAction::activate(QAction::ActionEvent) ()
   from /usr/lib/libQtGui.so.4
#_61 0x00007f1e08c066ca in ?? () from /usr/lib/libQtGui.so.4
#_62 0x00007f1e08c0697c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/libQtGui.so.4
#_63 0x00007f1e08cd28ca in QToolButton::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/libQtGui.so.4
#_64 0x00007f1e088a6582 in QWidget::event(QEvent*) ()
   from /usr/lib/libQtGui.so.4
#_65 0x00007f1e0885022c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib/libQtGui.so.4
#_66 0x00007f1e08856ecb in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
#_67 0x00007f1e0a61086b in [[QgsApplication]]::notify(QObject*, QEvent*) ()
   from /usr/lib/libqgis_core.so.1.5.0
#_68 0x00007f1e0949706c in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib/libQtCore.so.4
#_69 0x00007f1e088560ae in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /usr/lib/libQtGui.so.4
#_70 0x00007f1e088d5f65 in ?? () from /usr/lib/libQtGui.so.4
#_71 0x00007f1e088d48ac in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/libQtGui.so.4
#_72 0x00007f1e08900882 in ?? () from /usr/lib/libQtGui.so.4
#_73 0x00007f1e043138c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#_74 0x00007f1e04317748 in ?? () from /lib/libglib-2.0.so.0
#_75 0x00007f1e043178fc in g_main_context_iteration ()
   from /lib/libglib-2.0.so.0
#_76 0x00007f1e094c0513 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#_77 0x00007f1e0890046e in ?? () from /usr/lib/libQtGui.so.4
#_78 0x00007f1e09495992 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#_79 0x00007f1e09495d6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#_80 0x00007f1e09499aab in QCoreApplication::exec() ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libQtCore.so.4
#_81 0x00000000004ce62f in main ()

@qgib
Copy link
Contributor Author

qgib commented Aug 2, 2010

Author Name: Jürgen Fischer (@jef-n)


Do you have third party plugins installed? And does that also happen if you disable them?

@qgib
Copy link
Contributor Author

qgib commented Aug 3, 2010

Author Name: Giovanni Manghi (@gioman)


can you post also the wms you are using in order to make tests locally? layer list would also help.

@qgib
Copy link
Contributor Author

qgib commented Aug 3, 2010

Author Name: Gavin Fleming (@gubuntu)


Replying to [comment:2 jef]:

Do you have third party plugins installed? And does that also happen if you disable them?

I had lots enabled. I have disabled all plugins except for plugin
installer and the crash has not occurred again (yet). After disabling the
plugins, I closed QGIS and multiple errors came up referring to one of
the OSM-related plugins. Since restarting all seems OK.

@qgib
Copy link
Contributor Author

qgib commented Aug 3, 2010

Author Name: Jürgen Fischer (@jef-n)


Replying to [comment:4 gfleming]:

I had lots enabled. I have disabled all plugins except for plugin
installer and the crash has not occurred again (yet). After disabling the
plugins, I closed QGIS and multiple errors came up referring to one of
the OSM-related plugins. Since restarting all seems OK.

Looking at the backtrace it might be the autosave plugin. Can you verify?

@qgib
Copy link
Contributor Author

qgib commented Aug 3, 2010

Author Name: Gavin Fleming (@gubuntu)


Replying to [comment:5 jef]:

Replying to [comment:4 gfleming]:

I had lots enabled. I have disabled all plugins except for plugin
installer and the crash has not occurred again (yet). After disabling the
plugins, I closed QGIS and multiple errors came up referring to one of
the OSM-related plugins. Since restarting all seems OK.

Looking at the backtrace it might be the autosave plugin. Can you verify?

It does indeed seem to be the autosave plugin. I enabled it and whammo, a while later it crashed. I think any relationship to WMS loading might be a red herring. So, what next?

@qgib
Copy link
Contributor Author

qgib commented Aug 4, 2010

Author Name: Giovanni Manghi (@gioman)


So, what next?

send an e-mail to the author of the plugin and/or to the qgis-dev mailing list.


  • resolution was configured as invalid
  • 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! GUI/UX Related to QGIS application GUI or User Experience labels May 24, 2019
@qgib qgib added this to the Version 1.6.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 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! GUI/UX Related to QGIS application GUI or User Experience
Projects
None yet
Development

No branches or pull requests

1 participant