[PostGIS] #6061: segmentation fault when loading geometries
PostGIS
trac at osgeo.org
Wed Apr 8 15:19:13 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 pramsey):
Pretty sure I see the issue, which I am surprised never showed up before?
20 years in? But the parser is returning a error location of 1131025 when
the WKT input is only 1047553 bytes long. This rather screws up the logic
in lwmessage_truncate, I think. I will have to see if I can generate this
organically on smaller inputs. One task is just to make lwmessage_truncate
more robust. Another is to explore why the error location is 10% too
large.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6061#comment:15>
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