Re: [gdal-dev] ogr2ogr segfault

2015-05-19 Thread Ari Jolma
19.05.2015, 14:04, Even Rouault kirjoitti: Le mardi 19 mai 2015 13:02:48, Ari Jolma a écrit : 19.05.2015, 13:25, Even Rouault kirjoitti: ogrinfo strade.shp -dialect sqlite -sql "select spatialite_version()" "no such function" :D It's not finding the SpatiaLite at all. I'm using libsqlite3-0

Re: [gdal-dev] ogr2ogr segfault

2015-05-19 Thread Even Rouault
Le mardi 19 mai 2015 13:02:48, Ari Jolma a écrit : > 19.05.2015, 13:25, Even Rouault kirjoitti: > > ogrinfo strade.shp -dialect sqlite -sql "select spatialite_version()" > > "no such function" :D > > It's not finding the SpatiaLite at all. I'm using libsqlite3-0 from > ubuntu and libspatialite i

Re: [gdal-dev] ogr2ogr segfault

2015-05-19 Thread Ari Jolma
19.05.2015, 13:25, Even Rouault kirjoitti: ogrinfo strade.shp -dialect sqlite -sql "select spatialite_version()" "no such function" :D It's not finding the SpatiaLite at all. I'm using libsqlite3-0 from ubuntu and libspatialite is now my own compiled. I removed the ubuntu version. ldconfig

Re: [gdal-dev] ogr2ogr segfault

2015-05-19 Thread a . furieri
On Tue, 19 May 2015 11:25:27 +0200, Even Rouault wrote: Debian Sid, might be a platform specific issue? https://bugs.debian.org/785091 few technical details useful to understand better: a) starting since November 2013 it become definitely clear that the older self-registration mechanism ba

Re: [gdal-dev] ogr2ogr segfault

2015-05-19 Thread Even Rouault
Le mardi 19 mai 2015 12:21:15, Ari Jolma a écrit : > Hi all. > I'm consistently getting a segfault from: > > ogr2ogr OUTPUTLAYER.shp strade.shp strade -dialect sqlite -sql "SELECT > ST_Line_Interpolate_Point( geometry , 0.5 ),* FROM 'strade' " > > Anything I can

Re: [gdal-dev] ogr2ogr segfault

2015-05-19 Thread Ari Jolma
Hi all. I'm consistently getting a segfault from: ogr2ogr OUTPUTLAYER.shp strade.shp strade -dialect sqlite -sql "SELECT ST_Line_Interpolate_Point( geometry , 0.5 ),* FROM 'strade' " Anything I can do for debugging? Running under gdb and displaying the stack trace. ogr2ogr OUTPUTLAYER.shp st

Re: [gdal-dev] ogr2ogr segfault

2015-05-19 Thread Paolo Cavallini
Il 19/05/2015 11:43, Paolo Cavallini ha scritto: > Il 19/05/2015 11:18, Antonio Falciano ha scritto: > >> ogr2ogr OUTPUTLAYER.shp strade.shp -dialect sqlite -sql "SELECT >> ST_Line_Interpolate_Point(geometry, 0.5), * FROM strade" >> What happens in this case? > > Same thing, segfault. > Reading b

Re: [gdal-dev] ogr2ogr segfault

2015-05-19 Thread Paolo Cavallini
Il 19/05/2015 11:18, Antonio Falciano ha scritto: > ogr2ogr OUTPUTLAYER.shp strade.shp -dialect sqlite -sql "SELECT > ST_Line_Interpolate_Point(geometry, 0.5), * FROM strade" > What happens in this case? Same thing, segfault. Reading better notes from Debian developer I get convinced is the same

Re: [gdal-dev] ogr2ogr segfault

2015-05-19 Thread Paolo Cavallini
Il 19/05/2015 11:18, Antonio Falciano ha scritto: > ogr2ogr OUTPUTLAYER.shp strade.shp -dialect sqlite -sql "SELECT > ST_Line_Interpolate_Point(geometry, 0.5), * FROM strade" > What happens in this case? Same thing, segfault. Reading better notes from Debian developer I get convinced is the same

Re: [gdal-dev] ogr2ogr segfault

2015-05-19 Thread Even Rouault
Le mardi 19 mai 2015 11:24:19, Ari Jolma a écrit : > 19.05.2015, 12:05, Even Rouault kirjoitti: > > Paolo, > > > >> Hi all. > >> I'm consistently getting a segfault from: > >> > >> ogr2ogr OUTPUTLAYER.shp strade.shp strade -dialect sqlite -sql "SELECT > >> ST_Line_Interpolate_Point( geometry , 0.

Re: [gdal-dev] ogr2ogr segfault

2015-05-19 Thread Ari Jolma
19.05.2015, 12:05, Even Rouault kirjoitti: Paolo, Hi all. I'm consistently getting a segfault from: ogr2ogr OUTPUTLAYER.shp strade.shp strade -dialect sqlite -sql "SELECT ST_Line_Interpolate_Point( geometry , 0.5 ),* FROM 'strade' " Anything I can do for debugging? Running under gdb and disp

Re: [gdal-dev] ogr2ogr segfault

2015-05-19 Thread Antonio Falciano
Il 19/05/2015 11:07, Paolo Cavallini ha scritto: Il 19/05/2015 11:01, Ari Jolma ha scritto: Can you give us the back trace what led to the segfault? Can you share the shapefile? The shape is irrelevant, it happens with anyone. I'll try to get the backtrace later, I'm now in a workshop. Could

Re: [gdal-dev] ogr2ogr segfault

2015-05-19 Thread Paolo Cavallini
Il 19/05/2015 11:01, Ari Jolma ha scritto: > Can you give us the back trace what led to the segfault? Can you share > the shapefile? The shape is irrelevant, it happens with anyone. I'll try to get the backtrace later, I'm now in a workshop. Could anyone get the command working on Sid? Thanks for

Re: [gdal-dev] ogr2ogr segfault

2015-05-19 Thread Even Rouault
Paolo, > Hi all. > I'm consistently getting a segfault from: > > ogr2ogr OUTPUTLAYER.shp strade.shp strade -dialect sqlite -sql "SELECT > ST_Line_Interpolate_Point( geometry , 0.5 ),* FROM 'strade' " > > Anything I can do for debugging? Running under gdb and displaying the stack trace. > Debia

Re: [gdal-dev] ogr2ogr segfault

2015-05-19 Thread Ari Jolma
19.05.2015, 11:54, Paolo Cavallini kirjoitti: Hi all. I'm consistently getting a segfault from: ogr2ogr OUTPUTLAYER.shp strade.shp strade -dialect sqlite -sql "SELECT ST_Line_Interpolate_Point( geometry , 0.5 ),* FROM 'strade' " Anything I can do for debugging? Paolo, Can you give us the bac

[gdal-dev] ogr2ogr segfault

2015-05-19 Thread Paolo Cavallini
Hi all. I'm consistently getting a segfault from: ogr2ogr OUTPUTLAYER.shp strade.shp strade -dialect sqlite -sql "SELECT ST_Line_Interpolate_Point( geometry , 0.5 ),* FROM 'strade' " Anything I can do for debugging? Debian Sid, might be a platform specific issue? https://bugs.debian.org/785091 Al