[Marble-bugs] [Bug 302842] New: "download region" crashes Marble if main texture layer of map theme has absolute file path

Bernhard Beschow bbeschow at cs.tu-berlin.de
Sun Jul 1 16:14:40 UTC 2012


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

            Bug ID: 302842
          Severity: critical
           Version: unspecified
          Priority: NOR
          Assignee: marble-bugs at kde.org
           Summary: "download region" crashes Marble if main texture layer
                    of map theme has absolute file path
    Classification: Unclassified
                OS: Linux
          Reporter: bbeschow at cs.tu-berlin.de
          Hardware: Maemo 5
            Status: NEW
         Component: general
           Product: marble

Suppose you open a map theme with the following ID:
"earth/openstreetmap/openstreetmap.dgml". Further suppose it has the absolute
file path (sourcedir) for the OSM layer set to
"/home/user/MyDocs/.maps/OpenStreetMap I".

When trying to download the region, MarbleMap tries to derive the sourcedir
from the map theme ID, which spuriously evaluates to "earth/openstreetmap".
When looking for the GeoSceneTexture in TileLoader::tileStatus(), a null
pointer is returned, leading to the following backtrace (which, for some
strange reason, is incomplete):

Application: Marble – Virtueller Globus (marble), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb2b99980 (LWP 8630))]

Thread 1 (Thread 0xb2b99980 (LWP 8630)):
[KCrash Handler]
#6  QString (other=..., this=0xbff3e638) at /usr/include/QtCore/qstring.h:725
#7  Marble::GeoSceneAbstractDataset::fileFormat (this=0x0) at
/home/shentey/Projekte/marble/src/src/lib/geodata/scene/GeoSceneLayer.cpp:47
#8  0xb7450f00 in Marble::GeoSceneTexture::relativeTileFileName (this=0x0,
id=...) at
/home/shentey/Projekte/marble/src/src/lib/geodata/scene/GeoSceneTexture.cpp:213
#9  0x00000000 in ?? ()

Reproducible: Always

Steps to Reproduce:
1. Start Marble on the N900
2. Select OSM map theme
3. Open "Donwload Region" dialog
4. Press the Done button (no need to change settings)
Actual Results:  
Marble crashes

Expected Results:  
Marble should download current region

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


More information about the Marble-bugs mailing list