Full_Name: Poor Yorick
Version: R-2.6.1
OS: 2.4.21-50.ELhugemem #1 SMP Tue May 8 17:10:31 EDT 2007 i686 i686 i386
GNU/Linux
Submission from: (NULL) (148.168.40.4)
After compiling R-2.6.1 with gcc-4.2.1 pressing the 'delete' key three times in
an interactive session causes R to malfunction, spitting out an infinite stream
of errors. I have also replicated the issue in R-2.5.1:
R version 2.6.1 (2007-11-26)
Copyright (C) 2007 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> (HERE I PRESS DELETE KEY 3 TIMES)
*** caught segfault ***
address (nil), cause 'memory not mapped'
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Selection:
*** caught segfault ***
address (nil), cause 'memory not mapped'
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Selection:
*** caught segfault ***
address (nil), cause 'memory not mapped'
( SAME MESSAGE 32 more times )
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Error in structure(list(name = name, exit = NULL, handler = handler,
"tûë" =
`tûë`, :
Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'character'
In addition: There were 24 warnings (use warnings() to see them)
Error: value of 'SET_CXTAIL' must be a char or NULL, not a 'char'
Error: value of 'SET_CXTAIL' must be a char or NULL, not a 'char'
Error: value of 'SET_CXTAIL' must be a char or NULL, not a 'char'
Error: value of 'SET_CXTAIL' must be a char or NULL, not a 'char'
Error: value of 'SET_CXTAIL' must be a char or NULL, not a 'char'
Error: value of 'SET_CXTAIL' must be a char or NULL, not a 'char'
Error: value of 'SET_CXTAIL' must be a char or NULL, not a 'char'
Error: value of 'SET_CXTAIL' must be a char or NULL, not a 'char'
Error: value of 'SET_CXTAIL' must be a char or NULL, not a 'char'
(REPEATS INFINITELY)
Here is the xev record of a 'delete' key press in my terminal
KeyPress event, serial 20, synthetic NO, window 0xe1,
root 0x3e, subw 0x0, time 443263949, (167,-11), root:(213,54),
state 0x0, keycode 107 (keysym 0x, Delete), same_screen YES,
XLookupString gives 1 bytes: ""
KeyRelease event, serial 20, synthetic NO, window 0xe1,
root 0x3e, subw 0x0, time 443264060, (167,-11), root:(213,54),
state 0x0, keycode 107 (keysym 0x, Delete), same_screen YES,
XLookupString gives 1 bytes: ""
Here are the specs for the gcc that compiled R:
$ gcc -dumpspecs
*asm:
%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*}
*asm_debug:
%{gstabs*:--gstabs}%{!gstabs*:%{g*:--gdwarf2}}
*asm_final:
*asm_options:
%a %Y %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}
*invoke_as:
%{!S:-o %|.s |
as %(asm_options) %|.s %A }
*cpp:
%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}
*cpp_options:
%(cpp_unique_options) %1 %{m*} %{std*&ansi&trigraphs} %{W*&pedantic*}
%{w}
%{f*} %{g*:%{!g0:%{!fno-working-directory:-fworking-directory}}} %{O*} %{undef}
%{save-temps:-fpch-preprocess}
*cpp_debug_options:
%{d*}
*cpp_unique_options:
%{C|CC:%{!E:%eGCC does not support -C or -CC without -E}} %{!Q:-quiet}
%{nostdinc*} %{C} %{CC} %{v} %{I*&F*} %{P} %I %{MD:-MD %{!o:%b.d}%{o*:%.d%*}}
%{MMD:-MMD %{!o:%b.d}%{o*:%.d%*}} %{M} %{MM} %{MF*} %{MG} %{MP} %{MQ*} %{MT*}
%{!E:%{!M:%{!MM:%{MD|MMD:%{o*:-MQ %*} %{remap} %{g3:-dD} %{H} %C %{D*&U*&A*}
%{i*} %Z %i %{fmudflap:-D_MUDFLAP -include mf-runtime.h} %{fmudflapth:-D_MUDFLAP
-D_MUDFLAPTH -include mf-runtime.h} %{E|M|MM:%W{o*}}
*trad_capable_cpp:
cc1 -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp}
*cc1:
%(cc1_cpu) %{profile:-p}
*cc1_options:
%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are
incompatible}