[postgis-tickets] [PostGIS] #3002: ST_GeomFromGeoJSON() Causes postgres to crash

PostGIS trac at osgeo.org
Sat Nov 22 01:08:04 PST 2014


#3002: ST_GeomFromGeoJSON() Causes postgres to crash
---------------------+------------------------------------------------------
 Reporter:  vannut   |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.1.5
Component:  postgis  |     Version:  2.1.x        
 Keywords:           |  
---------------------+------------------------------------------------------
 When executing a query which uses 'ST_GeomFromGeoJSON()' the backend
 crashes and you need to reconnect.

 This simple query crashes:
 SELECT
 ST_GeomFromGeoJSON('{"type":"Point","coordinates":[-48.23456,20.12345]}'));

 When using gdb to track whats going on, I can see this in the output:

 {{{
 Program received signal SIGSEGV, Segmentation fault.
 0xb70dda59 in _IO_vfprintf_internal (s=0xbfde7150, format=<optimized out>,
 ap=0xbfde7298 "") at vfprintf.c:1630
 1630    vfprintf.c: No such file or directory.
 }}}

 I'm using postgis 2.1.4 r12966 and a postgresql 9.3.5 server.

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