[GRASS-dev] [GRASS GIS] #775: r.terraflow: file=/home/mlennert/STREAM/STREAM_tQhXkQ:cannot read!: Bad address

GRASS GIS trac at osgeo.org
Tue Oct 6 05:57:50 EDT 2009


#775: r.terraflow: file=/home/mlennert/STREAM/STREAM_tQhXkQ:cannot read!: Bad
address
-----------------------------------+----------------------------------------
 Reporter:  mlennert               |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect                 |      Status:  new                      
 Priority:  normal                 |   Milestone:  6.4.0                    
Component:  Raster                 |     Version:  svn-develbranch6         
 Keywords:  terraflow bad address  |    Platform:  Linux                    
      Cpu:  Unspecified            |  
-----------------------------------+----------------------------------------
 In all three version (6.4, 6devel and 7), I get the following error
 running r.terraflow in the North Carolina demo data set:


 {{{
 GRASS 6.5.svn (nc_spm_06):~ > g.region rast=elevation
 GRASS 6.5.svn (nc_spm_06):~ > r.terraflow elevation=elevation at PERMANENT
 filled=fill direction=flow swatershed=waters accumulation=accum tci=tci
 STREAM_DIR=/home/mlennert/STREAM
 STREAM temporary files in /home/mlennert/STREAM  (THESE INTERMEDIATE
 STREAMS WILL NOT BE DELETED IN CASE OF ABNORMAL TERMINATION OF THE
 PROGRAM. TO SAVE SPACE PLEASE DELETE THESE FILES MANUALLY!)
 file stats.out exists - renaming.
 MFD flow direction
 D8CUT=999999986991104.000000
 Memory size: 300.00M (314572800) bytes
 Memory manager registering memory in MM_IGNORE_MEMORY_EXCEEDED mode.
 total elements=2025000, nodata elements=0
 largest temporary files:
 FILL: 108.15M (113400000) [2025000 elements, 56B each]
 FLOW: 154.50M (162000000) [2025000 elements, 80B each]
 Will need at least 308.99M (324000000) space available in
 /home/mlennert/STREAM
 ------------------------------
 COMPUTING FLOW DIRECTIONS
 classifying nodata (inner & boundary)
 assigning preliminary directions
 finding flat areas (plateaus and depressions)
 file=/home/mlennert/STREAM/STREAM_lRe0NI:cannot read!: Bad address
 r.terraflow: /home/mlennert/SRC/GRASS/grass6_devel/dist.i486-pc-linux-
 gnu/include/grass/iostream/ami_sort_impl.h:91: size_t
 makeRun_Block(AMI_STREAM<T>*, T*, unsigned int, Compare*) [with T =
 plateauType, Compare = ijCmpPlateauType]: Assertion `err ==
 AMI_ERROR_NO_ERROR || err == AMI_ERROR_END_OF_STREAM' failed.
 Aborted
 }}}

 I have over 60GB of disk space in /home (and I get the same error running
 it with the default /var/tmp). This is using Debian Lenny. The same error
 has been reported by a student running Ubuntu Intrepid.

 Moritz

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/775>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list