[R-SIG-Mac] CONFIRMED - R.app crashes at startup on MacOS Sierra
Simon Urbanek
simon.urbanek at r-project.org
Thu Dec 8 15:28:32 CET 2016
Karl,
unfortunately I cannot reproduce it on 10.12.1. How exactly can you trigger it? I have tried dragging a file on the R icon and open -a /Applications/R.app test.R and neither crashed on me. Does it depend on the R file opened or its location?
Rainer,
it seems that your build is broken - I have seen crashes on error in builds that don't compile longjmp correctly so errors blow up the event loop - which seems to be the case in your build. How did you build it?
Cheers,
Simon
> On Dec 8, 2016, at 5:45 AM, Rainer M Krug <Rainer at krugs.de> wrote:
>
> Karl Thomaseth <karl.thomaseth at gmail.com> writes:
>
>> Hello all,
>>
>> I regret to bother you, but since I upgraded to MacOS Sierra more than a month ago, I am experiencing
>> that whenever I open any “file.R”, which launches automatically R.app GUI the GUI crashes (see info below),
>> I removed also all .RData and .Rapp.history from my system with
>> sudo find / -name “.RData” -delete
>> sudo find / -name “.Rapp*” -delete
>> If I start R directly from the Dock, everything works fine.
>
> First attempt: Nope - works. Then I realized it opened in emacs...
>
> OK.
>
> Opening a .R file via clicking on it actually results in the crash as
> well. The file is opened, but R crashes.
>
>
> How did you install R? I installed via homebrew (And no, I don't expect
> any help here for my case).
>
> But I might add: maybe related - but R crashes in the GUI if I use
> e.g. a non-existing function - maybe related?
>
> ,----
> | > version
> | _
> | platform x86_64-apple-darwin16.1.0
> | arch x86_64
> | os darwin16.1.0
> | system x86_64, darwin16.1.0
> | status
> | major 3
> | minor 3.2
> | year 2016
> | month 10
> | day 31
> | svn rev 71607
> | language R
> | version.string R version 3.3.2 (2016-10-31)
> | nickname Sincere Pumpkin Patch
> | > version()
> | Error: could not find function "version"
> |
> | *** caught segfault ***
> | address 0x18, 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:
> `----
>
> Cheers,
>
> Rainer
>
>>
>> Thank you
>>
>> Karl Thomaseth
>>
>>
>>
>> R version 3.3.2 (2016-10-31) -- "Sincere Pumpkin Patch"
>> Copyright (C) 2016 The R Foundation for Statistical Computing
>> Platform: x86_64-apple-darwin13.4.0 (64-bit)
>>
>> 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.
>>
>> Natural language support but running in an English locale
>>
>> 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.
>>
>> [R.app GUI 1.68 (7288) x86_64-apple-darwin13.4.0]
>>
>> *** caught segfault ***
>> address 0x7f8bf2637f8, 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:
>>
>> =======================================
>>> sessionInfo()
>> R version 3.3.2 (2016-10-31)
>> Platform: x86_64-apple-darwin13.4.0 (64-bit)
>> Running under: macOS Sierra 10.12.1
>>
>> locale:
>> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
>>
>> attached base packages:
>> [1] stats graphics grDevices utils datasets methods base
>>>
>>
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>
> --
> Rainer M. Krug
> email: Rainer<at>krugs<dot>de
> PGP: 0x0F52F982
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
More information about the R-SIG-Mac
mailing list