[postgis-tickets] [PostGIS] #4985: 32-bit crashers on cluster regress

PostGIS trac at osgeo.org
Tue Aug 31 15:26:21 PDT 2021


#4985: 32-bit crashers on cluster regress
----------------------+---------------------------
  Reporter:  robe     |      Owner:  komzpa
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 3.2.0
 Component:  postgis  |    Version:  master
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by robe):

 bt full

 gives


 {{{
 0xee3fcf1c in ST_ClusterKMeans (fcinfo=0xffca400c) at lwgeom_window.c:211
 211                     max_radius =
 DatumGetFloat8(WinGetFuncArgCurrent(winobj, 2, &isnull));
 (gdb) bt full
 #0  0xee3fcf1c in ST_ClusterKMeans (fcinfo=0xffca400c) at
 lwgeom_window.c:211
         i = <optimized out>
         k = 35830033
         geoms = <optimized out>
         N = 3
         isnull = true
         isout = false
         max_radius = 0
         r = <optimized out>
         winobj = 0x222cdb0
         context = 0x21a8ed0
         curpos = <optimized out>
         rowcount = <optimized out>
 #1  0x00261ff4 in eval_windowfunction (perfuncstate=0x222cbc8,
 result=0x222cb98, isnull=0x222cbb0, winstate=<optimized out>,
 winstate=<optimized out>) at nodeWindowAgg.c:1055
         fcinfodata = {fcinfo = {flinfo = 0x222cbd4, context = 0x222cdb0,
 resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 3, args =
 0xffca4020},
           fcinfo_data =
 "\324\313\"\002\260\315\"\002\000\000\000\000\000\000\000\000\000K\003\000\200\002\000\000\001\206p\000\000\000\000\000\001\000\000\000\351\375\000\000\001\232\030\002 at V!\002X\263M\000\350\v$\002\260\236c\367\324\367p\367\240@\312\377\300K\"\002\305K\"\002\000\000\000\000\300k\"\000\300K\"\002\310K\"\002\305K\"\002\070w\"\000\330\350\"\002\324\367p\367\b\370p\367\377\017\000\000\b\370p\367\324\367p\367X\362p\367\000\000\000\000\b\200\000\000\224mc\367\000\200\000\000\000\000\000\000\020\000\000\000\310K\"\002\305K\"\002\230\203
 \002\fDM\000\000\353\033\002\020\000\000\000\274\206p\000\001\000\000\000\000\000\000\000@\354\033\002\003\000\000\000\001\000\000\000"...}
         fcinfo = 0xffca4004
         oldContext = 0x2188da8
 #2  0x00264ce0 in ExecWindowAgg (pstate=0x21893a8) at nodeWindowAgg.c:2197
         perfuncstate = <optimized out>
         winstate = 0x21893a8
         econtext = 0x222cbb0
         i = 0
         numfuncs = 1
         __func__ = "ExecWindowAgg"
 #3  0x00253224 in ExecProcNode (node=0x21893a8) at
 ../../../src/include/executor/executor.h:242
 No locals.
 #4  ExecLimit (pstate=0x2189230) at nodeLimit.c:95
         node = 0x2189230
         direction = ForwardScanDirection
         slot = <optimized out>
         outerPlan = 0x21893a8
         __func__ = "ExecLimit"
 #5  0x00243c90 in ExecProcNode (node=0x2189230) at
 ../../../src/include/executor/executor.h:242
 No locals.
 #6  fetch_input_tuple (aggstate=aggstate at entry=0x2188fb0) at nodeAgg.c:406
         slot = <optimized out>
 #7  0x002455c0 in agg_retrieve_direct (aggstate=0x2188fb0) at
 nodeAgg.c:1748
         econtext = <optimized out>
         firstSlot = <optimized out>
         numGroupingSets = 1
         node = 0x220bee0
         tmpcontext = 0x21890d8
         peragg = 0x20f60d8
         outerslot = <optimized out>
         nextSetSize = <optimized out>
         pergroups = 0x220c358
         result = <optimized out>
         hasGroupingSets = true
         currentSet = <optimized out>
         numReset = 1
         i = <optimized out>
         node = <optimized out>
         econtext = <optimized out>
         tmpcontext = <optimized out>
         peragg = <optimized out>
         pergroups = <optimized out>
         outerslot = <optimized out>
         firstSlot = <optimized out>
         result = <optimized out>
         hasGroupingSets = <optimized out>
         numGroupingSets = <optimized out>
         currentSet = <optimized out>
         nextSetSize = <optimized out>
         numReset = <optimized out>
         i = <optimized out>
 #8  ExecAgg (pstate=0x2188fb0) at nodeAgg.c:1563

 }}}

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