[GRASS-user] v.mkgrid - segmentation fault
Moritz Lennert
mlennert at club.worldonline.be
Wed Nov 12 10:36:15 EST 2008
On 12/11/08 15:37, Paolo Craveri wrote:
> Hi all
>
> Strange behaviour!
>
> If I compile (configure) grass with this:
> CFLAGS="-O2 -march=pentium-m -Wall" LDFLAGS="-s" ./configure ...
>
> I get "segmentation fault" message:
> v.mkgrid map=pp grid=12,12 position=region --o
> Segmentation fault
>
> No error if I compile (configure) with this:
> CFLAGS="-ggdb -Wall -Werror-implicit-function-declaration" ./configure ....
There have been issues with seg faults that only appear when code is
compiled with optimization. See for example:
http://trac.osgeo.org/grass/ticket/50
Not easy to debug apparently...
Please post a bug report on the tracker.
Moritz
More information about the grass-user
mailing list