Bug report #16802

Updated by Richard Duivenvoorde over 6 years ago


Tested here on:
- Debian testing fresh compiled of 6t july 2017
- Windows 2.99 osgeo4w64

Both crash when I add 2(!) WMTS raster layers to a project.

Tested with a new config (NO plugins!):

qgis --profiles-path --configpath /tmp/qgis

Create a fresh project (EPSG:28992)

Add 2x times (the same or different) rasterlayers, for example via the Python console:

qgis.utils.iface.addRasterLayer(
"tileMatrixSet=EPSG:28992&crs=EPSG:28992&layers=brtachtergrondkaart&styles=&format=image/png&url=http://geodata.nationaalgeoregister.nl/tiles/service/wmts/brtachtergrondkaart", # uri
"wmts master example", # name for layer (as seen in QGIS)
"wms" # dataprovider key
)

Now do some scrolling using a mouse wheel or so (you also create some bookmarks and run around these).

Sometimes after a couple of seconds, sometimes after some more time QGIS just crashes

Back