[postgis-tickets] [PostGIS] #3143: Window 32-bit cunit check crashing intermittently

PostGIS trac at osgeo.org
Sat May 30 21:00:07 PDT 2015


#3143: Window 32-bit cunit check crashing intermittently
---------------------+---------------------------
 Reporter:  robe     |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  blocker  |  Milestone:  PostGIS 2.2.0
Component:  postgis  |    Version:  trunk
 Keywords:           |
---------------------+---------------------------
 As Nicklas noted in postgis-devel
 https://lists.osgeo.org/pipermail/postgis-devel/2015-May/024934.html

 Winnie 32-bit runs have been crashing intermittenly on CUnit.
 Unfortunately it crashes on my pc as well when running mingw in 32-bit
 mode.

 On winnie it crashes more often than not crashing here:

 {{{

   Test: test_lw_dist2d_seg_arc ...passed
   Test: test_lw_dist2d_arc_arc ...passed
   Test: test_lw_arc_length ...passed
   Test: test_lw_dist2d_pt_ptarrayarc ...passed
   Test: test_lw_dist2d_ptarray_ptarrayarc ...passed
   Test: test_lwgeom_tcpa ...Makefile:80: recipe for target `check'
 failed
 make[2]: *** [check] Error 5
 make[2]: Leaving directory
 `/projects/postgis/branches/2.2/liblwgeom/cunit'
 Makefile:168: recipe for target `check' failed
 make[1]: *** [check] Error 2
 make[1]: Leaving directory `/projects/postgis/branches/2.2/liblwgeom'
 GNUmakefile:14: recipe for target `check' failed
 make: *** [check] Error 1
 }}}

 On mine it consistently crashes here:


 {{{
 liblwgeom code interrupted
 liblwgeom code interrupted
 liblwgeom code interrupted
 passed
   Test: test_lwgeom_locate_along ...passed
   Test: test_lw_dist2d_pt_arc ...passed
   Test: test_lw_dist2d_seg_arc ...passed
   Test: test_lw_dist2d_arc_arc ...passed
   Test: test_lw_arc_length ...passed
   Test: test_lw_dist2d_pt_ptarrayarc ...passed
   Test: test_lw_dist2d_ptarray_ptarrayarc ...passed
   Test: test_lwgeom_tcpa ...passed
   Test: test_lwgeom_is_trajectory ...Geometry is not a LINESTRING Line
 does
 not have M dimension Measure of vertex 1 (1) not bigger than measure of
 vertex 0 (1) Measure of vertex 1 (0) not bigger than measure of vertex 0
 (1)
 Measure of vertex 2 (2) not bigger than measure of vertex 1 (3) passed
 Suite: effectivearea
   Test: do_test_lwgeom_effectivearea_lines ...passed
   Test: do_test_lwgeom_effectivearea_polys ...passed
 Suite: miscellaneous
   Test: test_misc_force_2d ...Makefile:80: recipe for target `check'
 failed
 make[2]: *** [check] Error 5
 make[2]: Leaving directory
 `/projects/postgis/branches/2.2/liblwgeom/cunit'
 Makefile:168: recipe for target `check' failed
 make[1]: *** [check] Error 2
 make[1]: Leaving directory `/projects/postgis/branches/2.2/liblwgeom'
 GNUmakefile:14: recipe for target `check' failed

 }}}

 and if I remark out the crashing tests, it just crashes on the next one.

 I did notice some odd code around misc_suite.  That suite seems to be
 defined twice at

 line 163 in liblwgeom/cunit/cu_misc.c

 Not sure if there was a reason for that.

 If I take that extra line out, doesn't crash on my machine.  Will commit
 and see if it fixes the issue.

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