https://issues.qgis.org/https://issues.qgis.org/favicon.ico2016-10-11T08:35:53ZQGIS Issue TrackingQGIS Application - Bug report #15689: crashing when opening a project containing WMS layershttps://issues.qgis.org/issues/15689?journal_id=729582016-10-11T08:35:53ZNyall Dawson
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>Can you provide a backtrace from gdb? (Type 'bt')</p>
<p>Are you able to share your project?</p> QGIS Application - Bug report #15689: crashing when opening a project containing WMS layershttps://issues.qgis.org/issues/15689?journal_id=729602016-10-11T10:36:44ZGavin Fleminggavin@kartoza.com
<ul><li><strong>File</strong> <a href="/attachments/download/10461/WMS_comparison.qgs">WMS_comparison.qgs</a> added</li></ul><p>The guilty project file is attached. The localhost layer won't work for you as it is an ssh tunnel.</p>
<pre>
Thread 1 "qgis" received signal SIGSEGV, Segmentation fault.
0x00007ffff4f25c18 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
(gdb) bt
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
Python Exception <class 'ImportError'> This package should not be accessible on Python 3. Either you are trying to run from the python-future src folder or your installation of python-future is corrupted.:
#0 0x00007ffff4f25c18 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#1 0x00007ffff4da6f5f in QWidgetPrivate::paintBackground(QPainter*, QRegion const&, int) const ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#2 0x00007ffff4da7ebe in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#3 0x00007ffff4f7c6c8 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#4 0x00007ffff4d9ac50 in QWidgetPrivate::syncBackingStore() ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#5 0x00007ffff4dad9b8 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#6 0x00007ffff51919b3 in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#7 0x00007ffff754cb1b in QgisApp::event(QEvent*) () from /usr/local/qgis-2.16/lib/libqgis_app.so.2.16.3
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#8 0x00007ffff4d56fdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#9 0x00007ffff4d5df16 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#10 0x00007ffff60e1da7 in QgsApplication::notify(QObject*, QEvent*) ()
from /usr/local/qgis-2.16/lib/libqgis_core.so.2.16.3
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#11 0x00007ffff5a1090d in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#12 0x00007ffff4f7e2de in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#13 0x00007ffff4d9d4b5 in QWidget::repaint(QRect const&) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#14 0x00007ffff4d9d513 in QWidget::repaint() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#15 0x00007ffff758aa97 in QgisApp::showProgress(int, int) ()
from /usr/local/qgis-2.16/lib/libqgis_app.so.2.16.3
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#16 0x00007ffff79b06b5 in QgisApp::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
from /usr/local/qgis-2.16/lib/libqgis_app.so.2.16.3
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#17 0x00007ffff5a25010 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#18 0x00007ffff659c428 in QgsProject::layerLoaded(int, int) ()
from /usr/local/qgis-2.16/lib/libqgis_core.so.2.16.3
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#19 0x00007ffff62b3045 in QgsProject::_getMapLayers(QDomDocument const&, QList<QDomNode>&) ()
from /usr/local/qgis-2.16/lib/libqgis_core.so.2.16.3
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#20 0x00007ffff62b4690 in QgsProject::read() () from /usr/local/qgis-2.16/lib/libqgis_core.so.2.16.3
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#21 0x00007ffff62b3a37 in QgsProject::read(QFileInfo const&) ()
from /usr/local/qgis-2.16/lib/libqgis_core.so.2.16.3
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#22 0x00007ffff756aa8e in QgisApp::addProject(QString const&) ()
from /usr/local/qgis-2.16/lib/libqgis_app.so.2.16.3
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#23 0x00007ffff756df5b in QgisApp::openProject(QString const&) ()
from /usr/local/qgis-2.16/lib/libqgis_app.so.2.16.3
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#24 0x00007ffff771c86d in QgsWelcomePage::itemActivated(QModelIndex const&) ()
from /usr/local/qgis-2.16/lib/libqgis_app.so.2.16.3
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#25 0x00007ffff79bc405 in QgsWelcomePage::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)
() from /usr/local/qgis-2.16/lib/libqgis_app.so.2.16.3
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#26 0x00007ffff5a25010 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#27 0x00007ffff52932c5 in QAbstractItemView::activated(QModelIndex const&) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#28 0x00007ffff529cc18 in QAbstractItemView::mouseDoubleClickEvent(QMouseEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#29 0x00007ffff4dae450 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#30 0x00007ffff5176cee in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#31 0x00007ffff529c663 in QAbstractItemView::viewportEvent(QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#32 0x00007ffff5a10a76 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#33 0x00007ffff4d56fbc in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#34 0x00007ffff4d5e0d6 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
---Type <return> to continue, or q <return> to quit---
#35 0x00007ffff60e1da7 in QgsApplication::notify(QObject*, QEvent*) ()
from /usr/local/qgis-2.16/lib/libqgis_core.so.2.16.3
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#36 0x00007ffff5a1090d in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#37 0x00007ffff4d5d6dd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#38 0x00007ffff4ddb3f2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#39 0x00007ffff4ddac83 in QApplication::x11ProcessEvent(_XEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#40 0x00007ffff4e04542 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#41 0x00007fffed4e91a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#42 0x00007fffed4e9400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#43 0x00007fffed4e94ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#44 0x00007ffff5a412ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#45 0x00007ffff4e04616 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#46 0x00007ffff5a0f18f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#47 0x00007ffff5a0f4f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#48 0x00007ffff5a154b9 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
#49 0x000000000040a30d in main ()
Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
</pre> QGIS Application - Bug report #15689: crashing when opening a project containing WMS layershttps://issues.qgis.org/issues/15689?journal_id=729612016-10-11T19:01:09ZNyall Dawson
<ul></ul><p>Hmmm not much to go on there. Are you able to self build a debug version? I can't reproduce any crash with the project, but it's probably because of the missing WMS layer</p> QGIS Application - Bug report #15689: crashing when opening a project containing WMS layershttps://issues.qgis.org/issues/15689?journal_id=730012016-10-13T02:09:03ZMartin Dobiaswonder.sk@gmail.com
<ul></ul><p>Hi Gavin</p>
<p>Few questions :-)</p>
<p>- can you confirm the problem persists if you disable all plugins?</p>
<p>- can you confirm the problem persists in 2.18? there were some updates that may have helped</p>
<p>- does it matter from what kind of source the WMS layer is coming from (e.g. it only happens with your "local" server, but not "remote" servers)?</p>
<p>- does the project need at least two WMS layers in order to crash?</p>
<p>- how often would it crash? Once in ten times you open the project?</p> QGIS Application - Bug report #15689: crashing when opening a project containing WMS layershttps://issues.qgis.org/issues/15689?journal_id=730032016-10-13T02:24:35ZGavin Fleminggavin@kartoza.com
<ul></ul><p>Nyall I'm not sure when I'll be able to get around to building a debug version.</p>
<p>Martin</p>
<p>It just opened for me but I hadn't opened the ssh tunnel so it complained about a missing layer. So I then opened the tunnel and came back and said OK..then it proceeded to load both layers. It seems like the first one had time to load in the meantime? When I re-opened the project with the tunnel already open, it crashed again.</p>
<p>- I can confirm it still crashes with all Python plugins disabled (after restart)<br />- I haven't built 2.18 yet<br />- not sure<br />- haven't tested thoroughly yet<br />- in this case every time (except in the fortuitous instance described above)</p> QGIS Application - Bug report #15689: crashing when opening a project containing WMS layershttps://issues.qgis.org/issues/15689?journal_id=732702016-10-27T05:43:11ZChristian S
<ul></ul><p>I have a similar problem that started with 2.18. My platform:<br />Ubuntu 16.04 64bit, QGIS 2.18.0 from ubuntugis</p>
<p>I cannot add WMS layers to a project if I enter a tilesize (for example 256 x 256) in the WMS dialog. QGIS crashes immediately after pressing "Add" in the WMS dialog.</p>
<p>When opening old projects (from 2.16.3) with such tiled WMS-layers in 2.18.0 QGIS crashes as well. It worked fine with QIGS 2.16.3 from ubuntugis.</p>
<p>Christian</p> QGIS Application - Bug report #15689: crashing when opening a project containing WMS layershttps://issues.qgis.org/issues/15689?journal_id=733672016-11-08T04:26:57ZMarcus Schneidermarcus.schneider@euv-stadtbetrieb.de
<ul></ul><p>The same problem apears in QGIS 2.18.0 for Windows 64Bit installed with the osgeo4w installer.<br />QGIS crashes when I try to add a WMS layer with a tile size. The same layer without a tile size will work correctly. The WMS Server is a Geoserver 2.10.0. There where no problem with QGIS 2.16.3.</p> QGIS Application - Bug report #15689: crashing when opening a project containing WMS layershttps://issues.qgis.org/issues/15689?journal_id=733682016-11-08T16:32:39ZMartin Dobiaswonder.sk@gmail.com
<ul></ul><p>Christian / Marcus: your problem involving crash with tiled WMS in 2.18 has been reported in <a class="issue tracker-1 status-5 priority-4 priority- closed" href="https://issues.qgis.org/issues/15799" title="Crash when loading a tiled WMS layer (Closed)">#15799</a> and fixed (was introduced within 2.18 development). The issue Gavin reported is a different problem as it has been reported for 2.16</p> QGIS Application - Bug report #15689: crashing when opening a project containing WMS layershttps://issues.qgis.org/issues/15689?journal_id=738812017-01-02T07:13:32ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Category</strong> set to <i>Project Loading/Saving</i></li><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Open</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li><li><strong>Crashes QGIS or corrupts data</strong> changed from <i>No</i> to <i>Yes</i></li></ul> QGIS Application - Bug report #15689: crashing when opening a project containing WMS layershttps://issues.qgis.org/issues/15689?journal_id=750162017-03-07T06:28:09ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Resolution</strong> set to <i>not reproducable</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>I played a while with the attached project, adding other wms layers, reprojecting, etc. No crashes on 2.18.4 on Ubuntu 16.04</p>
<p>I assume the issue could have been fixed. Please reopen if is not.</p>