robert_dodier@yahoo.com
2003-Apr-14 08:56 UTC
[Rd] ctl-D, cancel, ctl-D yields seg fault (PR#2773)
Full_Name: Robert Dodier Version: 1.2.0 (2000-12-15) OS: RH Linux 7.1 Submission from: (NULL) (128.138.88.127) If I start up R and just do:> <ctl-D>Save workspace image? [y/n/c]: c> <ctl-D>then R segfaults. "gdb `locate R.bin` core" reports: (gdb) where #0 0x080a2282 in Rf_mainloop () at eval.c:41 However, if I use q() then there is no segfault:> q()Save workspace image? [y/n/c]: c> q()Save workspace image? [y/n/c]: n and it exits without further ado. Also, <ctl-D> followed by 'y' or 'n' exits without segfault. I searched the bug archive but I didn't find this bug, so here it is. Regards, Robert Dodier robert_dodier@yahoo.com
Barry Rowlingson
2003-Apr-14 11:21 UTC
[Rd] ctl-D, cancel, ctl-D yields seg fault (PR#2773)
robert_dodier@yahoo.com wrote:> Full_Name: Robert Dodier > Version: 1.2.0 (2000-12-15) > OS: RH Linux 7.1 > Submission from: (NULL) (128.138.88.127) > > > If I start up R and just do: > > >><ctl-D> > > Save workspace image? [y/n/c]: c > >><ctl-D> > > > then R segfaults.Then dont do that. Its like the old joke: Man goes to doctor and waves his arm in a funny way and says "It hurts when I do that", and the doctor says "then dont do that". More seriously, I dont think bugs in version 1.2.0 are a priority - and even my ancient 1.6.0 doesn't crash like that. If it really bothers you, upgrade, since there are probably zillions of other more serious problems in 1.2.0 that will bite you. Baz
Prof Brian Ripley
2003-Apr-14 11:22 UTC
[Rd] ctl-D, cancel, ctl-D yields seg fault (PR#2773)
On Mon, 14 Apr 2003 robert_dodier@yahoo.com wrote:> Full_Name: Robert Dodier > Version: 1.2.0 (2000-12-15)That's over two years old!> OS: RH Linux 7.1 > Submission from: (NULL) (128.138.88.127) > > > If I start up R and just do: > > > <ctl-D> > Save workspace image? [y/n/c]: c > > <ctl-D> > > then R segfaults. > > "gdb `locate R.bin` core" reports: > (gdb) where > #0 0x080a2282 in Rf_mainloop () at eval.c:41 > > However, if I use q() then there is no segfault: > > q() > Save workspace image? [y/n/c]: c > > q() > Save workspace image? [y/n/c]: n > > and it exits without further ado. > > Also, <ctl-D> followed by 'y' or 'n' exits without segfault. > > I searched the bug archive but I didn't find this > bug, so here it is.It does not happen in current versions of R, at least on RedHat 8.0. Note that as you are (I presume) using readline, one would need to test on the (long superceded) RH7.1 to be sure. Please update your R and try again. -- Brian D. Ripley, ripley@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Peter Dalgaard BSA
2003-Apr-14 11:40 UTC
[Rd] ctl-D, cancel, ctl-D yields seg fault (PR#2773)
robert_dodier@yahoo.com writes:> Full_Name: Robert Dodier > Version: 1.2.0 (2000-12-15) > OS: RH Linux 7.1 > Submission from: (NULL) (128.138.88.127)I know we've been having mailing list delays, but this looks a bit extreme. R-1.2.0 is almost two and a half years old! It's not happening with 1.6.2 (although it is still possible to tease the system enough that you exit R with the terminal in noecho mode).> > If I start up R and just do: > > > <ctl-D> > Save workspace image? [y/n/c]: c > > <ctl-D> > > then R segfaults.> Also, <ctl-D> followed by 'y' or 'n' exits without segfault. > > I searched the bug archive but I didn't find this > bug, so here it is.Sometimes we do fix bugs without someone reporting them first... It should have been in the NEWS file though, but I can't find it there. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907