Summary: | loading a GPX file takes a long time (~3 minutes) | ||
---|---|---|---|
Product: | [Applications] marble | Reporter: | Jonathan Marten <jjm> |
Component: | general | Assignee: | marble-bugs |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | nienhueser |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | 1.3 (KDE 4.8) | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
GPX file that takes a long time to load
Debug log from Marble |
Created attachment 67491 [details]
Debug log from Marble
*** This bug has been marked as a duplicate of bug 288612 *** |
Created attachment 67490 [details] 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.