[GRASS-dev] [GRASS GIS] #3115: v.kriging: segfault if a parameter is not set

GRASS GIS trac at osgeo.org
Thu Aug 4 06:42:31 PDT 2016


#3115: v.kriging: segfault if a parameter is not set
-------------------------------------------------+-------------------------
 Reporter:  mlennert                             |      Owner:  grass-dev@…
     Type:  defect                               |     Status:  new
 Priority:  normal                               |  Milestone:  7.0.5
Component:  Addons                               |    Version:  unspecified
 Keywords:  v.kriging required parameter         |        CPU:  Unspecified
  segfault                                       |
 Platform:  Unspecified                          |
-------------------------------------------------+-------------------------
 In the v.kriging addon, when I only provide the parameters marked as
 required (+ the -2 flag for 2D interpolation) I get the following:


 {{{
 v.extract elev_lid792_randpts out=elev_lid792_selected random=500 --o
 v.kriging -2 input=elev_lid792_selected at user1 phase=initial icolumn=value
 WARNING: Not recommended to process for sparse or spatially heterogeneous
          data. The result can be inaccurate - trying to solve asap...
 Reading coordinates...
 Segmentation fault
 }}}

 I have to add the report parameter for it to work:


 {{{
 v.kriging -2 input=elev_lid792_selected at user1 phase=initial icolumn=value
 report=report.txt
 }}}

 At this stage, two unasked-for files are in the same directory: dataE.dat
 and
 variogram_hz_tmp.txt.

 Required parameters should be declared as such and not lead to a segfault.
 And any temporary files created during the run of the module should be
 erased at the end.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3115>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list