[marble] [Bug 400409] Segmentation fault when trying to add some WMS maps.

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Fri Sep 22 12:12:17 BST 2023


https://bugs.kde.org/show_bug.cgi?id=400409

--- Comment #9 from felics-kde at kettenbruch.de ---
Thank you for adding WMTS support.

I now tried again to import the WMTS noted in my initial report as a WMS map,
and marble crashes still with a segmentation fault.

Although a WMTS map is not a WMS map and of course using a WMTS map as a WMS
map will not work, giving wrong user input in a dialogue window should _not_
make marble crash with a segmentation fault.

I tried a true WMS map
(https://geoportal.sachsen.de/cps/metadaten_seite.html?id=d6d24c6d-94ea-447d-8a0c-40afdedeb5c6
-> https://geodienste.sachsen.de/wms_geosn_dtk-pg-color/guest?), that works.

I tried WMTS map
https://geoportal.sachsen.de/cps/metadaten_seite.html?id=f5904fe4-7177-465b-bdfc-c706729fc713
-> https://geodienste.sachsen.de/wmts_geosn_webatlas-sn/guest?, that succeeds
in adding the map, but selecting it results in empty display.

`marble-qt --debug-info` prints

```
load tile from disk: "Marble::TileId(0, 12, 2207, 1370)"
Marble::StackedTile* Marble::MergedLayerDecorator::loadTile(const
Marble::TileId&) "earth/SN_WebAtlas_SN_WMTS" "Marble::TileId(2692082896, 12,
2207, 1370)" QSize(256, 256) ""
static QImage Marble::TileLoader::scaledLowerLevelTile(const
Marble::GeoSceneTextureTileDataset*, const Marble::TileId&)
"Marble::TileId(2692082896, 12, 2207, 1370)"
TileLoader::scaledLowerLevelTile trying ""
TileLoader::scaledLowerLevelTile trying ""
[...]
TileLoader::scaledLowerLevelTile trying
"/home/<username>/.local/share/marble/maps/earth/SN_WebAtlas_SN_WMTS/0/0/0."
No level zero tile installed in map theme dir. Falling back to a transparent
image for now.
QImage::copy: 2207 1370 1 1
QImage::scaled: QSize(256, 256)
adding job  QUrl("")
addJob: new job queue size: 1
Marble::StackedTile* Marble::MergedLayerDecorator::Private::createTile(const
QVector<QSharedPointer<Marble::TextureTile> >&) const no blending defined =>
copying top over bottom image
load tile from disk: "Marble::TileId(0, 12, 2208, 1370)"
Marble::StackedTile* Marble::MergedLayerDecorator::loadTile(const
Marble::TileId&) "earth/SN_WebAtlas_SN_WMTS" "Marble::TileId(2692082896, 12,
2208, 1370)" QSize(256, 256) ""
static QImage Marble::TileLoader::scaledLowerLevelTile(const
Marble::GeoSceneTextureTileDataset*, const Marble::TileId&)
"Marble::TileId(2692082896, 12, 2208, 1370)"
TileLoader::scaledLowerLevelTile trying ""
TileLoader::scaledLowerLevelTile trying ""
[...]

TileLoader::scaledLowerLevelTile trying
"/home/<username>/.local/share/marble/maps/earth/SN_WebAtlas_SN_WMTS/0/0/0."
No level zero tile installed in map theme dir. Falling back to a transparent
image for now.
QImage::copy: 2211 1374 1 1
QImage::scaled: QSize(256, 256)
adding job  QUrl("")
addJob: new job queue size: 5
Marble::StackedTile* Marble::MergedLayerDecorator::Private::createTile(const
QVector<QSharedPointer<Marble::TextureTile> >&) const no blending defined =>
copying top over bottom image
error "maps/earth/SN_WebAtlas_SN_WMTS/12/2207/1370."
QNetworkReply::ProtocolUnknownError
"Download of  to maps/earth/SN_WebAtlas_SN_WMTS/12/2207/1370. failed, but
trying again soon"
error "maps/earth/SN_WebAtlas_SN_WMTS/12/2208/1370."
QNetworkReply::ProtocolUnknownError
"Download of  to maps/earth/SN_WebAtlas_SN_WMTS/12/2208/1370. failed, but
trying again soon"
[...]
```

Marble version: 23.8.1.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Marble-bugs mailing list