[postgis-devel] [PostGIS] #1028: ST_AsSVG kills whole postgres server when fails

PostGIS trac at osgeo.org
Thu Jun 16 05:01:40 PDT 2011


#1028: ST_AsSVG kills whole postgres server when fails
------------------------+---------------------------------------------------
 Reporter:  cumobiworx  |       Owner:  pramsey      
     Type:  defect      |      Status:  new          
 Priority:  medium      |   Milestone:  PostGIS 1.4.3
Component:  postgis     |     Version:  1.5.X        
 Keywords:              |  
------------------------+---------------------------------------------------
 To verify, try the following statement:

 select ST_AsSVG(geomfromtext('GEOMETRYCOLLECTION(POLYGON((10.099877929668
 48.862883054592,10.181369018541 48.856106812965,10.268353271476
 48.852944252927,10.332458496101 48.864689897427,10.382411956792
 48.892266788693,10.407646179203 48.911254853059,10.420349121097
 48.93748354518,10.429618835452 48.96366788587,10.435455322268
 48.985783173727,10.418289184574 49.004766242422,10.387390136724
 49.027527294485,10.353744506842 49.053222191579,10.20981245042
 49.07656037895,10.107079124464 49.085499093636,9.9949962616126
 49.072793268945,9.9163993835595 49.038370025831,9.9240005493217
 48.991083619683,9.9584289550641 48.925258336798,10.025720214827
 48.892274642324,10.099877929668 48.862883054592)))', 4326))

 it will fail though it shouldn't (the Geometry is valid), and it will kill
 postgres. This happens on Postgres 8.4 w/ postgis 1.4 and also on Postgres
 9.0 and Postgis 1.5

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1028>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list