[QGIS-trac] [Quantum GIS] #2927: QGIS crashes on WMS load

Quantum GIS qgis at qgis.org
Tue Aug 3 01:43:52 EDT 2010


#2927: QGIS crashes on WMS load
---------------------------------------------------------+------------------
   Reporter:  gfleming                                   |              Owner:  nobody                                     
       Type:  bug                                        |             Status:  new                                        
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.6.0                              
  Component:  GUI                                        |            Version:  1.5.0                                      
   Keywords:                                             |   Platform_version:  Ubuntu 10.04.1 LTS 2.6.32-24-generic x86_64
   Platform:  Debian                                     |           Must_fix:  No                                         
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 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
 #1  0x00007f1de9f9793d in PyObject_RichCompareBool ()
    from /usr/lib/libpython2.6.so.1.0
 #2  0x00007f1de9f91684 in ?? () from /usr/lib/libpython2.6.so.1.0
 #3  0x00007f1de9f92302 in PyDict_GetItem () from
 /usr/lib/libpython2.6.so.1.0
 #4  0x00007f1dea01a3a7 in PySymtable_Lookup ()
    from /usr/lib/libpython2.6.so.1.0
 #5  0x00007f1de9ffc691 in ?? () from /usr/lib/libpython2.6.so.1.0
 #6  0x00007f1dea002754 in PyAST_Compile () from
 /usr/lib/libpython2.6.so.1.0
 #7  0x00007f1dea016d04 in PyRun_StringFlags ()
    from /usr/lib/libpython2.6.so.1.0
 #8  0x00007f1dea3b4d02 in QgsPythonUtilsImpl::runStringUnsafe(QString
 const&, bool) () from /usr/lib/libqgispython.so.1.5.0
 #9  0x00007f1dea3b5ff5 in QgsPythonUtilsImpl::runString(QString const&,
 QString) () from /usr/lib/libqgispython.so.1.5.0
 #10 0x00000000004e4ee9 in QgisApp::runPythonString(QString const&) ()
 #11 0x00000000004e68f6 in QgisApp::projectChanged(QDomDocument const&) ()
 #12 0x00000000007183e3 in QgisApp::qt_metacall(QMetaObject::Call, int,
 void**)
     ()
 #13 0x00007f1e094a9e3f in QMetaObject::activate(QObject*, QMetaObject
 const*, int, void**) () from /usr/lib/libQtCore.so.4
 #14 0x00007f1e0a7546d5 in QgsProject::writeProject(QDomDocument&) ()
 ---Type <return> to continue, or q <return> to quit---
    from /usr/lib/libqgis_core.so.1.5.0
 #15 0x00007f1e0a666189 in QgsProject::write() ()
    from /usr/lib/libqgis_core.so.1.5.0
 #16 0x00007f1de8d0f7f4 in ?? ()
    from /usr/lib/python2.6/dist-packages/qgis/core.so
 #17 0x00007f1de9ff7030 in PyEval_EvalFrameEx ()
    from /usr/lib/libpython2.6.so.1.0
 #18 0x00007f1de9ff8d60 in PyEval_EvalCodeEx ()
    from /usr/lib/libpython2.6.so.1.0
 #19 0x00007f1de9f7ed60 in ?? () from /usr/lib/libpython2.6.so.1.0
 #20 0x00007f1de9f512e3 in PyObject_Call () from
 /usr/lib/libpython2.6.so.1.0
 #21 0x00007f1de9f62cef in ?? () from /usr/lib/libpython2.6.so.1.0
 #22 0x00007f1de9f512e3 in PyObject_Call () from
 /usr/lib/libpython2.6.so.1.0
 #23 0x00007f1de9ff1193 in PyEval_CallObjectWithKeywords ()
    from /usr/lib/libpython2.6.so.1.0
 #24 0x00007f1de9cf8a38 in sip_api_invoke_slot ()
    from /usr/lib/pymodules/python2.6/sip.so
 #25 0x00007f1de9a35016 in ?? ()
    from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
 #26 0x00007f1de9a35138 in ?? ()
    from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
 #27 0x00007f1de9a351f2 in ?? ()
    from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
 ---Type <return> to continue, or q <return> to quit---
 #28 0x00007f1e094a9e3f in QMetaObject::activate(QObject*, QMetaObject
 const*, int, void**) () from /usr/lib/libQtCore.so.4
 #29 0x00007f1e0a263ef2 in QgsMapCanvas::renderComplete(QPainter*) ()
    from /usr/lib/libqgis_gui.so.1.5.0
 #30 0x00007f1e0a23a771 in QgsMapCanvas::refresh() ()
    from /usr/lib/libqgis_gui.so.1.5.0
 #31 0x00000000004e8e4e in QgisApp::addRasterLayer(QString const&, QString
 const&, QString const&, QStringList const&, QStringList const&, QString
 const&, QString const&) ()
 #32 0x0000000000618a1c in QgsWMSSourceSelect::addClicked() ()
 #33 0x000000000071ee4d in
 QgsWMSSourceSelect::qt_metacall(QMetaObject::Call, int, void**) ()
 #34 0x00007f1e094a9e3f in QMetaObject::activate(QObject*, QMetaObject
 const*, int, void**) () from /usr/lib/libQtCore.so.4
 #35 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 ()

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2927>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list