shp2pgsql core dumps when using -G and -g together
rhurlin at gwdg.de
Thu Jun 2 06:47:29 UTC 2011
I am trying to use the converter 'shp2pgsql' from database/postgis
version 1.5.2 to convert an ESRI shapefile into the geography data type
It core dumps when using the two options '-G' and '-g' at the same time,
at least on FreeBSD. Option '-G' switches from geometry to geography
data type. With option '-g' I want to set another than the default name
of the geography column.
shp2pgsql -G -g geog_newname world.shp
shp2pgsql: (malloc) /usr/src/lib/libc/stdlib/malloc.c:4287: Failed
assertion: "arena != NULL"
This is reproducable with other shapefiles, too. It does not happen, if
'-G' is used without the '-g' option.
It seems there is a problem with memory allocation? As far as I know
this works on other platforms than FreeBSD.
As test data may serve the world shape from
Any help is really appreciated. And please let me know if I can help or
More information about the freebsd-ports