[postgis-users] shp2pgsql segmentation fault

Jeff Lounsbury jeffloun at refractions.net
Mon Feb 24 09:40:38 PST 2003

I try to open the Shapefile in Arciew and it errors with : "Number of shapes
does not match number of table records", there are 19 table records in the dbf
file from what I can see, check again when you are creating the data to verify
that both file are based on the same dataset exactly?

"R. Piepul" wrote:

> Hi List,
> I have a shape file with 15 attributes that causes shp2pgsql to
> terminate with a segmentation fault. I originally ran it with 2150
> point features which resulted in only 2139 insert commands written to
> the output file. The last insert command was incomplete.
> I also tried shape files with 18, 2, and 1 feature (all point
> features). These also resulted in seg faults.
> My OS is FreeBSD 4.5
> shp2pgsql was built from CVS on 22 Feb2003.
> The shapefiles were produced using gen2shp and txt2dbf.
> http://intevation.de/~jan/gen2shp/gen2shp.html
> http://www.usf.uni-osnabrueck.de/~fkoorman/software/dbftools.en.html
> I've attached the shape files containing 18 point features. There are 15
> attributes. If you wish other files please let me know and I will
> provide them.
> Thanks for your help,
> Rob
>   ------------------------------------------------------------------------
>                        Name: shapetest.tar.gz
>    shapetest.tar.gz    Type: Unix Tape Archive (application/x-tar)
>                    Encoding: base64
>   ------------------------------------------------------------------------
> _______________________________________________
> 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