<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">googling …<div><br></div><div>is it possible that in :</div><div><br></div><div><a href="http://svn.osgeo.org/grass/grass/trunk/raster/r.stream.extract/">http://svn.osgeo.org/grass/grass/trunk/raster/r.stream.extract/</a></div><div><br></div><div>there may be some assembly code that gets executed which won't work under armhf  ?</div><div><br></div><div>Massimo.</div><div><br></div><div><br></div><div><br><div><div>On Dec 6, 2013, at 4:37 PM, epi <<a href="mailto:massimodisasha@gmail.com">massimodisasha@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>i tried to add :</div><div>handle SIGILL nostop</div><div>to have more debug ..</div><div><br></div><div>i can’t understand the log :/</div><div><br></div><div><br></div><div>(gdb) handle SIGILL nostop</div><div>Signal        Stop<span class="Apple-tab-span" style="white-space:pre">      </span>Print<span class="Apple-tab-span" style="white-space:pre">       </span>Pass to program<span class="Apple-tab-span" style="white-space:pre">     </span>Description</div><div>SIGILL        No<span class="Apple-tab-span" style="white-space:pre">      </span>Yes<span class="Apple-tab-span" style="white-space:pre"> </span>Yes<span class="Apple-tab-span" style="white-space:pre">         </span>Illegal instruction</div><div>(gdb) </div><div><br></div><div><br></div><div><br></div><div><br></div><div>(gdb) exec-file r.stream.extract elevation=elevation@PERMANENT accumulation=accum threshold=20 stream_rast=stream_network stream_vect=streams --o</div><div>(gdb) r</div><div>Starting program: /home/epi/Envs/env1/grass-7.0.svn/bin/r.stream.extract .stream.extract elevation=elevation50m@PERMANENT accumulation=accum threshold=40 stream_rast=stream_network stream_vect=streams --o</div><div>[Thread debugging using libthread_db enabled]</div><div>Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".</div><div><br></div><div>Program received signal SIGILL, Illegal instruction.</div><div>D2/5: G_file_name(): path = /home/epi/Envs/grass7data/nc_spm_08_grass7/PERMANENT</div><div><br></div><div>Description:</div><div> Performs stream network extraction.</div><div><br></div><div>Keywords:</div><div> raster, hydrology, stream network</div><div><br></div><div>Usage:</div><div> r.stream.extract elevation=name [accumulation=name] [depression=name]</div><div>   threshold=value [d8cut=value] [mexp=value] [stream_length=value]</div><div>   [memory=value] [stream_rast=name] [stream_vect=name] [direction=name]</div><div>   [--overwrite] [--verbose] [--quiet]</div><div><br></div><div>Flags:</div><div> --o   Allow output files to overwrite existing files</div><div> --v   Verbose module output</div><div> --q   Quiet module output</div><div><br></div><div>Parameters:</div><div>      elevation   Name of input elevation raster map</div><div>   accumulation   Name of input accumulation raster map</div><div>                   Stream extraction will use provided accumulation instead of calculating it a new</div><div>     depression   Name of raster map with real depressions</div><div>                   Streams will not be routed out of real depressions</div><div>      threshold   Minimum flow accumulation for streams</div><div>                   Must be > 0</div><div>          d8cut   Use SFD above this threshold</div><div>                   If accumulation is larger than d8cut, SFD is used instead of MFD. Applies only if no accumulation map is given.</div><div>                  default: infinity</div><div>           mexp   Montgomery exponent for slope, disabled with 0</div><div>                   Montgomery: accumulation is multiplied with pow(slope,mexp) and then compared with threshold.</div><div>                  default: 0</div><div>  stream_length   Delete stream segments shorter than stream_length cells.</div><div>                   Applies only to first-order stream segments (springs/stream heads).</div><div>                  default: 0</div><div>         memory   Maximum memory to be used in MB</div><div>                  default: 300</div><div>    stream_rast   Name for output raster map with unique stream ids</div><div>    stream_vect   Name for output vector map with unique stream ids</div><div>      direction   Name for output raster map with flow direction</div><div><br></div><div>ERROR: Option <elevation> does not accept multiple answers</div><div>[Inferior 1 (process 7565) exited with code 01]</div><div>(gdb) </div><div><br></div><div><br></div><div><br></div><div><div>On Dec 6, 2013, at 4:32 PM, epi <<a href="mailto:massimodisasha@gmail.com">massimodisasha@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi !<div><br></div><div>this the output of gdb :</div><div><br></div><div><div>Starting program: /home/epi/Envs/env1/grass-7.0.svn/bin/r.stream.extract .stream.extract elevation=elevation50m@PERMANENT accumulation=accum threshold=40 stream_rast=stream_network stream_vect=streams --o</div><div>[Thread debugging using libthread_db enabled]</div><div>Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".</div><div><br></div><div>Program received signal SIGILL, Illegal instruction.</div><div>0x2c966e68 in ?? () from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0</div><div>(gdb) </div><div><br></div><div><br></div><div>Thanks for your help!</div><div><br></div><div><br></div><div>Massimo.</div><div><br></div><div><br></div><div><div><div>On Dec 6, 2013, at 4:16 PM, Rashad M <<a href="mailto:mohammedrashadkm@gmail.com">mohammedrashadkm@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hello Massimo,<div><br></div><div>A gdb output could be more helpful for a segfault</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 6, 2013 at 7:06 PM, epi <span dir="ltr"><<a href="mailto:massimodisasha@gmail.com" target="_blank">massimodisasha@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Hi,</div><div><br></div><div>i’m trying to run  “r.stream.extract” on a little linux machine, i got got grass up and running on a small quad-core Arm 1gb ram</div>

<div>OS :  Debian SID ArmHF.</div><div><br></div><div>the command i’m using is :</div><div><br></div><div>r.stream.extract elevation=elevation@PERMANENT accumulation=accum threshold=40 stream_rast=stream_network stream_vect=streams --o --q</div>

<div><br></div><div>location :  nc_spm_08_grass7/PERMANENT/</div><div><br></div><div><br></div><div>i set the debug level to 5, this the segfault log :</div><div><br></div><a href="https://gist.github.com/epifanio/7829206" target="_blank">https://gist.github.com/epifanio/7829206</a><div>

<br></div><div>if helpful, this is the log of make clean and make :</div><div><br></div><div><a href="https://gist.github.com/epifanio/7829256" target="_blank">https://gist.github.com/epifanio/7829256</a></div><div><br></div>

<div>On other platform (same grass and r.stream.extract version it wks just fine)</div><div>Have you any idea on what’s wrong ?</div><div><br></div><div>Thanks,</div><div><br></div><div>Massimo.</div></div><br>_______________________________________________<br>


grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><font face="arial, helvetica, sans-serif">Regards,<br>

   Rashad</font></div>
</div>
</blockquote></div><br></div></div></div></blockquote></div><br></div></blockquote></div><br></div></body></html>