[postgis-tickets] [PostGIS] #5385: Postgres malloc assertion fail when using pg_cancel_backend with ST_AsMVT

PostGIS trac at osgeo.org
Wed Jun 28 08:15:05 PDT 2023


#5385: Postgres malloc assertion fail when using pg_cancel_backend with ST_AsMVT
-----------------------------+----------------------------
  Reporter:  gbartonowenstl  |      Owner:  pramsey
      Type:  defect          |     Status:  new
  Priority:  high            |  Milestone:  PostGIS 3.1.10
 Component:  postgis         |    Version:  3.3.x
Resolution:                  |   Keywords:  malloc, crash
-----------------------------+----------------------------
Comment (by pramsey):

 Wellll, in the short term we should comment out those callbacks, since
 crashes are worse than (minimal) missing interruptability. In the medium
 term, I am going to try to make an ASAN build of everything and see if I
 can induce some kind of out-of-bounds write by wagyu... my working
 hypothesis being that it does an out-of-bounds write on every interrupt,
 but only a very small fraction of them manage to overwrite something
 critical enough to cause a crash.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5385#comment:9>
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