[Marble-bugs] [Bug 202781] KMLTest Crashes with segfault on GeoDataGeometry::detach

Dennis Nienhüser earthwings at gentoo.org
Sat Jan 16 01:37:01 CET 2010


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


Dennis Nienhüser <earthwings at gentoo.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |earthwings at gentoo.org




--- Comment #1 from Dennis Nienhüser <earthwings gentoo org>  2010-01-16 01:36:59 ---
detach fails because the static_cast done above is invalid: It expects a
Polygon, but it gets a Point (or rather garbage). This in turn happens because
pack() of the Placemark is not called correctly during save: Only pack() of
GeoDataFeature is called, not pack() of GeodataPlacemark() for some reason.
Therefore too little data is written to the stream, which results in garbage
being read later. Needs to be tracked down further.

-- 
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