[GRASS-dev] segfault on 'r.stream.extract' - debian armh
Glynn Clements
glynn at gclements.plus.com
Fri Dec 6 16:24:12 PST 2013
epi wrote:
> googling �
>
> is it possible that in :
>
> http://svn.osgeo.org/grass/grass/trunk/raster/r.stream.extract/
>
> there may be some assembly code that gets executed which won't work under armhf ?
GRASS doesn't use assembly. And the SIGILL is reported as occurring in
libcrypto, not in the GRASS code.
The libcrypto dependency typically exists because GDAL links to libpq
(PostgreSQL client library) which uses libcrypto for certain
authentication methods.
libcrypto probably isn't even being used in this situation, so I
suspect that a bug is causing either a function pointer or a return
address to be corrupted, resulting in a jump to a random memory
location which just happens to be inside libcrypto.
As r.stream.extract is relatively new, it's possible that it hasn't
seen significant testing on platforms other than x86 and x86-64. Apart
from anything else, alignment bugs won't show up on those platforms
(x86 supports unaligned access, ARM doesn't AFAIK).
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list