GDAL
December 29, 2015, 7:34pm
1
#2839: r.watershed: calculating stream power index crashes
-------------------------+-------------------------
Reporter: hellik | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.4
Component: Raster | Version: svn-trunk
Keywords: r.watershed | CPU: x86-64
Platform: MSWindows 7 |
-------------------------+-------------------------
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
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2839> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
December 29, 2015, 8:06pm
2
#2839: r.watershed: calculating stream power index crashes
---------------------+-------------------------
Reporter: hellik | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.4
Component: Raster | Version: svn-trunk
Resolution: | Keywords: r.watershed
CPU: x86-64 | Platform: MSWindows 7
---------------------+-------------------------
Comment (by hellik):
Replying to [ticket:2839 hellik]:
> 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)
> }}}
>
also tested with winGRASS 64bit
{{{
GRASS version: 7.1.svn
GRASS SVN revision: 67403
Build date: 2015-12-29
Build platform: x86_64-w64-mingw32
GDAL: 1.11.3
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 --verbose elevation=elevation@PERMANENT spi=spi_64bit
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_64bit] in [landsat] missing or
invalid
}}}
r.watershed also crashes here.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2839#comment:1> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
December 30, 2015, 10:17am
3
#2839: r.watershed: calculating stream power index crashes
---------------------+-------------------------
Reporter: hellik | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.4
Component: Raster | Version: svn-trunk
Resolution: | Keywords: r.watershed
CPU: x86-64 | Platform: MSWindows 7
---------------------+-------------------------
Comment (by hellik):
Replying to [comment:1 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.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2839#comment:2> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
February 22, 2016, 9:50am
4
#2839: r.watershed: calculating stream power index crashes
---------------------+-------------------------
Reporter: hellik | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.4
Component: Raster | Version: svn-trunk
Resolution: | Keywords: r.watershed
CPU: x86-64 | Platform: MSWindows 7
---------------------+-------------------------
Comment (by mmetz):
Replying to [comment:2 hellik]:
> Replying to [comment:1 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.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2839#comment:3> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
March 8, 2016, 9:43am
5
#2839: r.watershed: calculating stream power index crashes
---------------------+-------------------------
Reporter: hellik | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.4
Component: Raster | Version: svn-trunk
Resolution: | Keywords: r.watershed
CPU: x86-64 | Platform: MSWindows 7
---------------------+-------------------------
Comment (by hellik):
Replying to [comment:3 mmetz]:
> Replying to [comment:2 hellik]:
> > Replying to [comment:1 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.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2839#comment:4> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
March 8, 2016, 9:43am
6
#2839: r.watershed: calculating stream power index crashes
---------------------+-------------------------
Reporter: hellik | Owner: grass-dev@…
Type: defect | Status: closed
Priority: normal | Milestone: 7.0.4
Component: Raster | Version: svn-trunk
Resolution: fixed | Keywords: r.watershed
CPU: x86-64 | Platform: MSWindows 7
---------------------+-------------------------
Changes (by hellik):
* status: new => closed
* resolution: => fixed
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2839#comment:5> ;
GRASS GIS <https://grass.osgeo.org >