[GRASS-dev] [GRASS GIS] #1628: segfault in r.walk

GRASS GIS trac at osgeo.org
Fri May 16 05:23:49 PDT 2014


#1628: segfault in r.walk
----------------------------+-----------------------------------------------
 Reporter:  pertusus        |       Owner:  grass-dev@…              
     Type:  defect          |      Status:  new                      
 Priority:  normal          |   Milestone:  6.4.4                    
Component:  Raster          |     Version:  svn-releasebranch64      
 Keywords:  r.cost, r.walk  |    Platform:  Linux                    
      Cpu:  x86-64          |  
----------------------------+-----------------------------------------------

Comment(by mlennert):

 I tried with the test script and can confirm the crash. Testing a bit
 further the difference between the v.in.ascii and v.in.ogr imports, I saw
 that the latter has many more attribute columns. When I reduce the number
 of attribute columns, I get r.walk to work:


 {{{
 v.info -c stop_points_ogr
 Displaying column types/names for database connection of layer 1:
 INTEGER|cat
 INTEGER|cat_point
 INTEGER|cat_relocated
 DOUBLE PRECISION|lon_relocated
 DOUBLE PRECISION|lat_relocated
 INTEGER|cat_
 DOUBLE PRECISION|value
 DOUBLE PRECISION|orig_lon
 DOUBLE PRECISION|orig_lat
 }}}

 Running v.db.droptable before r.walk also makes r.walk work.

 I do not have the time right now to check if this is linked to a specific
 attribute or just the general number of attributes, but maybe someone else
 can continue on that path ?

 Backporting from grass7 seems quite invasive at this stage, unless the two
 modules are self-contained.

 Moritz

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



More information about the grass-dev mailing list