[postgis-devel] [PostGIS] #239: invalid memory alloc request size 4294967294

PostGIS trac at osgeo.org
Sat Aug 15 10:54:57 PDT 2009


#239: invalid memory alloc request size 4294967294
----------------------+-----------------------------------------------------
  Reporter:  vnhjdh   |       Owner:  pramsey      
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  postgis 1.4.1
 Component:  postgis  |     Version:  1.4          
Resolution:           |    Keywords:               
----------------------+-----------------------------------------------------
Comment (by vnhjdh):

 Replying to [comment:1 robe]:
 > Can you provide an isolated example of this.  One that doesn't require a
 table.
 >
 > for example I tried this
 >
 > {{{
 > SELECT AsSvg
 >  (TransScale(GeomFromText('MULTIPOLYGON(((1396734
 >  7490559, 1397249 7490559, 1397249 7491074, 1396734 7491074, 1396734
 >  7490559)))', 900913), -1396736, -7491072, 1.0, 1.0), 0, 0)
 > }}}
 >
 > and that works fine under windows Vista 8.4, PostGIS 1.4
 >
 >
 > Alternatively you can attach a small dataset that exhibits the problem.
 >
 > Thanks,
 > Regina

 SELECT
 (TransScale((ST_Intersection(way,GeomFromText('MULTIPOLYGON(((1396734
 7490559, 1397249 7490559, 1397249 7491074, 1396734 7491074, 1396734
 7490559)))', 900913))), -1396736, -7491072, 1.0, 1.0)) FROM
 planet_osm_line

 returns geometry: "010700002031BF0D0000000000"

 With AsSvg in the select

 SELECT
 AsSvg(TransScale((ST_Intersection(way,GeomFromText('MULTIPOLYGON(((1396734
 7490559, 1397249 7490559, 1397249 7491074, 1396734 7491074, 1396734
 7490559)))', 900913))), -1396736, -7491072, 1.0, 1.0)) FROM
 planet_osm_line

 returns: invalid memory alloc request size 4294967294

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/239#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS


More information about the postgis-devel mailing list