[R] Attempt to access unmapped memory

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Aug 14 21:40:22 CEST 2006


On Mon, 14 Aug 2006, Alexandre Aguiar wrote:

> Hi,
> 
> I am usiing R 2.3.1 under Linux kernel 2.6.11 with 
> libreadline/libhistory 5.1.

That is known to be buggy.  Either patch it or downdate to 5.0.

> Bothe R and readline were compiled without quircks with gcc 3.3.3 and g77.
> 
> Every time I try to edit command line by using del key the following error 
> happens:
> 
> ------------8><--------------
> > ipacks <- instaleld.packages()
>  *** caught segfault ***
> address (nil), cause 'memory not mapped'
> 
> Possible actions:
> 1: abort (with core dump)
> 2: normal R exit
> 3: exit R without saving workspace
> 4: exit R saving workspace
> Selection: Segmentation fault
> ------------8><--------------
> 
> As I have readline 4.3 installed too, I adjusted the symlinks to point to 5.1. 
> No problem with bash. This setup works fine in another machine with same OS 
> and versions.
> 
> Any clues?
> 
> Thanks in advance.
> 
> 
> 

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list