#3344: r.stream.slope Segmentation fault: 11 error macOS 10.12.4
------------------------------------------+-------------------------
Reporter: msweier | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.2.1
Component: Addons | Version: 7.0.4
Keywords: r.stream, segmentation fault | CPU: Unspecified
Platform: MacOSX |
------------------------------------------+-------------------------
I'm getting a "Segmentation fault: 11" error when trying to run
r.stream.slope in Grass 7.0.4 built via homebrew on macOS 10.12.4.
r.stream.slope was installed using g.extension via the command line and
seems to work fine on grass 7.2.0 in my Windows 7 virtual machine. Other
r.stream addons seem to be working fine. Can someone confirm this still
exists in 7.2 on a mac?
Replying to [ticket:3344 msweier]:
> I'm getting a "Segmentation fault: 11" error when trying to run
r.stream.slope in Grass 7.0.4 built via homebrew on macOS 10.12.4.
r.stream.slope was installed using g.extension [...]
Please update r.stream.slope for your GRASS 7.0.4 installation and test
again. Preferably, update to GRASS 7.2 and install all needed addons anew.
Replying to [comment:5 sbl]:
> Same here on Ubuntu (both 14.04 and 16.04) with fresh GRASS 7.4 (r72099)
and a bit older 7.2 (r70326).
>
> Here is an example with North Carolina data:
>
> {{{
> g.extension extension=r.stream.slope operation=add
> g.region raster=elev_state_500m -p
> r.stream.extract elevation=elev_state_500m threshold=100
stream_length=10 stream_raster=stream direction=dir
> r.stream.slope elevation=elev_state_500m direction=dir gradient=grad
difference=diff
> }}}
>
> Specifying any output gives segfault, specifying no output gives no
error...