The way to switch to double precision is to set:
REAL_PRECISION = double
in "src/Makefile.local" of your run directory.
Alternatively, I would strongly recommend to use "pc_build" for testing purposes. Then you can immediately choose to add all available debug option for compiling, like so:
pc_build -f GNU-GCC,GNU-GCC_debug
(using the GNU compilers)
This should allow you to find the offensive operation and generate a readable error message.
Thanks and best greetings,
Philippe.