Bug report #18549

XYZ Tile Connections Crash

Added by João Gaspar almost 6 years ago. Updated about 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Web Services clients/XYZ
Affected QGIS version:2.18.8 Regression?:Yes
Operating System:Windows 7 64-bits Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:Yes Copied to github as #:26437

Description

Steps:
1. Open Browser Panel
2. Add XYZ New Connection..
3. https://mt1.google.com/vt/lyrs%3Dy%26x%3D%7Bx%7D%26y%3D%7By%7D%26z%3D%7Bz%7D
4. Add Selected layer / Add Layer / Drag Layer to map context

Crash

Tested in
QGIS Desktop 2.18.15 LTR - Works fine
QGIS Desktop 2.18.18 LTR - Crash

See attachements.

2_18_18.png - QGIS Desktop 2.18.18 (84 KB) João Gaspar, 2018-03-26 06:17 PM

2_18_15.png - QGIS Desktop 2.18.15 (2.04 MB) João Gaspar, 2018-03-26 06:17 PM

qgis_crash_tilexyz.LOG Magnifier (4.61 KB) João Gaspar, 2018-03-27 01:22 PM

xyz_crash_log.txt.rtf (107 KB) Nathan Perry, 2018-07-18 08:29 PM

History

#1 Updated by João Gaspar almost 6 years ago

Log extracted with DebugView software.

#2 Updated by Richard Duivenvoorde almost 6 years ago

Hi, cannot reproduce here on Linux 2.18.18 (in Affected QGIS version you state 2.18.8.

If I use your url, I get:
server replied: Bad Request url:https://mt1.google.com/vt/lyrs%3Dy%26x%3D%7Bx%7D%26y%3D%7By%7D%26z%3D%7Bz%7D
but not a crash.

If I use: https://mt1.google.com/vt/lyrs=y&x={x}&y={y}&z={z}
It just works.
I do not have Windows 7 here with me.

#3 Updated by Nathan Perry over 5 years ago

I can confirm this issue (or a similar one). I'm using QGIS 3.2 on Mac OS 10.13.6 and using the Google Maps satellite layer: http://www.google.cn/maps/vt?lyrs=s@189&gl=cn&x={x}&y={y}&z={z}

I can't exactly predict when the crash will occur, but it seems to be related to specific tiles; i.e., panning/zooming to the same location will tend to trigger the crash repeatedly. It may also be more common with close zoom levels.

I'll attach a crash report from the most recent occurrence.

#4 Updated by Nyall Dawson over 5 years ago

  • Status changed from Open to Feedback

Nathan - your crash report indicates the crash is coming from Python. Are you using QuickMapServices or OpenLayers?

#5 Updated by Jürgen Fischer about 5 years ago

Please test with QGIS 3.4 - QGIS 2.18 reached it's end of life.

#6 Updated by João Gaspar about 5 years ago

Jürgen, this can be close. Is working as expected in the recent versions.

#7 Updated by Jürgen Fischer about 5 years ago

  • Resolution set to fixed/implemented
  • Status changed from Feedback to Closed

Also available in: Atom PDF