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

robert_dodier at yahoo.com robert_dodier at yahoo.com
Mon Apr 14 05:56:03 MEST 2003


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 at yahoo.com



More information about the R-devel mailing list