[GRASS-dev] Re: [GRASS GIS] #660: v.delaunay producing incorrect results

GRASS GIS trac at osgeo.org
Tue Jun 23 01:39:57 EDT 2009


#660: v.delaunay producing incorrect results
-----------------------+----------------------------------------------------
  Reporter:  cmbarton  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect    |      Status:  new                      
  Priority:  critical  |   Milestone:  6.5.0                    
 Component:  Vector    |     Version:  svn-develbranch6         
Resolution:            |    Keywords:  delaunay                 
  Platform:  MacOSX    |         Cpu:  OSX/Intel                
-----------------------+----------------------------------------------------
Changes (by hamish):

  * summary:  v.dalaunay producing incorrect results => v.delaunay
              producing incorrect results

Comment:

 see these mailing list threads:

 http://thread.gmane.org/gmane.comp.gis.grass.user/30001/
 http://thread.gmane.org/gmane.comp.gis.grass.devel/33926

 including this valgrind error:

 {{{
 ...
 WARNING: Vector map <DelaunayTriangles> already exists and will be
          overwritten
 ==7844== Syscall param write(buf) points to uninitialised byte(s)
 ==7844==    at 0x71C09F0: write (in /lib/libc-2.7.so)
 ==7844==    by 0x716E909: _IO_file_write (in /lib/libc-2.7.so)
 ==7844==    by 0x716E569: (within /lib/libc-2.7.so)
 ==7844==    by 0x716E8A4: _IO_do_write (in /lib/libc-2.7.so)
 ==7844==    by 0x7170256: _IO_switch_to_get_mode (in /lib/libc-2.7.so)
 ==7844==    by 0x716ED8F: _IO_file_seekoff (in /lib/libc-2.7.so)
 ==7844==    by 0x7164049: ftell (in /lib/libc-2.7.so)
 ==7844==    by 0x5D455FD: dig_ftell (file.c:41)
 ==7844==    by 0x5D4600F: dig__write_head (head.c:56)
 ==7844==    by 0x4E5AC9C: V1_open_new_nat (open_nat.c:127)
 ==7844==    by 0x4E5A155: Vect_open_new (open.c:565)
 ==7844==    by 0x403B0D: main (main.c:106)
 ==7844==  Address 0x4022009 is not stack'd, malloc'd or (recently) free'd
 Building topology for vector map <DelaunayTriangles>...
 Registering primitives...
 ...
 }}}


 works ok in Linux + latest grass 6.5svn, both 32 and 64bit.

 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/660#comment:1>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list