Opened 9 years ago
Closed 9 years ago
#2839 closed defect (fixed)
r.watershed: calculating stream power index crashes
Reported by: | hellik | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.0.4 |
Component: | Raster | Version: | svn-trunk |
Keywords: | r.watershed | Cc: | |
CPU: | x86-64 | Platform: | MSWindows 7 |
Description
tested with in the NC sample data set
System Info GRASS version: 7.1.svn GRASS SVN revision: 67403 Build date: 2015-12-29 Build platform: i386-w64-mingw32 GDAL: 1.11.3 PROJ.4: 4.9.2 GEOS: 3.5.0 SQLite: 3.7.17 Python: 2.7.4 wxPython: 2.8.12.1 Platform: Windows-7-6.1.7601-SP1 (OSGeo4W)
g.region -p -a raster=elevation@PERMANENT align=elevation@PERMANENT projection: 99 (Lambert Conformal Conic) zone: 0 datum: nad83 ellipsoid: a=6378137 es=0.006694380022900787 north: 228500 south: 215000 west: 630000 east: 645000 nsres: 10 ewres: 10 rows: 1350 cols: 1500 cells: 2025000
r.watershed elevation=elevation@PERMANENT spi=spi_w32bit SECTION 1a (of 4): Initiating Memory. SECTION 1b (of 4): Determining Offmap Flow. SECTION 2: A* Search. SECTION 3a: Accumulating Surface Flow with MFD. SECTION 3b: Adjusting drainage directions. WARNING: Unable to execute command WARNING: Subprocess failed with exit code -1073741819 WARNING: category information for [spi_w32bit] in [spitest] missing or invalid
will test it also with set=DEBUG=3 and winGRASS7trunk 64bit
Change History (5)
follow-up: 2 comment:1 by , 9 years ago
follow-up: 3 comment:2 by , 9 years ago
Replying to hellik:
also tested with winGRASS 64bit
r.watershed also crashes here.
some further test with -m flag:
GRASS version: 7.1.svn GRASS SVN revision: 67403 Build date: 2015-12-29 Build platform: x86_64-w64-mingw32
r.watershed -m elevation=elevation@PERMANENT spi=spi_32bit_flagm SECTION 1 beginning: Initiating Variables. 4 sections total. SECTION 1a: Mark masked and NULL cells SECTION 1b: Determining Offmap Flow. SECTION 2: A* Search. SECTION 3a: Accumulating Surface Flow with MFD. SECTION 3b: Adjusting drainage directions. SECTION 4: Closing Maps. Closing SPI map (Wed Dec 30 11:10:31 2015) Command finished (1 min 17 sec)
GRASS version: 7.1.svn GRASS SVN revision: 67403 Build date: 2015-12-29 Build platform: x86_64-w64-mingw32
r.watershed -m elevation=elevation@PERMANENT spi=spi_64bit_flagm SECTION 1 beginning: Initiating Variables. 4 sections total. SECTION 1a: Mark masked and NULL cells SECTION 1b: Determining Offmap Flow. SECTION 2: A* Search. SECTION 3a: Accumulating Surface Flow with MFD. SECTION 3b: Adjusting drainage directions. SECTION 4: Closing Maps. Closing SPI map (Wed Dec 30 11:12:25 2015) Command finished (9 sec)
it seems stream power index calculation in r.watershed works with -m flag (Enable disk swap memory option) in both 32bit and 64bit winGRASS7trunk, but not in normal mode.
follow-up: 4 comment:3 by , 9 years ago
Replying to hellik:
Replying to hellik:
also tested with winGRASS 64bit
r.watershed also crashes here.
it seems stream power index calculation in r.watershed works with -m flag (Enable disk swap memory option) in both 32bit and 64bit winGRASS7trunk, but not in normal mode.
Stupid segfault, should be fixed in r67919.
comment:4 by , 9 years ago
Replying to mmetz:
Replying to hellik:
Replying to hellik:
also tested with winGRASS 64bit
r.watershed also crashes here.
it seems stream power index calculation in r.watershed works with -m flag (Enable disk swap memory option) in both 32bit and 64bit winGRASS7trunk, but not in normal mode.
Stupid segfault, should be fixed in r67919.
tested with
GRASS version: 7.1.svn GRASS SVN revision: 68008 Build date: 2016-03-08 Build platform: x86_64-w64-mingw32 GDAL: 2.0.2 PROJ.4: 4.9.2 GEOS: 3.5.0 SQLite: 3.7.17 Python: 2.7.5 wxPython: 2.8.12.1 Platform: Windows-7-6.1.7601-SP1 (OSGeo4W)
r.watershed elevation=elevation@PERMANENT spi=streampower SECTION 1a (of 4): Initiating Memory. SECTION 1b (of 4): Determining Offmap Flow. SECTION 2: A* Search. SECTION 3a: Accumulating Surface Flow with MFD. SECTION 3b: Adjusting drainage directions. SECTION 4: Closing Maps. (Tue Mar 08 10:38:52 2016) Command finished (4 sec) (Tue Mar 08 10:39:49 2016) r.watershed -m elevation=elevation@PERMANENT spi=streampowerms SECTION 1 beginning: Initiating Variables. 4 sections total. SECTION 1a: Mark masked and NULL cells SECTION 1b: Determining Offmap Flow. SECTION 2: A* Search. SECTION 3a: Accumulating Surface Flow with MFD. SECTION 3b: Adjusting drainage directions. SECTION 4: Closing Maps. Closing SPI map (Tue Mar 08 10:40:03 2016) Command finished (13 sec)
bug fixed, closing ticket.
comment:5 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to hellik:
also tested with winGRASS 64bit
r.watershed also crashes here.