[GRASS-dev] Re: [GRASS GIS] #1006: r.terraflow fails to create temp file on Windows when launched from wxgui

GRASS GIS trac at osgeo.org
Fri Mar 26 22:50:55 EDT 2010


#1006: r.terraflow fails to create temp file on Windows when launched from wxgui
------------------------------+---------------------------------------------
  Reporter:  marisn           |       Owner:  grass-dev at lists.osgeo.org 
      Type:  defect           |      Status:  new                       
  Priority:  major            |   Milestone:  6.4.0                     
 Component:  Raster           |     Version:  svn-releasebranch64       
Resolution:                   |    Keywords:  wxgui, wingrass, terraflow
  Platform:  MSWindows Vista  |         Cpu:  x86-32                    
------------------------------+---------------------------------------------
Comment (by hellik):

 Replying to [comment:12 hamish]:
 > [...]
 > more debug messages now turned on in that r41548 (6.5svn) ...

 r41567, self compiled in the osgeo4w/

 {{{
 g.gisenv set=DEBUG=3
 }}}

 {{{
 r.terraflow --verbose elevation=elevation at PERMANENT filled=elevflood
 direction=elevdir swatershed=elevsinkwater accumulation=elevflowacc
 tci=elevtci memory=900
 D2/3: G__read_Cell_head
 D2/3: G__read_Cell_head_array
 D3/3: region item: proj:       99
 D3/3: region item: zone:       0
 D3/3: region item: north:      228500
 D3/3: region item: south:      215000
 D3/3: region item: east:       645000
 D3/3: region item: west:       630000
 D3/3: region item: cols:       1500
 D3/3: region item: rows:       1350
 D3/3: region item: e-w resol:  10
 D3/3: region item: n-s resol:  10
 D3/3: region item: top:        1
 D3/3: region item: bottom:     0
 D3/3: region item: cols3:      1500
 D3/3: region item: rows3:      1350
 D3/3: region item: depths:     1
 D3/3: region item: e-w resol3: 10
 D3/3: region item: n-s resol3: 10
 D3/3: region item: t-b resol:  1
 D2/3: G__read_Cell_head
 D2/3: G__read_Cell_head_array
 D3/3: region item: proj:       99
 D3/3: region item: zone:       0
 D3/3: region item: north:      228500
 D3/3: region item: south:      215000
 D3/3: region item: east:       645000
 D3/3: region item: west:       630000
 D3/3: region item: cols:       1500
 D3/3: region item: rows:       1350
 D3/3: region item: e-w resol:  10
 D3/3: region item: n-s resol:  10
 D3/3: region item: format:     -1
 D3/3: region item: compressed: 1
 cell elevation header compatible with region header
 Elevation stored as FLOAT (4B)
 Region size is 1350 x 1500
 STREAM temporary files in
 C:/Users/syringia/AppData/Local/Temp  (THESE INTERMEDIATE
 STREAMS WILL NOT BE DELETED IN CASE OF ABNORMAL TERMINATION
 OF THE PROGRAM. TO SAVE SPACE PLEASE DELETE THESE FILES
 MANUALLY!)
 Reading data from <elevation> to stream
 <C:/Users/syringia/AppData/Local/Temp/STREAM_a07132>
 D2/3: G__read_Cell_head
 D2/3: G__read_Cell_head_array
 D3/3: region item: proj:       99
 D3/3: region item: zone:       0
 D3/3: region item: north:      228500
 D3/3: region item: south:      215000
 D3/3: region item: east:       645000
 D3/3: region item: west:       630000
 D3/3: region item: cols:       1500
 D3/3: region item: rows:       1350
 D3/3: region item: e-w resol:  10
 D3/3: region item: n-s resol:  10
 D3/3: region item: format:     -1
 D3/3: region item: compressed: 1
 D3/3: create window mapping (1500 columns)
 MFD flow direction
 D8CUT=999999986991104.000000
 Memory size: 900.00M (943718400) bytes
 Memory manager registering memory in MM_WARN_ON_MEMORY_EXCEEDED mode.
 C:/Users/syringia/AppData/Local/Temp/STREAM_a07132: length =
 17179869184   sizeof(T)=1
 D3/3: nrows=1350   ncols=1500    stream_len()=0
 C:/Users/syringia/AppData/Local/Temp/STREAM_a07132: length =
 17179869184   sizeof(T)=0
 Assertion failed: nrows * ncols == str->stream_len(), file
 grass2str.h, line 146
 This application has requested the Runtime to terminate it
 in an unusual way.
 Please contact the application's support team for more
 information.
 }}}

 {{{
 Free Memory=-1
 [0.0] Sat Mar 27 03:38:21 2010

 Command Line:
 r.terraflow --verbose elevation=elevation at PERMANENT filled=elevflood
 direction=elevdir swatershed=elevsinkwater accumulation=elevflowacc
 tci=elevtci memory=900
 input elevation grid: elevation
 output (flooded) elevations grid: elevflood
 output directions grid: elevdir
 output sinkwatershed grid: elevsinkwater
 output accumulation grid: elevflowacc
 output tci grid: elevtci
 [0.0] MFD flow direction
 [0.0] D8CUT=999999986991104.000000
 [0.0] Memory size: 900.00M (943718400) bytes
 region size = 1.93M (2025000) elts (1350 rows x 1500 cols)
 internal nodata value: -9999
 Reading raster map <elevation> to stream
 <C:/Users/syringia/AppData/Local/Temp/STREAM_a07132>.
 }}}


 {{{
 g.gisenv set=DEBUG=0
 }}}

 {{{
 r.terraflow --verbose elevation=elevation at PERMANENT filled=elevflood
 direction=elevdir swatershed=elevsinkwater accumulation=elevflowacc
 tci=elevtci memory=900
 MFD flow direction
 D8CUT=999999986991104.000000
 Memory size: 900.00M (943718400) bytes
 Memory manager registering memory in MM_WARN_ON_MEMORY_EXCEEDED mode.
 cell elevation header compatible with region header
 Elevation stored as FLOAT (4B)
 Region size is 1350 x 1500
 STREAM temporary files in
 C:/Users/syringia/AppData/Local/Temp  (THESE INTERMEDIATE
 STREAMS WILL NOT BE DELETED IN CASE OF ABNORMAL TERMINATION
 OF THE PROGRAM. TO SAVE SPACE PLEASE DELETE THESE FILES
 MANUALLY!)
 Reading data from <elevation> to stream
 <C:/Users/syringia/AppData/Local/Temp/STREAM_a01828>
 C:/Users/syringia/AppData/Local/Temp/STREAM_a01828: length =
 17179869184   sizeof(T)=1
 C:/Users/syringia/AppData/Local/Temp/STREAM_a01828: length =
 17179869184   sizeof(T)=1
 Assertion failed: nrows * ncols == str->stream_len(), file
 grass2str.h, line 146
 This application has requested the Runtime to terminate it
 in an unusual way.
 Please contact the application's support team for more
 information.
 }}}


 {{{
 Free Memory=-1
 [0.0] Sat Mar 27 03:40:39 2010

 Command Line:
 r.terraflow --verbose elevation=elevation at PERMANENT filled=elevflood
 direction=elevdir swatershed=elevsinkwater accumulation=elevflowacc
 tci=elevtci memory=900
 input elevation grid: elevation
 output (flooded) elevations grid: elevflood
 output directions grid: elevdir
 output sinkwatershed grid: elevsinkwater
 output accumulation grid: elevflowacc
 output tci grid: elevtci
 [0.0] MFD flow direction
 [0.0] D8CUT=999999986991104.000000
 [0.0] Memory size: 900.00M (943718400) bytes
 region size = 1.93M (2025000) elts (1350 rows x 1500 cols)
 internal nodata value: -9999
 Reading raster map <elevation> to stream
 <C:/Users/syringia/AppData/Local/Temp/STREAM_a01828>.
 }}}

 best regards
 Helmut

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


More information about the grass-dev mailing list