Ticket #1657 (closed defect: wontfix)
Crasher on ST_AsLatLonText on mingw64 (when used in VC EDB)
|Reported by:||robe||Owned by:||nobody|
|Keywords:||mingw64, windows 64bit,vc++||Cc:|
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.