[postgis-tickets] [PostGIS] #3583: Server crashes when running particular ST_GeomFromJSON command
PostGIS
trac at osgeo.org
Fri Jun 17 15:00:41 PDT 2016
#3583: Server crashes when running particular ST_GeomFromJSON command
---------------------+---------------------------
Reporter: bmmpxf | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.1.9
Component: postgis | Version: 2.1.x
Keywords: |
---------------------+---------------------------
Hi. In pgAdmin (or psql), running the following command:
Select ST_GeomFromGeoJSON('{"type":"MultiPolygon",
"coordinates":[[[139.10030364990232,35.16777444430609],5842.4224490305424]]}');
The Postgres service immediately shuts down. I've never seen this sudden
behavior before.
Log file shows:
{{{
LOG: server process (PID 9576) was terminated by exception 0xC0000005
DETAIL: Failed process was running: select
ST_GeomFromGeoJSON('{"type":"MultiPolygon",
"coordinates":[[[139.10030364990232,35.16777444430609],5842.4224490305424]]}');
HINT: See C include file "ntstatus.h" for a description of the
hexadecimal value.
}}}
According to Microsoft, exception 0xC0000005 means
"STATUS_ACCESS_VIOLATION": "The instruction at 0x%08lx referenced memory
at 0x%08lx. The memory could not be %s."
https://msdn.microsoft.com/en-us/library/cc704588.aspx
Tested on PostGIS 2.1.7 and Postgres 9.3 on Windows 10 and Windows Server
2012.
Any ideas?
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3583>
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-tickets
mailing list