Skip to content

Crash when attempting to load OpenHistoricalMap vector tiles #66466

Description

@RobotToaster

What is the bug or the crash?

Crash report as follows:

User Feedback

Attempting to import vector tiles from OpenHistoricalMap

Report Details

Python Stack Trace

Windows fatal exception: access violation

Current thread 0x000081b0 (most recent call first):
  <no Python frame>

Stack Trace


QVariant::metaType :
QVariant::typeId :
QgsMapBoxGlStyleConverter::parseLineLayer :
QgsMapBoxGlStyleConverter::parseLayers :
QgsMapBoxGlStyleConverter::convert :
QgsVectorTileLayer::loadDefaultStyleAndSubLayersPrivate :
QgisApp::handleDropUriList :
QgsHandleBadLayers::setFilename :
QgsBrowserWidget::itemDoubleClicked :
QgsColorRampShaderWidget::createLabel :
QObject::qt_static_metacall :
QMetaObject::activate :
QAbstractItemView::doubleClicked :
QTreeView::mouseDoubleClickEvent :
QWidget::event :
QFrame::event :
QAbstractItemView::viewportEvent :
QCoreApplicationPrivate::sendThroughObjectEventFilters :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QApplicationPrivate::sendMouseEvent :
QWidgetRepaintManager::updateStaticContentsSize :
QWidgetRepaintManager::updateStaticContentsSize :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QGuiApplicationPrivate::processMouseEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
QWindowsGuiEventDispatcher::processEvents :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 4.0.3-Norrköping
QGIS code revision: 70e40ae
Compiled against Qt: 6.11.1
Running against Qt: 6.11.1
Compiled against GDAL: 3.13.0
Running against GDAL: 3.13.1

System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.19045

Steps to reproduce the issue

Add vector tile source with the following details:

Name: OpenHistoricalMap
URL: https://vtiles.openhistoricalmap.org/maps/osm/{z}/{x}/{y}.pbf
Maximum zoom level: 20
Style URL: https://www.openhistoricalmap.org/map-styles/woodblock/woodblock.json

double click the new source and Qgis will crash

Versions

QGIS version4.0.3-Norrköping
QGIS code revision70e40ae6
 
Libraries
Qt version6.11.1
Python version3.12.13
GDAL version3.13.0 (Compiled)
3.13.1 (Running) — Iowa City
PROJ version9.8.1
EPSG Registry database versionv12.029 (2025-10-02)
GEOS version3.14.1-CAPI-1.20.5
SFCGAL version2.2.0
GeographicLib version2.7.0
SQLite version3.53.0 (Compiled)
3.53.2 (Running)
PDAL version2.10.0
PostgreSQL client version17.3
SpatiaLite version5.1.0
QWT version6.3.0
QScintilla2 version2.14.1
OS versionWindows 10 Version 22H2
 
Active Python plugins
MetaSearch0.3.6
db_manager0.1.20
grassprovider2.12.99
processing2.12.99
quick_map_services1.3.1

Supported QGIS version

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

New profile

No Duplicate of the Issue

  • I have verified that there are no existing issues raised related to my problem.

Additional context

No response

Metadata

Metadata

Assignees

Labels

BugEither a bug report, or a bug fix. Let's hope for the latter!Crash/Data CorruptionQGIS 4RegressionSomething which used to work, but doesn't anymoreVector tiles

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions