[GRASS-dev] [grass-code I][431] g.copy segmentation fault
Volker Wichmann
wichmann at laserdata.at
Thu Jul 26 03:47:30 EDT 2007
Glynn Clements wrote:
> The code was compiled with optimisation enabled (the default CFLAGS
> are '-g -O2'), so the object code doesn't directly correspond to the
> source code.
>
> It might help if you re-compile the general/manage directory without
> optimisation, e.g.:
>
> make -C general/manage clean
> make -C general/manage CFLAGS1='-g'
>
> That will certainly make it easier to debug; OTOH, it might simply
> make the bug disappear.
>
>
Crazy, that did the trick - no segmentation fault anymore!
Thanks a lot Glynn!!
As I know of several people that they have the same problem, I would
like to keep this solution for the record. Glynn, would you be so kind
to give me some more background why this can happen? Does this 'feature'
relate to specific CPUs, operating systems etc. ?
Volker
More information about the grass-dev
mailing list