Skip to content
Prev 11524 / 398502 Next

failure in make check

Don MacQueen <macq at llnl.gov> writes:
...
Yes. The purpose of that check is to try a whole lot of illegal
commands in a systematic fashion (e.g. log(list()) ), so you're
supposed to get a whole lot of Errors, but no segfault.
.....
Unfortunately, a fatal error will often crash R before writing the
very last bit of output. The way to figure it out would be to go to
the tests directory and run 

../bin/R --vanilla < no-segfault.R

i.e. just what the makefile does but omitting the output file so that
output goes unbuffered to the screen. To debug further, use

../bin/R -d gdb

and inside gdb, exec

run --vanilla < no-segfault.R

(although it might be better first to see whether the offending
command also crashes R when executed by itself and then use that for
debugging)
Not sure that would be of much use...