Skip to content
Prev 8898 / 398502 Next

R installation problems...

Peter Dalgaard BSA wrote:
$ /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 "", 
      len=1024, addtohistory=1) at sys-std.c:369
  #5  0x80e9c14 in R_ReadConsole (prompt=0x81e3c00 "> ", buf=0xbfffec90 "", len=1024, 
      addtohistory=1) at system.c:61
  #6  0x80990b1 in R_ReplConsole (rho=0x81e5a6c, savestack=0, browselevel=0)
      at main.c:135
  #7  0x80998e1 in run_Rmainloop () at main.c:491
  #8  0x8099914 in Rf_mainloop () at main.c:505
  #9  0x80e9cd6 in main (ac=3, av=0xbffff164) at system.c:88
  #10 0x400cdbfc in __libc_start_main (main=0x80e9cc0 <main>, argc=3, 
      ubp_av=0xbffff164, init=0x8056568 <_init>, fini=0x8125c6c <_fini>, 
      rtld_fini=0x4000d674 <_dl_fini>, stack_end=0xbffff15c)
      at ../sysdeps/generic/libc-start.c:118
  (gdb) quit


With R-1.2.0 (release) I get exactly the same messages.
Everything is owned by root, and I'm running R as root, so this should
not be the case.

Greets + many thanks for your help.

  Diego Kuonen