[Marble-bugs] [Bug 290714] New: loading a GPX file takes a long time (~3 minutes)

Jonathan Marten jjm at keelhaul.me.uk
Thu Jan 5 17:03:49 UTC 2012


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

           Summary: loading a GPX file takes a long time (~3 minutes)
           Product: marble
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: marble-bugs at kde.org
        ReportedBy: jjm at keelhaul.me.uk


Created an attachment (id=67490)
 --> (http://bugs.kde.org/attachment.cgi?id=67490)
GPX file that takes a long time to load

Version:           unspecified (using Devel) 
OS:                Linux

Loading a GPX file - from the command line, or via File - Open in the
application - seems to take a long time, several minutes even for a simple
file.  This is on a 3-core 2.6GHz CPU with 8Gb memory.  Neither Marble nor any
other process is taking 100% CPU or an unreasonable amount of memory.

Attached is a GPX file which demonstrates the problem, which is a GPS recording
trimmed to only the relevant parts.  Starting Marble with the command

  marble --debug-info /full/path/to/file.gpx

shows debug information as per the attached log.  The long delay happens near
the end, there is a pause of about 3 minutes between the last

StackedTileLoader::loadTile "0:13:4288:2885" 

line and the first

QPixmap: It is not safe to use pixmaps outside the GUI thread

The GPX tracks and waypoints do not appear on the map until the first of the
"QPixmap:" messages start coming out.

(To view the GPX file, scroll to Engelberg which is about 25km south of Luzern,
Switzerland).


Reproducible: Always

Steps to Reproduce:
Attempt to load the attached GPX file.


Actual Results:  
Long delay before the contents are shown on the map.


Expected Results:  
There should not be such a delay.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Marble-bugs mailing list