[postgis-tickets] [PostGIS] #4353: Backend crash using ST_Buffer

PostGIS trac at osgeo.org
Wed Mar 20 09:40:55 PDT 2019


#4353: Backend crash using ST_Buffer
----------------------+---------------------------
  Reporter:  strk     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 3.0.0
 Component:  postgis  |    Version:  trunk
Resolution:           |   Keywords:
----------------------+---------------------------
Description changed by strk:

Old description:

> It looks like someone changed the API of a C function, resulting in a
> backend crash upon using ST_Buffer old signature:
>
> ==8887== Invalid read of size 1
> ==8887==    at 0x5442B0: pg_detoast_datum (in
> /usr/lib/postgresql/9.6/bin/postgres)
> ==8887==    by 0x19D7D2A6: buffer (lwgeom_geos.c:809)
> ==8887==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
>
> NOTE: I'm using old signature because upgrade fails (see #4353)
>
> Signature was changed in r17300 so Paul: it is in your plate to fix!

New description:

 It looks like someone changed the API of a C function, resulting in a
 backend crash upon using ST_Buffer old signature:

 {{{
 ==8887== Invalid read of size 1
 ==8887==    at 0x5442B0: pg_detoast_datum (in
 /usr/lib/postgresql/9.6/bin/postgres)
 ==8887==    by 0x19D7D2A6: buffer (lwgeom_geos.c:809)
 ==8887==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
 }}}

 NOTE: I'm using old signature because upgrade fails (see #4353)

 Signature was changed in r17300 so Paul: it is in your plate to fix!

--

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4353#comment:1>
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