[PostGIS] #6061: segmentation fault when loading geometries

PostGIS trac at osgeo.org
Tue Apr 7 21:36:56 PDT 2026


#6061: segmentation fault when loading geometries
----------------------------+---------------------------
  Reporter:  maxsynytsky1v  |      Owner:  pramsey
      Type:  defect         |     Status:  new
  Priority:  medium         |  Milestone:  PostGIS 3.6.2
 Component:  postgis        |    Version:  3.6.x
Resolution:                 |   Keywords:
----------------------------+---------------------------
Comment (by robe):

 It's not crashing for Paul but he is getting an invalid geometry


 {{{
 ERROR:  parse error - invalid geometry
 HINT:  "..." <-- parse error at position 1131025 within geometry
 CONTEXT:  COPY gf_active_play_area, line 596, column shape: "MULTIPOLYGON
 ((( 15.46475600 46.64170500, 15.46562100 46.64115900, 15.46663100
 46.64050400, 15.4676..."
 }}}

 So I suppose related to a corrupt geometry.

 For me it crashes somewhere in the strncat() parsing function so very low
 level in my msvcrt.

 I'm running on windows / mingw64/msys.  I haven't tried one of my Linux
 boxes yet.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6061#comment:12>
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