[R-SIG-Mac] strange segfault error in R from command-line on Mac laptop

Jeff Newmiller jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Wed Sep 29 20:40:06 CEST 2021

I cannot address your observed symptoms, but shouldn't you have already upgraded your R to the latest version before asking this?

On September 29, 2021 11:17:02 AM PDT, Jeffrey Rosenthal <jeff using math.toronto.edu> wrote:
>Hello.  I often use R from the command-line (i.e. just typing "R") 
>within the "Terminal" application on my MacBook Pro laptop.  And 
>sometimes I get a sudden strange error "*** caught segfault *** address 
>0x10, cause 'memory not mapped'" (after which R allows me to 
>abort/exit/etc, but not to continue).  It occurs when using the arrow or 
>delete keys (perhaps related to readline?).  After much testing, I have 
>found a very simple reproducible minimal example. Namely, if I start R 
>from the command line, and then type "plot(0)", and then type any 
>character (e.g. "a") and then the delete key, then it always triggers 
>this error.  Does this error occur for anyone else?  Any ideas how to 
>fix it?
>I know that this problem is quite specific to my Mac laptop set-up; it 
>does not occur on my iMac nor on my friend's Mac.  On the other hand, I 
>did try upgrading R and that did not fix it.  My sessionInfo() output 
>follows.  I am *not* saving R history, nor setting R_SAVEHIST, and I do 
>*not* have any .Rhistory or .Rapp.history file in my directory.  Thank 
>you very much for any suggestions!
>> sessionInfo()
>R version 4.0.2 (2020-06-22)
>Platform: x86_64-apple-darwin17.0 (64-bit)
>Running under: macOS Catalina 10.15.7
>Matrix products: default
>[1] en_CA.UTF-8/en_CA.UTF-8/en_CA.UTF-8/C/en_CA.UTF-8/en_CA.UTF-8
>attached base packages:
>[1] stats     graphics  grDevices utils     datasets  methods   base
>loaded via a namespace (and not attached):
>[1] compiler_4.0.2
>   Jeffrey S. Rosenthal
>   Professor of Statistics, University of Toronto
>   Web site: http://probability.ca/jeff/
>R-SIG-Mac mailing list
>R-SIG-Mac using r-project.org

Sent from my phone. Please excuse my brevity.

More information about the R-SIG-Mac mailing list