Summary: | KMLTest Crashes with segfault on GeoDataGeometry::detach | ||
---|---|---|---|
Product: | [Applications] marble | Reporter: | Andrew Manson <acb> |
Component: | general | Assignee: | marble-bugs |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | nienhueser, tgridel |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | 0.8 (KDE 4.3) | ||
Platform: | Compiled Sources | ||
OS: | Unspecified | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Andrew Manson
2009-08-06 12:06:18 UTC
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. |