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