[postgis-tickets] [PostGIS] #3220: Mingw failure on cluster test

PostGIS trac at osgeo.org
Sat Aug 22 16:01:59 PDT 2015


#3220: Mingw failure on cluster test
----------------------+---------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 2.2.0
 Component:  postgis  |    Version:  trunk
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by robe):

 dbaston,

 Okay I put in a notice just before that line to show the mindist and
 cxt->tolerance values and your suspicions seem correct, it's not getting
 into the union loop.

 For the test that is failing t3, this is what I see when I run against my
 mingw64 9.4 postgresql


 {{{
 NOTICE:  mindist: 0, cxt tolerance: 1.38242e+306
 NOTICE:  mindist: 0, cxt tolerance: 1.38242e+306
 NOTICE:  mindist: 4.24264, cxt tolerance: 1.38242e+306
 NOTICE:  mindist: 7.07107, cxt tolerance: 1.38242e+306
 }}}

 So it does look like the mindist is always higher than the tolerance, thus
 wouldn't go into the UF_Union routine.

 Now for comparison, If I run the same binaries against my 64-bit VC++ 9.4
 build, here is what I get


 {{{
 NOTICE:  mindist: 0, cxt tolerance: 1.4
 NOTICE:  mindist: 0, cxt tolerance: 1.4
 NOTICE:  mindist: 0, cxt tolerance: 1.4
 NOTICE:  mindist: 1.41421, cxt tolerance: 1.4
 NOTICE:  mindist: 1.41421, cxt tolerance: 1.4
 }}}

 As you see here the mindist is always lower than tolerance, so it works.

 So not sure what's happening in the cxt->tolerance part, but that does
 seem to be the problem.

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