[GRASS-dev] Segmentation fault with r.cost in grass7.0

Markus Metz markus.metz.giswork at googlemail.com
Wed Jan 20 11:07:34 EST 2010


Fixed in r40584, I hope.


Pietro Zambelli wrote:
> Hi all!
> I'm Pietro and this is my first message here! So be patient if my information is 
> lacking in something. 
>
> I try to run r.cost on grass70 from svn but I have this output message:
>
> GRASS GIS 7.0 svn:40557-40571
> ===================
> $ r.cost -k input=dtm_dist at trentino output=provarcost70 
> start_rast=viafor at trentino
> --------------------------------------------
> Will need at least 0.00 MB of disk space
> Will need at least 0.00 MB of memory
> --------------------------------------------
> WARNING: segment_setup: illegal segment file parameters
> Reading raster map <dtm_dist at trentino>, initializing output...
> Segmentation fault
>
>
> Grass6.4 work fine! And I get this:
>
> GRASS GIS 6.4.0RC5
> ====================
> $ r.cost -k input=dtm_dist at trentino output=provarcost 
> start_rast=viafor at trentino
> Reading raster map <dtm_dist at trentino>...
>  100%
> Initializing output...
>  100%
> Reading raster map <viafor>...
>  100%
> Finding cost path...
>  100%
> No data
> Writing raster map <provarcost>...
>  100%
> r.cost complete. Peak cost value: 132.490
>
>
> More Details about my system:
> ===============================
>
> OS: Linux
>
> Distribution: Archlinux
>
> kernel: 2.6.32-ARCH
>
> gcc: 4.4.2 20091208 (prerelease) (GCC)
> Using built-in specs.
> Target: x86_64-unknown-linux-gnu
> Configured with: ../configure --prefix=/usr --enable-shared --enable-
> languages=c,c++,fortran,objc,obj-c++,ada --enable-threads=posix --
> mandir=/usr/share/man --infodir=/usr/share/info --enable-__cxa_atexit --disable-
> multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu --disable-
> libstdcxx-pch --with-tune=generic
> Thread model: posix
>
> Architecture compile flags:
> CARCH="x86_64"                                                           
> CHOST="x86_64-unknown-linux-gnu"  
> CFLAGS="-march=core2 -O2 -pipe"                                              
> CXXFLAGS="-march=core2 -02 -pipe"
> MAKEFLAGS="-j3"
>
> Compile grass with:
> ./configure --prefix=/opt --with-gdal="/usr/bin/gdal-config" --with-sqlite --
> with-python --with-wxwidgets="/usr/bin/wx-config" --with-blas --with-lapack --
> with-postgres --with-proj-libs="/usr/lib" --with-proj-includes="/usr/include" --
> with-proj-share="/usr/share/proj" --with-fftw --with-fftw-
> includes="/usr/include" --with-fftw-libs="/usr/lib" --with-freetype=yes --with-
> freetype-includes="/usr/include/freetype2/" --with-pthread
>
>
> Any hint?
>
> Pietro
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
>   


More information about the grass-dev mailing list