Hello
Perhaps the rate error model has created some issues. I have spoken in class earlier how to use gdb. Just follow the instructions that the error provides here.
./waf --run filename --command-template="gdb %s"
Once the gdb console is up,
do a plain run by executing
(gdb) r
Once it encounters the seg fault, check the stack by
(gdb) where
It will indicate the last known position of the control and from there you will have to back trace and locate the point of error.