Peter Dalgaard BSA wrote:
This is perplexing! Could you please try "/path/to/R -d gdb" and
inside gdb do
run --verbose --vanilla
then at the point of the crash do a "bt" command and tell us what it
says.
$ /usr2/R-patched/bin/R -d gdb
GNU gdb 4.17
...
(gdb) run --verbose --vanilla
Starting program: /usr2/R-patched/bin/R.bin --verbose --vanilla
R : Copyright 2001, The R Development Core Team
Version 1.2.0 Patched (2001-01-09)
...
now dyn.load(/usr2/R-patched/library/ctest/libs/ctest.so)..
>R_ReplConsole(): before "for(;;)" {main.c}
Program received signal SIGSEGV, Segmentation fault.
0x4011e1d1 in _IO_fflush (fp=0x401cce60) at iofflush.c:41
iofflush.c:41: No such file or directory.
(gdb) bt
#0 0x4011e1d1 in _IO_fflush (fp=0x401cce60) at iofflush.c:41
#1 0x4004e738 in rl_prep_terminal ()
#2 0x4005835b in _rl_callback_newline ()
#3 0x400583c1 in rl_callback_handler_install ()
#4 0x80ec24e in Rstd_ReadConsole (prompt=0x81e3c00 "> ", buf=0xbfffec90 "",