[postgis-users] shp2pgsql segmentation error

strk strk at freek.keybit.net
Mon Feb 3 06:37:41 PST 2003


pramsey wrote:
> As always, an example shapefile will help us remove the bug.
> First, though: try the CVS version. There *have* been updates to 
> shp2pgsql since the last release, and your bug may have been squashed 
> already. If that fails, send us the example shapefile.
> P.

I've seen CVS version still contains the PIP bug in shp2pgsql.
That might give the segfault
(referencing one POINT3D past the available once).

Try applying this patch to shp2pgsql.c:
http://cobalt.rmnet.it/~san/postgis/shp2pgsql.c-CVS-PIP.diff

> 
> Robert W. Burgholzer wrote:
> >> I ‘m encountering ”segmentation errors” while using shp2pgsql on some 
> >> particular shapefiles (which I can load without any problem with 
> >> ESRI’s ArcExplorer).
> >>
> > 
> > 
> > This has happened to me when there are blank fields in the input shapefile.
> > 
> > r.b.
> 
> -- 
>        __
>       /
>       | Paul Ramsey
>       | Refractions Research
>       | Email: pramsey at refractions.net
>       | Phone: (250) 885-0632
>       \_
> 
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list