Skip to content

ctl-D, cancel, ctl-D yields seg fault (PR#2773)

4 messages · Robert Dodier, Barry Rowlingson, Brian Ripley +1 more

#
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:
Save workspace image? [y/n/c]: c
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:
Save workspace image? [y/n/c]: c
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
#
robert_dodier@yahoo.com wrote:
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
#
On Mon, 14 Apr 2003 robert_dodier@yahoo.com wrote:

            
That's over two years old!
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.
#
robert_dodier@yahoo.com writes:
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).
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.