Bug 323002

Summary: KML import to bookmarks crashes or does nothing
Product: [Applications] marble Reporter: David Ludovino <david.ludovino>
Component: generalAssignee: marble-bugs
Status: RESOLVED DUPLICATE    
Severity: normal CC: tgridel
Priority: NOR    
Version: 1.5 (KDE 4.10)   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: This KML crashes Marble.
With this KML the import does nothing.

Description David Ludovino 2013-07-30 13:54:27 UTC
Created attachment 81455 [details]
This KML crashes Marble.

I am using Marble 1.5.1 from the GetDeb repository but I had the same bug with version 1.4.9 from the Ubuntu quantal repository.

When I try to import KML files created by Google Earth into my bookmarks one of two things happens:
a) Marble crashes outputting "terminate called after throwing an instance of 'std::bad_alloc'" to the terminal. After opening Marble nothing is imported.
b) Marble stalls for one second and then keeps running with nothing imported.

I'm attaching 2 files, each creates one of the behaviours mentioned above.

The strange thing is that if I do "File->Open" Marble is able to open both KML files and display the places.  Only the Bookmark Manager fails to import them.
Comment 1 David Ludovino 2013-07-30 13:55:46 UTC
Created attachment 81456 [details]
With this KML the import does nothing.
Comment 2 Thibaut Gridel 2013-08-06 20:54:24 UTC

*** This bug has been marked as a duplicate of bug 316969 ***