Opened 9 years ago

Last modified 9 years ago

#5775 closed defect

Segmentation fault with OGR_SKIP and LIBKML — at Initial Version

Reported by: juliomalegria Owned by: warmerdam
Priority: normal Milestone: 1.11.2
Component: OGR_SF Version: 1.11.1
Severity: normal Keywords: libkml, segmentation fault, crash
Cc:

Description

Hey guys,

This is how you can repro this (you need to have LIBKML compiled):

$ ogrinfo --version GDAL 1.11.1, released 2014/09/24

$ ogrinfo --formats | grep KML

-> "LIBKML" (read/write) -> "KML" (read/write)

$python from osgeo import ogr ogr.RegisterAll() ogr.RegisterAll() # This works ...

$python import os os.environOGR_SKIP = 'LIBKML' from osgeo import ogr ogr.RegisterAll() ogr.RegisterAll() Segmentation fault

I works if I skip any other library

$python import os os.environOGR_SKIP = 'GeoJSON' from osgeo import ogr ogr.RegisterAll() ogr.RegisterAll() # This also works ...

Change History (0)

Note: See TracTickets for help on using tickets.