[postgis-tickets] [PostGIS] #2982: Crashing on PostgreSQL9.5 dev on topology (was: Debbie crashing on PostgreSQL9.5 dev on topology)

PostGIS trac at osgeo.org
Mon Nov 3 22:17:55 PST 2014


#2982: Crashing on PostgreSQL9.5 dev on topology
----------------------+-----------------------------------------------------
 Reporter:  robe      |       Owner:  strk         
     Type:  defect    |      Status:  new          
 Priority:  blocker   |   Milestone:  PostGIS 2.2.0
Component:  topology  |     Version:  trunk        
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by robe):

 Finally got around setting up latest 9.5 snapshot on my windows 7 64-bit
 compiled with mingw64.  Same issue as debbie in same spot crashes as soon
 as it get's to st_simplify.

 debbie is testing with 3.4.3dev and I'm testing with 3.5.0dev so a problem
 in both versions if it is geos specific.

 Stepping thru the st_simplify regress test line by line, what seems to
 trigger the crash is this part:


 {{{
 CREATE TABLE tt.bigareas(id serial, g geometry);
 INSERT INTO _test_layers SELECT 2,
   AddTopoGeometryColumn('tt', 'tt', 'bigareas', 'tg', 'polygon', layer_id)
   FROM _test_layers WHERE id = 1;
 SELECT 'L' || layer_id FROM _test_layers WHERE id = 2;
 INSERT INTO tt.bigareas (tg) SELECT
   topology.CreateTopoGeom( 'tt', 3,
     (select layer_id from _test_layers where id = 2),
     TopoElementArray_agg(ARRAY[r.topogeo_id, r.layer_id]))
   FROM tt.relation r, _test_layers l1
   WHERE r.layer_id = l1.layer_id AND l1.id = 1
   GROUP BY r.topogeo_id;
 UPDATE tt.bigareas SET g = tg;
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2982#comment:2>
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