<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;"><div>Hi Maris,</div><div><br></div><div>this is the bt :</div><div><br></div><div><div><br></div><div>(gdb) exec-file r.stream.extract elevation=elevation50m@PERMANENT accumulation=accum threshold=40 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 </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>0x2c99fe68 in ?? () from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0</div><div>(gdb) bt</div><div>#0  0x2c99fe68 in ?? () from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0</div><div>Cannot access memory at address 0x0</div><div>#1  0x2c99db2c in OPENSSL_cpuid_setup ()</div><div>   from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0</div><div>#2  0x2aab60d6 in call_init (env=0x7efff35c, argv=0x7efff354, argc=1, </div><div>    l=<optimized out>) at dl-init.c:84</div><div>#3  call_init (l=<optimized out>, argc=1, argv=0x7efff354, env=0x7efff35c)</div><div>    at dl-init.c:34</div><div>#4  0x2aab6158 in _dl_init (main_map=0x2aaca958, argc=1, argv=0x7efff354, </div><div>    env=0x7efff35c) at dl-init.c:133</div><div>#5  0x2aaabc62 in _dl_start_user () from /lib/ld-linux-armhf.so.3</div><div>#6  0x2aaabc62 in _dl_start_user () from /lib/ld-linux-armhf.so.3</div><div>Backtrace stopped: previous frame identical to this frame (corrupt stack?)</div><div>(gdb) </div></div><div><br></div><div><br></div><div><br></div><div>rebuilding with :  </div><div><br></div><div><div style="margin: 0px; font-family: 'Lucida Grande';">gcc  -g -Wall -O0</div></div><div style="margin: 0px; font-family: 'Lucida Grande';"><br></div><div style="margin: 0px; font-family: 'Lucida Grande';">gave me no worning  in r.stream.extract</div><div style="margin: 0px; font-family: 'Lucida Grande';"><br></div><div style="margin: 0px; font-family: 'Lucida Grande';"><br></div><div style="margin: 0px; font-family: 'Lucida Grande';"><br></div><div><div>On Dec 6, 2013, at 6:36 PM, Maris Nartiss <<a href="mailto:maris.gis@gmail.com">maris.gis@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Any warnings during compilation?<br>Try to compile with -g and -O0 to get slow but debugging-friendly version.<br><br>When program gets stopped by SIGILL in gdb, issue "bt" command to get backtrace.<br><br>No help form me, but more info never hurts ;)<br><br>Maris.<br><br><br>2013/12/6 epi <<a href="mailto:massimodisasha@gmail.com">massimodisasha@gmail.com</a>>:<br><blockquote type="cite">Hi !<br><br>this the output of gdb :<br><br>Starting program: /home/epi/Envs/env1/grass-7.0.svn/bin/r.stream.extract<br>.stream.extract elevation=elevation50m@PERMANENT accumulation=accum<br>threshold=40 stream_rast=stream_network stream_vect=streams --o<br>[Thread debugging using libthread_db enabled]<br>Using host libthread_db library<br>"/lib/arm-linux-gnueabihf/libthread_db.so.1".<br><br>Program received signal SIGILL, Illegal instruction.<br>0x2c966e68 in ?? () from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0<br>(gdb)<br><br><br>Thanks for your help!<br><br><br>Massimo.<br><br><br>On Dec 6, 2013, at 4:16 PM, Rashad M <<a href="mailto:mohammedrashadkm@gmail.com">mohammedrashadkm@gmail.com</a>> wrote:<br><br>Hello Massimo,<br><br>A gdb output could be more helpful for a segfault<br><br><br>On Fri, Dec 6, 2013 at 7:06 PM, epi <<a href="mailto:massimodisasha@gmail.com">massimodisasha@gmail.com</a>> wrote:<br><blockquote type="cite"><br>Hi,<br><br>i’m trying to run  “r.stream.extract” on a little linux machine, i got got<br>grass up and running on a small quad-core Arm 1gb ram<br>OS :  Debian SID ArmHF.<br><br>the command i’m using is :<br><br>r.stream.extract elevation=elevation@PERMANENT accumulation=accum<br>threshold=40 stream_rast=stream_network stream_vect=streams --o --q<br><br>location :  nc_spm_08_grass7/PERMANENT/<br><br><br>i set the debug level to 5, this the segfault log :<br><br><a href="https://gist.github.com/epifanio/7829206">https://gist.github.com/epifanio/7829206</a><br><br>if helpful, this is the log of make clean and make :<br><br>https://gist.github.com/epifanio/7829256<br><br>On other platform (same grass and r.stream.extract version it wks just<br>fine)<br>Have you any idea on what’s wrong ?<br><br>Thanks,<br><br>Massimo.<br><br>_______________________________________________<br>grass-dev mailing list<br>grass-dev@lists.osgeo.org<br>http://lists.osgeo.org/mailman/listinfo/grass-dev<br></blockquote><br><br><br><br>--<br>Regards,<br>   Rashad<br><br><br><br>_______________________________________________<br>grass-dev mailing list<br><a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/grass-dev<br></blockquote></blockquote></div><br></body></html>