[postgis-devel] Re: [PostGIS] #167: shp2pgsql double frees on medford buildings.shp
PostGIS
trac at osgeo.org
Tue Jun 9 06:51:41 PDT 2009
#167: shp2pgsql double frees on medford buildings.shp
----------------------+-----------------------------------------------------
Reporter: pramsey | Owner: pramsey
Type: defect | Status: new
Priority: high | Milestone: postgis 1.4.0
Component: postgis | Version: 1.4
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment (by pramsey):
No, the make clean monster hasn't bitten me again (another issue that
deserves a ticket, really) after a clean build the problem still recurs.
I'm on OS/X 10.5 should be 32 bit.
{{{
Heron-2:postgis-svn pramsey$ ./loader/shp2pgsql
~/Downloads/buildings_oops/buildings_oops.shp foo
Shapefile type: PolygonZ
Postgis type: MULTIPOLYGON[4]
SET STANDARD_CONFORMING_STRINGS TO ON;
BEGIN;
CREATE TABLE "foo" (gid serial PRIMARY KEY,
"layer" varchar(254),
"elevation" numeric,
"shape_leng" numeric,
"shape_area" numeric);
SELECT AddGeometryColumn('','foo','the_geom','-1','MULTIPOLYGON',4);
shp2pgsql(27700) malloc: *** error for object 0x1009c0: double free
*** set a breakpoint in malloc_error_break to debug
shp2pgsql(27700) malloc: *** error for object 0x100ae0: double free
*** set a breakpoint in malloc_error_break to debug
ERROR: geometry requires more points
INSERT INTO "foo" ("layer","elevation","shape_leng","shape_area",the_geom)
VALUES ('S-BUILDING','1384.22300000','0.00000000000','0.00000000000',
Heron-2:postgis-svn pramsey$
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/167#comment:12>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
More information about the postgis-devel
mailing list