[PostGIS] #6066: Pg19 + topology crash on regression test

PostGIS trac at osgeo.org
Thu Apr 9 02:17:16 PDT 2026


#6066: Pg19 + topology crash on regression test
-----------------------+---------------------------
  Reporter:  pramsey   |      Owner:  robe
      Type:  defect    |     Status:  new
  Priority:  blocker   |  Milestone:  PostGIS 3.6.2
 Component:  topology  |    Version:  master
Resolution:            |   Keywords:
-----------------------+---------------------------
Comment (by strk):

 Well, toTopoGeom calls into C functions, so it's not purely plpgsql.

 Adding NOTICE prints in the C function (TopoGeo_AddPoint, which is the
 smallest) I see the warnings and the crash happen after `SPI_finish`:

 {{{
 BEGIN
 NOTICE:  Before SPI finish
 NOTICE:  After SPI finish
 WARNING:  resource was not closed: relation "face"
 WARNING:  resource was not closed: relation "face_primary_key"
 WARNING:  resource was not closed: TupleDesc 0x7f26697ec598 (17671,-1)
 WARNING:  resource was not closed: TupleDesc 0x7f26697d63f0 (17681,-1)
 server closed the connection unexpectedly
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6066#comment:10>
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