[R-SIG-Mac] R crash on Mac

David Winsemius dwinsemius at comcast.net
Fri Mar 6 13:59:07 CET 2009


I got a private message from Dr Azzalini this morning which I think  
was intended for the list

I have now been notified that my message below has not been delivered.
Try to send from another server. Hope this one works.

From: aa at manerin.stat.unipd.it (Adelchi Azzalini)
To: David Winsemius <dwinsemius at comcast.net>
Reply-To: azzalini at stat.unipd.it
Subject: Re: [R] R crash on Mac
Date: Fri, 27 Feb 2009 19:46:21 +0100

On Fri, Feb 27, 2009 at 11:59:54AM -0500, David Winsemius wrote:
> I cannot reproduce a crash from within the experimental 64 bit GUI in
> Leapard using any of that input.
>
> I am copying the R-SIG-Mac list which I think is the appropriate  
> venue.
>
> You say you are using OS X 10.5.6 but your R.version info says it is a
> Tiger 10.4.11.1 system. Looking at the CRAN package check page I see
> that the CRAN build is done on an OS X 10.4.10 machine, which is only
> off my one from the 8.11.1 designation, so maybe someone forgot to
> update that entry when they updated that machine.
>
> (Your version is even older than mine, so you might try updating.)
>

Thanks for the feedback and the suggestion. I have then downloaded
the most recent R version 2.8.1 from http://R.research.att.com/

R version 2.8.1 Patched (2009-02-26 r48012)
i386-apple-darwin8.11.1

but the problem with ask() is still there..

R>  ask('x')
x: c(1, 3,4)

*** caught segfault ***
address 0x4628d484, cause 'memory not mapped'

In one case, I got instead, withou crash

Error in parse(prompt = paste(message, ": ", sep = "")) :
  'getEncChar' must be called on a CHARSXP

Thanks again fro your advice.

Best wishes,

Adelchi Azzalini

-- 
Adelchi Azzalini  <azzalini at stat.unipd.it>
Dipart.Scienze Statistiche, Università di Padova, Italia
tel. +39 049 8274147,  http://azzalini.stat.unipd.it/



On Feb 27, 2009, at 11:07 AM, Adelchi Azzalini wrote:

>
> If I define this function
>
> R> ask <-  function (message = "Type in datum")
>              eval(parse(prompt = paste(message, ": ", sep = "")))
>
> the following is produced as expected on a Linux/debian machine
>
> R> ask("input")
> input: 3
> [1] 3
> R> ask("input")
> input: 3:6
> [1] 3 4 5 6
> R> ask("input")
> input: c(3,6)
> [1] 3 6
>
> If I run exactly the same on a Mac (OS X 10.5.6), it still works
> provided R is run in a Terminal window.
>
> The outcome changes if R is run in "its own window", started by  
> clicking
> on its icon; the first two examples are still Ok, the third one  
> produces:
>
>
> *** caught segfault ***
> address 0x4628c854, cause 'memory not mapped'
>
>
> R> sessionInfo()  # before crash!
> R version 2.8.1 (2008-12-22)
> i386-apple-darwin8.11.1
>
> locale:
> en_GB.UTF-8/en_GB.UTF-8/C/C/en_GB.UTF-8/en_GB.UTF-8
>
> attached base packages:
> [1] stats     utils     datasets  grDevices graphics  methods   base
> R> R.version
>              _
> 	       platform       i386-apple-darwin8.11.1
> 	       arch           i386
> 	       os             darwin8.11.1
> 	       system         i386, darwin8.11.1
> 	       status
> 	       major          2
> 	       minor          8.1
> 	       year           2008
> 	       month          12
> 	       day            22
> 	       svn rev        47281
> 	       language       R
> 	       version.string R version 2.8.1 (2008-12-22)
> 	
>
>
> -- 
> Adelchi Azzalini  <azzalini at stat.unipd.it>
> Dipart.Scienze Statistiche, Università di Padova, Italia
tel. +39 049 8274147,  http://azzalini.stat.unipd.it/



On Feb 27, 2009, at 11:59 AM, David Winsemius wrote:

> I cannot reproduce a crash from within the experimental 64 bit GUI  
> in Leapard using any of that input.
>
> I am copying the R-SIG-Mac list which I think is the appropriate  
> venue.
>
> You say you are using OS X 10.5.6 but your R.version info says it is  
> a Tiger 10.4.11.1 system. Looking at the CRAN package check page I  
> see that the CRAN build is done on an OS X 10.4.10 machine, which is  
> only off my one from the 8.11.1 designation, so maybe someone forgot  
> to update that entry when they updated that machine.
>
> (Your version is even older than mine, so you might try updating.)
>
> -- 
> David Winsemius
>
> > sessionInfo()
> R version 2.8.1 Patched (2009-01-07 r47515)
> i386-apple-darwin9.6.0
>
> locale:
> en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> other attached packages:
> [1] latticeExtra_0.5-4 RColorBrewer_1.0-2 lattice_0.17-20
>
> loaded via a namespace (and not attached):
> [1] grid_2.8.1
>
> > R.version
>               _
> platform       i386-apple-darwin9.6.0
> arch           i386
> os             darwin9.6.0
> system         i386, darwin9.6.0
> status         Patched
> major          2
> minor          8.1
> year           2009
> month          01
> day            07
> svn rev        47515
> language       R
> version.string R version 2.8.1 Patched (2009-01-07 r47515)
>
>
> On Feb 27, 2009, at 11:07 AM, Adelchi Azzalini wrote:
>
>>
>> If I define this function
>>
>> R> ask <-  function (message = "Type in datum")
>>              eval(parse(prompt = paste(message, ": ", sep = "")))
>>
>> the following is produced as expected on a Linux/debian machine
>>
>> R> ask("input")
>> input: 3
>> [1] 3
>> R> ask("input")
>> input: 3:6
>> [1] 3 4 5 6
>> R> ask("input")
>> input: c(3,6)
>> [1] 3 6
>>
>> If I run exactly the same on a Mac (OS X 10.5.6), it still works
>> provided R is run in a Terminal window.
>>
>> The outcome changes if R is run in "its own window", started by  
>> clicking
>> on its icon; the first two examples are still Ok, the third one  
>> produces:
>>
>>
>> *** caught segfault ***
>> address 0x4628c854, cause 'memory not mapped'
>>
>>
>> R> sessionInfo()  # before crash!
>> R version 2.8.1 (2008-12-22)
>> i386-apple-darwin8.11.1
>>
>> locale:
>> en_GB.UTF-8/en_GB.UTF-8/C/C/en_GB.UTF-8/en_GB.UTF-8
>>
>> attached base packages:
>> [1] stats     utils     datasets  grDevices graphics  methods   base
>> R> R.version
>>              _
>> 	       platform       i386-apple-darwin8.11.1
>> 	       arch           i386
>> 	       os             darwin8.11.1
>> 	       system         i386, darwin8.11.1
>> 	       status
>> 	       major          2
>> 	       minor          8.1
>> 	       year           2008
>> 	       month          12
>> 	       day            22
>> 	       svn rev        47281
>> 	       language       R
>> 	       version.string R version 2.8.1 (2008-12-22)
>> 	
>>
>>
>> -- 
>> Adelchi Azzalini  <azzalini at stat.unipd.it>
>> Dipart.Scienze Statistiche, Università di Padova, Italia
>> tel. +39 049 8274147,  http://azzalini.stat.unipd.it/
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list