Control: tags -1 - moreinfo Control: tags -1 + confirmed upstream Control: forwarded -1 https://trac.osgeo.org/gdal/ticket/6408 Control: severity -1 important
Hi Andy, On 08-03-16 15:14, Andy G Wood wrote: > Reducing a much larger data set, attached argos_trip.csv which is used by > attached argos.xml which generates the segfault with: > > ogr2ogr -a_srs WGS84 -f GeoJSON -where "ID=098530" -nln "098530" \ > p098530.json argos.xml Thanks for the reproducible test case. I've forwarded this bugreport to the upstream issue tracker to help get the segfault resolved. I'm downgrading the severity to important because this issue because it doesn't render the package completely unusable to everyone. I don't have systems with GDAL 1.11 at hand any more, but with GDAL 1.10.1 on jessie your command still fails with the same error messages, ogr2ogr just doesn't segfault: $ ogr2ogr -a_srs WGS84 -f GeoJSON -where "ID=098530" \ -nln "098530" p098530.json argos.xml ; echo $? ERROR 1: Type mismatch or improper type of arguments to = operator. FAILURE: SetAttributeFilter(ID=098530) on layer 'argos_trip' failed. 1 Because the ID column is of type String, you should quote the value to not have it interpreted as an integer: $ ogr2ogr -a_srs WGS84 -f GeoJSON -where "ID='098530'" \ -nln "098530" p098530.json argos.xml ; echo $? 0 This doesn't trigger the type mismatch error and SetAttributeFilter() failure, and the subsequent segfault (which should not happen either way). Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1 _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel