[GRASS-dev] help porting GRASS-RaPlaT to GRASS7

Glynn Clements glynn at gclements.plus.com
Fri Nov 4 04:56:07 EDT 2011


Dylan Beaudette wrote:

> however my futile attempt has resulted in a segfault. The tail end
> of which looks like:

> Any tips?

Compile with debug info and without optimisation:

	make clean
	make CFLAGS=-g &> build.log

Pay attention to any warnings which are generated.

Run the program under gdb; when it segfaults, you can view the call
stack with "bt" (or "bt full" to see arguments). The top-most entry
will be the source line where the segfault occurred.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list