[Rd] Update on "Shift-Return causes segfault (PR#3293)"

Graeme.Ambler at bristol.ac.uk Graeme.Ambler at bristol.ac.uk
Fri Jun 27 19:11:04 MEST 2003

Hi all,

I don't read this list, so if anyone wants to respond could they please copy 
me so that I see what is happening.

After several exchanges between myself, Marc Schwartz and Peter Dalgaard, we 
have come to the following conclusions:

a) Shift-Return does not cause a segfault on most terminals, only Kde's 

b) The bug is easily reproducable there.

c) The "real" bug is that the control sequence Meta-Shift-O followed by any 
character causes a segfault on every terminal type we have access to.

d) For some reason, Kde's Konsole interprets Shift-Return as "Meta-Shift-O 
Shift-M", which is the source of the original bug report.

e) The most helpful error message we can generate is:

Program received signal SIGSEGV, Segmentation fault.
0x400dd7fe in _rl_dispatch_subseq ()
   from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libreadline.so.4

implying that there is some strange interaction going on with readline, and 
that the bug may be in readline rather than R.

f) The bug does not seem to be present in R-1.6.2, though this is only my 
experience, not anyone elses.  Peter Dalgaard HAS reproduced the bug in 

I hope this is all clear.  If there is anything that is not, please get back 
to me and I will attempt to clarify what I meant!


More information about the R-devel mailing list