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

PostGIS trac at osgeo.org
Wed Jun 21 12:03:49 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 robe):

 Replying to [comment:4 pramsey]:
 > Can you get it to go boom with just the
 > {{{
 > select st_buffer(centroids, 100) as geom from (values
 >             (ST_Point(-10680061.06558879665, 5050512.8441793214945,
 3857)),
 > }}}
 > subquery?
 >
 > In general,
 > * does just the buffer do it?
 > * if not, can you materialize the buffers into a table and call just the
 asmvtgeom and make it happen?
 > * if not, can you materialize the result of asmvtgeom and make it happen
 in asmvt?


 I don't think just buffer does it.  It's currently at iteration 9200 and
 hasn't crashed yet.

 I'm going to retest the MVT one.  I forget when that one crashed as I
 wasn't paying much attention.
 I'm pretty sure more than 20 seconds has passed already.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5385#comment:6>
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