[postgis-devel] [PostGIS] #395: Make check errors on Mac - spheroid area - srid 32702

PostGIS trac at osgeo.org
Fri Jan 29 10:06:09 PST 2010


#395: Make check errors on Mac - spheroid area - srid 32702
-----------------------+----------------------------------------------------
  Reporter:  colivier  |       Owner:  pramsey                         
      Type:  defect    |      Status:  new                             
  Priority:  medium    |   Milestone:  PostGIS 1.5.0                   
 Component:  postgis   |     Version:  trunk                           
Resolution:            |    Keywords:  Mac regress  spheroid_area 32702
-----------------------+----------------------------------------------------
Comment (by pramsey):

 It's a heisenbug. If you print out values, it goes away... in fact, if you
 print out pretty much anything at all, it goes away... here's a patch that
 "fixes" it.  It doesn't matter which value you print out.  I managed to
 fix other variants of this kind of thing, but they were all based on
 branching issues: two values almost the same and the branch condition was
 sensitive enough that the print statement seemed to move things a little
 and change the branch. But in this case, there's no branch conditions that
 I can see. Google information on heisenbugs points to uninitialized memory
 as a possible cause, but there's not really any of that in the code path.
 I dunno. Suggestions on going forward?

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/395#comment:11>
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-devel mailing list