From Kreft@Cardiff.ac.uk  Tue Jul 11 15:06:26 2000
From: Kreft@Cardiff.ac.uk (Jan Kreft)
Date: Tue, 11 Jul 2000 15:06:26 +0100 (BST)
Subject: [Rd] Help: R seg faults
Message-ID: <Pine.OSF.4.10.10007111505440.9847-100000@thor>

Dear list,

I hope this is the right forum to ask. I have just downloaded and compiled
R, but I get a segfault after I start R.

make, make test/check, went OK.

My system is
linux-2.2.13
glibc-2.1.3
gcc 2.95.2
R-1.1.0

Here is a backtrace from gdb:

(gdb) file /usr/local/lib/R/bin/R.bin
Reading symbols from /usr/local/lib/R/bin/R.bin...done.
(gdb) run
Starting program: /usr/local/lib/R/bin/R.bin 

R : Copyright 2000, The R Development Core Team
Version 1.1.0  (June 15, 2000)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type    "?license" or "?licence" for distribution details.

R is a collaborative project with many contributors.
Type    "?contributors" for a list.

Type    "demo()" for some demos, "help()" for on-line help, or
        "help.start()" for a HTML browser interface to help.
Type    "q()" to quit R.


Program received signal SIGSEGV, Segmentation fault.
0x400da7bc in _IO_fflush (fp=0x819ecd8) at iofflush.c:41
41            result = _IO_SYNC (fp) ? EOF : 0;
(gdb) bt
#0  0x400da7bc in _IO_fflush (fp=0x819ecd8) at iofflush.c:41
#1  0x8122165 in rl_prep_terminal (meta_flag=0) at rltty.c:555
#2  0x811cb08 in _rl_callback_newline () at callback.c:76
#3  0x811cb4a in rl_callback_handler_install (prompt=0x4093c210 "> ", linefunc=0x80e8798 <readline_handler>) at callback.c:95
#4  0x80e89b5 in Rstd_ReadConsole (prompt=0x4093c210 "> ", buf=0xbfffeedc "", len=1024, addtohistory=1) at ../../../R-1.1.0/src/unix/sys-std.c:357
#5  0x80e6b2e in R_ReadConsole (prompt=0x4093c210 "> ", buf=0xbfffeedc "", len=1024, addtohistory=1) at ../../../R-1.1.0/src/unix/system.c:66
#6  0x8097d78 in R_ReplConsole (rho=0x40296338, savestack=0, browselevel=0) at ../../../R-1.1.0/src/main/main.c:128
#7  0x80985e2 in run_Rmainloop () at ../../../R-1.1.0/src/main/main.c:454
#8  0x8098620 in Rf_mainloop () at ../../../R-1.1.0/src/main/main.c:468
#9  0x80e715a in main (ac=0, av=0xbffff7f4) at ../../../R-1.1.0/src/unix/system.c:222

Cheers, Jan.

Jan Kreft                               Phone  +44 (0)29 20875278
Cardiff School of Biosciences           Fax    +44 (0)29 20874305
Cardiff	University                      E-mail Kreft@cardiff.ac.uk
PO Box 915, Cardiff CF10 3TL, UK


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Help: R seg faults
Jan Kreft