[postgis-tickets] [PostGIS] #4095: Median fails robustness test on median

PostGIS trac at osgeo.org
Tue May 22 10:25:28 PDT 2018


#4095: Median fails robustness test on median
----------------------+---------------------------
  Reporter:  robe     |      Owner:  Algunenano
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 2.3.8
 Component:  postgis  |    Version:  2.3.x
Resolution:           |   Keywords:
----------------------+---------------------------
Changes (by Algunenano):

 * owner:  pramsey => Algunenano


Comment:

 I've been able to reproduce it in Ubuntu 17.04 (32bits):
 {{{
 293             if ( ! point->point || point->point->npoints < 1 )
 (gdb) bt
 #0  0xb7f5ba74 in lwpoint_is_empty (point=0x0) at lwpoint.c:293
 #1  0xb7f5bb0a in lwpoint_getPoint3dz_p (point=0x0, out=0xbfffeeb8) at
 lwpoint.c:49
 #2  0x0804d320 in do_median_test (input=<optimized out>,
 expected=<optimized out>) at cu_algorithm.c:1015
 #3  0xb7ee1507 in ?? () from /usr/lib/i386-linux-gnu/libcunit.so.1
 #4  0xb7ee1f76 in CU_run_test () from /usr/lib/i386-linux-
 gnu/libcunit.so.1
 #5  0x0804cd55 in main (argc=<optimized out>, argv=<optimized out>) at
 cu_tester.c:216
 }}}

 I'll have a look tomorrow.

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