[postgis-devel] [PostGIS] #1657: Crasher on ST_AsLatLonText on mingw64 in combo query_to_xml

PostGIS trac at osgeo.org
Tue Mar 6 20:39:59 PST 2012


#1657: Crasher on ST_AsLatLonText on mingw64 in combo query_to_xml
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:  mingw64  |  
---------------------+------------------------------------------------------
 So took my new postgis 64-bit windows for a spin and since I don't have
 make check working yet.  Ran it thru my garden tests.  It seems to
 consistently crash when it tries to log the output of an invalid
 ST_AsLonLat.  It got thru the postgis 1.5 tests still standing though.


 {{{
  SELECT query_to_xml('SELECT ST_AsLatLonText(foo1.the_geom, ''monkey'') As
 result FROM ((SELECT ST_SetSRID(ST_Point(i,j),4326) As the_geom FROM
 (SELECT a*1.11111111 FROM generate_series(-10,50,2) As a) As i(i) CROSS
 JOIN generate_series(40,70, 5) j ORDER BY i,j )) As foo1 LIMIT 3;',
 false,false, '');

 }}}


 After I restart it, I have to run this test about 4 times before it kills
 the server again.  Haven't tried it on my mingw32 builds recently.

 I also can't make it crash unless I combine it with query_to_xml which is
 what I use to log the results.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/1657>
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