From robert_dodier at yahoo.com  Mon Apr 14 05:56:03 2003
From: robert_dodier at yahoo.com (robert_dodier@yahoo.com)
Date: Mon Apr 14 08:56:00 2003
Subject: [Rd] ctl-D, cancel, ctl-D yields seg fault (PR#2773)
Message-ID: <200304140256.h3E2u3pD022236@pubhealth.ku.dk>

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


[Rd] ctl-D, cancel, ctl-D yields seg fault (PR#2773)
robert_dodier@yahoo.com