Opened 8 years ago
Closed 7 years ago
#3344 closed defect (fixed)
r.stream.slope Segmentation fault: 11 error
Reported by: | msweier | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.4.1 |
Component: | Addons | Version: | 7.0.4 |
Keywords: | r.stream, segmentation fault | Cc: | |
CPU: | Unspecified | Platform: | All |
Description
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?
Change History (7)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Replying to 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.
comment:3 by , 8 years ago
Milestone: | 7.2.1 → 7.2.2 |
---|
follow-up: 6 comment:5 by , 7 years ago
Milestone: | 7.2.3 → 7.4.1 |
---|---|
Platform: | MacOSX → All |
Summary: | r.stream.slope Segmentation fault: 11 error macOS 10.12.4 → r.stream.slope Segmentation fault: 11 error |
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...
comment:6 by , 7 years ago
Replying to 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=diffSpecifying any output gives segfault, specifying no output gives no error...
Please try r72216, i.e. reinstall r.stream.slope
comment:7 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Coll! Thanks! That was very fast! I am grateful!
Please provide exact command to replicate segfault. Ideally using NC dataset.