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

Adding an XYZ layer with a broken URL causes a crash #58322

Closed
1 of 2 tasks
Malvineous opened this issue Aug 6, 2024 · 2 comments
Closed
1 of 2 tasks

Adding an XYZ layer with a broken URL causes a crash #58322

Malvineous opened this issue Aug 6, 2024 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@Malvineous
Copy link

What is the bug or the crash?

When adding a bad XYZ URL, QGIS crashes

Steps to reproduce the issue

  1. Add layer, XYZ
  2. Paste in URL http://mt3.google.com/mapslt?x={x}&y={y}&z={z} and click Add
  3. Observe layer is added but with an error
  4. Right click on the layer and choose properties (e.g. as if you were trying to fix the URL)
  5. QGIS freezes for a few moments then crashes

Versions

<style type="text/css"> p, li { white-space: pre-wrap; } </style>
QGIS version 3.38.0-Grenoble QGIS code branch Release 3.38
Qt version 5.15.14
Python version 3.12.4
GDAL/OGR version 3.9.0
PROJ version 9.4.1
EPSG Registry database version v11.006 (2024-03-13)
GEOS version 3.12.2-CAPI-1.18.2
SQLite version 3.46.0
Compiled against PDAL 2.7.1 Running against PDAL 2.7.2
PostgreSQL client version 16.2
SpatiaLite version 5.1.0
QWT version 6.3.0
QScintilla2 version 2.14.1
OS version Arch Linux
       
Active Python plugins
latlontools 3.6.20
MetaSearch 0.3.6
grassprovider 2.12.99
db_manager 0.1.20
processing 2.12.99
QGIS version 3.38.0-Grenoble QGIS code branch [Release 3.38](https://github.com/qgis/QGIS/tree/release-3_38) Qt version 5.15.14 Python version 3.12.4 GDAL/OGR version 3.9.0 PROJ version 9.4.1 EPSG Registry database version v11.006 (2024-03-13) GEOS version 3.12.2-CAPI-1.18.2 SQLite version 3.46.0 Compiled against PDAL 2.7.1 Running against PDAL 2.7.2 PostgreSQL client version 16.2 SpatiaLite version 5.1.0 QWT version 6.3.0 QScintilla2 version 2.14.1 OS version Arch Linux

Active Python plugins
latlontools
3.6.20
MetaSearch
0.3.6
grassprovider
2.12.99
db_manager
0.1.20
processing
2.12.99

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@Malvineous Malvineous added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Aug 6, 2024
@NyakudyaA
Copy link
Contributor

Maybe this fix needs to be added for xyz layers #58159

@nyalldawson
Copy link
Collaborator

That fix isn't in 3.38.0, but it will also fix this crash.

Closing as already fixed.

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!
Projects
None yet
Development

No branches or pull requests

3 participants