Re: [R-SIG-Mac] [External] Re: crash due to rgl and base graphics conflict
On 29/05/2020 2:21 p.m., Richard M. Heiberger wrote: I attempted to update xquartz when I updated to Catalina, and the same number is still the current version number. Here is a related issue, attached tmp2.txt is the R transcript. The interesting thing here is that rgl.quit() prevents rgl from being reattached. Generally speaking rgl doesn't want to be reloaded in the same R session: detaching it doesn't clean up everything. That's not something that I'd put any priority on fixing, whereas I would look at the problems you're having on startup if I could reproduce them. I wonder if ESS is involved somehow: your sessionInfo listed ESSR on the search list. Do you have the same issues with plain R from the console, or R.app? Is there an rgl equivalent for dev.cur()? There's rgl.cur(). rgl only supports two kinds of devices: on a Mac or Linux they'd be displayed as glX or null. Windows also supports the null device (which doesn't display anything), and a different one to display within R: I forget how the name is displayed. It might be that you'll need to set options(rgl.useNULL) before starting rgl, and only use the null device. It won't display anything in R, but allows you to call rglwidget() for a display in a browser. Duncan Murdoch On Fri, May 29, 2020 at 1:51 PM Duncan Murdoch wrote: On 29/05/2020 12:35 p.m., Richard M. Heiberger wrote: I have the same Xquartz as you. I'd guess it should be updated. Generally XQuartz needs updates with every MacOS release, and your 10.15.4 is two releases further along than my 10.13.6. I have rgl-0.100.50 from CRAN You could update that, but I doubt if it would make any difference. Apple is macOS Catalina, Version 10.15.4 Do you need hardware information? MacBpok Air (13 -inch, Mid 2012) Processor 2GHz Dual-Core Intel Core i7 Memory 8 GB 1600 MHz DDR3 Graphics Intel HD Graphics 4000 1536 MB I think the XQuartz issue is most likely to help, but if it doesn't, I'm not sure what I could suggest: I don't have Catalina. Duncan Murdoch from the Terminal App: The Apple Crash Report is in the attached tmp.txt I didn't send it to Apple. R version 4.0.0 (2020-04-24) -- "Arbor Day" Copyright (C) 2020 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin17.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. library(rgl) plot(1:10) 2020-05-29 12:30:00.536 R[24961:3275889] *** Assertion failure in BOOL NSScreenConfigurationInvalidateIfNeededForReason(_NSScreenConfigurationUpdateReason)(), /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1894.40.150/AppKit.subproj/NSScreenConfiguration.m:473 2020-05-29 12:30:00.543 R[24961:3275889] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSScreen reconfig must only happen on the main thread.' *** First throw call stack: ( 0 CoreFoundation 0x7fff371698d7 __exceptionPreprocess + 250 1 libobjc.A.dylib 0x7fff6ff47a9e objc_exception_throw + 48 2 CoreFoundation 0x7fff37192bb0 +[NSException raise:format:arguments:] + 88 3 Foundation 0x7fff398de456 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 166 4 AppKit 0x7fff34503083 +[_NSScreenConfiguration invalidateConfigurationIfNeededForReason:] + 361 5 AppKit 0x7fff34e4bda8 _NSApplicationInvalidateScreenConfigurationMaybeIfNeeded + 243 6 AppKit 0x7fff34502c85 -[NSApplication(ScreenHandling) _reactToDockChanged] + 144 7 AppKit 0x7fff345024dc _NSCGSDockMessageReceive + 268 8 HIToolbox 0x7fff35d34a3c _ZL12DockCallbackjjPvS_ + 1987 9 HIServices 0x7fff3539c8ec dockClientNotificationProc + 217 10 SkyLight0x7fff6626f174 _ZN12_GLOBAL__N_123notify_datagram_handlerEj15CGSDatagramTypePvmS1_ + 1002 11 SkyLight0x7fff6626de71 CGSSnarfAndDispatchDatagrams + 1671 12 SkyLight0x7fff6649d5a5 SLSGetNextEventRecordInternal + 83 13 SkyLight0x7fff6633bfbe SLEventCreateNextEvent + 136 14 libXplugin.1.dylib 0x00010686df0c ___xp_init_service_cg_event_port_block_invoke
Re: [R-SIG-Mac] [External] Re: crash due to rgl and base graphics conflict
I attempted to update xquartz when I updated to Catalina, and the same number is still the current version number. Here is a related issue, attached tmp2.txt is the R transcript. The interesting thing here is that rgl.quit() prevents rgl from being reattached. Is there an rgl equivalent for dev.cur()? On Fri, May 29, 2020 at 1:51 PM Duncan Murdoch wrote: > > On 29/05/2020 12:35 p.m., Richard M. Heiberger wrote: > > I have the same Xquartz as you. > > I'd guess it should be updated. Generally XQuartz needs updates with > every MacOS release, and your 10.15.4 is two releases further along than > my 10.13.6. > > > I have rgl-0.100.50 from CRAN > > You could update that, but I doubt if it would make any difference. > > > Apple is macOS Catalina, Version 10.15.4 > > Do you need hardware information? > > MacBpok Air (13 -inch, Mid 2012) > > Processor 2GHz Dual-Core Intel Core i7 > > Memory 8 GB 1600 MHz DDR3 > > Graphics Intel HD Graphics 4000 1536 MB > > I think the XQuartz issue is most likely to help, but if it doesn't, I'm > not sure what I could suggest: I don't have Catalina. > > Duncan Murdoch > > > > > > from the Terminal App: > > The Apple Crash Report is in the attached tmp.txt > > I didn't send it to Apple. > > > > R version 4.0.0 (2020-04-24) -- "Arbor Day" > > > > Copyright (C) 2020 The R Foundation for Statistical Computing > > > > Platform: x86_64-apple-darwin17.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. > > > > > >> library(rgl) > > > >> plot(1:10) > > > >> 2020-05-29 12:30:00.536 R[24961:3275889] *** Assertion failure in BOOL > >> NSScreenConfigurationInvalidateIfNeededForReason(_NSScreenConfigurationUpdateReason)(), > >> > >> /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1894.40.150/AppKit.subproj/NSScreenConfiguration.m:473 > > > > 2020-05-29 12:30:00.543 R[24961:3275889] *** Terminating app due to > > uncaught exception 'NSInternalInconsistencyException', reason: > > 'NSScreen reconfig must only happen on the main thread.' > > > > *** First throw call stack: > > > > ( > > > > 0 CoreFoundation 0x7fff371698d7 > > __exceptionPreprocess + 250 > > > > 1 libobjc.A.dylib 0x7fff6ff47a9e > > objc_exception_throw + 48 > > > > 2 CoreFoundation 0x7fff37192bb0 > > +[NSException raise:format:arguments:] + 88 > > > > 3 Foundation 0x7fff398de456 > > -[NSAssertionHandler > > handleFailureInFunction:file:lineNumber:description:] + 166 > > > > 4 AppKit 0x7fff34503083 > > +[_NSScreenConfiguration invalidateConfigurationIfNeededForReason:] + > > 361 > > > > 5 AppKit 0x7fff34e4bda8 > > _NSApplicationInvalidateScreenConfigurationMaybeIfNeeded + 243 > > > > 6 AppKit 0x7fff34502c85 > > -[NSApplication(ScreenHandling) _reactToDockChanged] + 144 > > > > 7 AppKit 0x7fff345024dc > > _NSCGSDockMessageReceive + 268 > > > > 8 HIToolbox 0x7fff35d34a3c > > _ZL12DockCallbackjjPvS_ + 1987 > > > > 9 HIServices 0x7fff3539c8ec > > dockClientNotificationProc + 217 > > > > 10 SkyLight0x7fff6626f174 > > _ZN12_GLOBAL__N_123notify_datagram_handlerEj15CGSDatagramTypePvmS1_ + > > 1002 > > > > 11 SkyLight0x7fff6626de71 > > CGSSnarfAndDispatchDatagrams + 1671 > > > > 12 SkyLight0x7fff6649d5a5 > > SLSGetNextEventRecordInternal + 83 > > > > 13 SkyLight0x7fff6633bfbe > > SLEventCreateNextEvent + 136 > > > > 14 libXplugin.1.dylib 0x00010686df0c > > ___xp_init_service_cg_event_port_block_invoke + 104 > > > > 15 libdispatch.dylib 0x7fff7108d658 > > _dispatch_client_callout + 8 > > > > 16 libdispatch.dylib 0x7fff7108f818 > > _dispatch_continuation_pop + 414 > > > > 17 libdispatch.dylib 0x7fff7109f4be > > _dispatch_source_invoke + 2084 > > > > 18 libdispatch.dylib 0x7fff71092af6 > > _dispatch_lane_serial_drain + 263 > > > > 19 libdispatch.dylib 0x7fff710935d6 > > _dispatch_lane_invoke + 363 > > > > 20 libdispatch.dylib
Re: [R-SIG-Mac] [External] Re: crash due to rgl and base graphics conflict
On 29/05/2020 12:35 p.m., Richard M. Heiberger wrote: I have the same Xquartz as you. I'd guess it should be updated. Generally XQuartz needs updates with every MacOS release, and your 10.15.4 is two releases further along than my 10.13.6. I have rgl-0.100.50 from CRAN You could update that, but I doubt if it would make any difference. Apple is macOS Catalina, Version 10.15.4 Do you need hardware information? MacBpok Air (13 -inch, Mid 2012) Processor 2GHz Dual-Core Intel Core i7 Memory 8 GB 1600 MHz DDR3 Graphics Intel HD Graphics 4000 1536 MB I think the XQuartz issue is most likely to help, but if it doesn't, I'm not sure what I could suggest: I don't have Catalina. Duncan Murdoch from the Terminal App: The Apple Crash Report is in the attached tmp.txt I didn't send it to Apple. R version 4.0.0 (2020-04-24) -- "Arbor Day" Copyright (C) 2020 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin17.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. library(rgl) plot(1:10) 2020-05-29 12:30:00.536 R[24961:3275889] *** Assertion failure in BOOL NSScreenConfigurationInvalidateIfNeededForReason(_NSScreenConfigurationUpdateReason)(), /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1894.40.150/AppKit.subproj/NSScreenConfiguration.m:473 2020-05-29 12:30:00.543 R[24961:3275889] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSScreen reconfig must only happen on the main thread.' *** First throw call stack: ( 0 CoreFoundation 0x7fff371698d7 __exceptionPreprocess + 250 1 libobjc.A.dylib 0x7fff6ff47a9e objc_exception_throw + 48 2 CoreFoundation 0x7fff37192bb0 +[NSException raise:format:arguments:] + 88 3 Foundation 0x7fff398de456 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 166 4 AppKit 0x7fff34503083 +[_NSScreenConfiguration invalidateConfigurationIfNeededForReason:] + 361 5 AppKit 0x7fff34e4bda8 _NSApplicationInvalidateScreenConfigurationMaybeIfNeeded + 243 6 AppKit 0x7fff34502c85 -[NSApplication(ScreenHandling) _reactToDockChanged] + 144 7 AppKit 0x7fff345024dc _NSCGSDockMessageReceive + 268 8 HIToolbox 0x7fff35d34a3c _ZL12DockCallbackjjPvS_ + 1987 9 HIServices 0x7fff3539c8ec dockClientNotificationProc + 217 10 SkyLight0x7fff6626f174 _ZN12_GLOBAL__N_123notify_datagram_handlerEj15CGSDatagramTypePvmS1_ + 1002 11 SkyLight0x7fff6626de71 CGSSnarfAndDispatchDatagrams + 1671 12 SkyLight0x7fff6649d5a5 SLSGetNextEventRecordInternal + 83 13 SkyLight0x7fff6633bfbe SLEventCreateNextEvent + 136 14 libXplugin.1.dylib 0x00010686df0c ___xp_init_service_cg_event_port_block_invoke + 104 15 libdispatch.dylib 0x7fff7108d658 _dispatch_client_callout + 8 16 libdispatch.dylib 0x7fff7108f818 _dispatch_continuation_pop + 414 17 libdispatch.dylib 0x7fff7109f4be _dispatch_source_invoke + 2084 18 libdispatch.dylib 0x7fff71092af6 _dispatch_lane_serial_drain + 263 19 libdispatch.dylib 0x7fff710935d6 _dispatch_lane_invoke + 363 20 libdispatch.dylib 0x7fff7109cc09 _dispatch_workloop_worker_thread + 596 21 libsystem_pthread.dylib 0x7fff712eba3d _pthread_wqthread + 290 22 libsystem_pthread.dylib 0x7fff712eab77 start_wqthread + 15 ) libc++abi.dylib: terminating with uncaught exception of type NSException zsh: abort R rmh@rmhs-Air ~ % On Fri, May 29, 2020 at 12:16 PM Duncan Murdoch wrote: I'm not seeing that with R-patched r78557, run from the console. I'm not sure I have the same MacOS version as you (R prints the same thing, Apple says High Sierra 10.13.6). I tried with the CRAN binary of rgl 0.100.54. I'd guess the version of XQuartz may be important: I'm not seeing rgl in the call stack, but libXplugin is there. Mine is "XQuartz 2.7.11 (xorg-server 1.18.4)". Duncan Murdoch On 29/05/2020 11:44 a.m., Richard M.
Re: [R-SIG-Mac] [External] Re: crash due to rgl and base graphics conflict
this prevents the crash > rgl.quit() > plot(1:10) > On Fri, May 29, 2020 at 12:35 PM Richard M. Heiberger wrote: > > I have the same Xquartz as you. > I have rgl-0.100.50 from CRAN > Apple is macOS Catalina, Version 10.15.4 > Do you need hardware information? > MacBpok Air (13 -inch, Mid 2012) > Processor 2GHz Dual-Core Intel Core i7 > Memory 8 GB 1600 MHz DDR3 > Graphics Intel HD Graphics 4000 1536 MB > > > from the Terminal App: > The Apple Crash Report is in the attached tmp.txt > I didn't send it to Apple. > > R version 4.0.0 (2020-04-24) -- "Arbor Day" > > Copyright (C) 2020 The R Foundation for Statistical Computing > > Platform: x86_64-apple-darwin17.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. > > > > library(rgl) > > > plot(1:10) > > > 2020-05-29 12:30:00.536 R[24961:3275889] *** Assertion failure in BOOL > > NSScreenConfigurationInvalidateIfNeededForReason(_NSScreenConfigurationUpdateReason)(), > > > > /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1894.40.150/AppKit.subproj/NSScreenConfiguration.m:473 > > 2020-05-29 12:30:00.543 R[24961:3275889] *** Terminating app due to > uncaught exception 'NSInternalInconsistencyException', reason: > 'NSScreen reconfig must only happen on the main thread.' > > *** First throw call stack: > > ( > > 0 CoreFoundation 0x7fff371698d7 > __exceptionPreprocess + 250 > > 1 libobjc.A.dylib 0x7fff6ff47a9e > objc_exception_throw + 48 > > 2 CoreFoundation 0x7fff37192bb0 > +[NSException raise:format:arguments:] + 88 > > 3 Foundation 0x7fff398de456 > -[NSAssertionHandler > handleFailureInFunction:file:lineNumber:description:] + 166 > > 4 AppKit 0x7fff34503083 > +[_NSScreenConfiguration invalidateConfigurationIfNeededForReason:] + > 361 > > 5 AppKit 0x7fff34e4bda8 > _NSApplicationInvalidateScreenConfigurationMaybeIfNeeded + 243 > > 6 AppKit 0x7fff34502c85 > -[NSApplication(ScreenHandling) _reactToDockChanged] + 144 > > 7 AppKit 0x7fff345024dc > _NSCGSDockMessageReceive + 268 > > 8 HIToolbox 0x7fff35d34a3c > _ZL12DockCallbackjjPvS_ + 1987 > > 9 HIServices 0x7fff3539c8ec > dockClientNotificationProc + 217 > > 10 SkyLight0x7fff6626f174 > _ZN12_GLOBAL__N_123notify_datagram_handlerEj15CGSDatagramTypePvmS1_ + > 1002 > > 11 SkyLight0x7fff6626de71 > CGSSnarfAndDispatchDatagrams + 1671 > > 12 SkyLight0x7fff6649d5a5 > SLSGetNextEventRecordInternal + 83 > > 13 SkyLight0x7fff6633bfbe > SLEventCreateNextEvent + 136 > > 14 libXplugin.1.dylib 0x00010686df0c > ___xp_init_service_cg_event_port_block_invoke + 104 > > 15 libdispatch.dylib 0x7fff7108d658 > _dispatch_client_callout + 8 > > 16 libdispatch.dylib 0x7fff7108f818 > _dispatch_continuation_pop + 414 > > 17 libdispatch.dylib 0x7fff7109f4be > _dispatch_source_invoke + 2084 > > 18 libdispatch.dylib 0x7fff71092af6 > _dispatch_lane_serial_drain + 263 > > 19 libdispatch.dylib 0x7fff710935d6 > _dispatch_lane_invoke + 363 > > 20 libdispatch.dylib 0x7fff7109cc09 > _dispatch_workloop_worker_thread + 596 > > 21 libsystem_pthread.dylib 0x7fff712eba3d > _pthread_wqthread + 290 > > 22 libsystem_pthread.dylib 0x7fff712eab77 start_wqthread + 15 > > ) > > libc++abi.dylib: terminating with uncaught exception of type NSException > > zsh: abort R > > rmh@rmhs-Air ~ % > > > On Fri, May 29, 2020 at 12:16 PM Duncan Murdoch > wrote: > > > > I'm not seeing that with R-patched r78557, run from the console. I'm > > not sure I have the same MacOS version as you (R prints the same thing, > > Apple says High Sierra 10.13.6). I tried with the CRAN binary of rgl > > 0.100.54. I'd guess the version of XQuartz may be important: I'm not > > seeing rgl in the call stack, but libXplugin is there. Mine is "XQuartz > > 2.7.11 (xorg-server 1.18.4)". > > > > Duncan Murdoch > > > > > > > > On 29/05/2020 11:44 a.m., Richard M. Heiberger wrote: > > > R version 4.0.0
Re: [R-SIG-Mac] [External] Re: crash due to rgl and base graphics conflict
I have the same Xquartz as you. I have rgl-0.100.50 from CRAN Apple is macOS Catalina, Version 10.15.4 Do you need hardware information? MacBpok Air (13 -inch, Mid 2012) Processor 2GHz Dual-Core Intel Core i7 Memory 8 GB 1600 MHz DDR3 Graphics Intel HD Graphics 4000 1536 MB from the Terminal App: The Apple Crash Report is in the attached tmp.txt I didn't send it to Apple. R version 4.0.0 (2020-04-24) -- "Arbor Day" Copyright (C) 2020 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin17.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. > library(rgl) > plot(1:10) > 2020-05-29 12:30:00.536 R[24961:3275889] *** Assertion failure in BOOL > NSScreenConfigurationInvalidateIfNeededForReason(_NSScreenConfigurationUpdateReason)(), > > /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1894.40.150/AppKit.subproj/NSScreenConfiguration.m:473 2020-05-29 12:30:00.543 R[24961:3275889] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSScreen reconfig must only happen on the main thread.' *** First throw call stack: ( 0 CoreFoundation 0x7fff371698d7 __exceptionPreprocess + 250 1 libobjc.A.dylib 0x7fff6ff47a9e objc_exception_throw + 48 2 CoreFoundation 0x7fff37192bb0 +[NSException raise:format:arguments:] + 88 3 Foundation 0x7fff398de456 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 166 4 AppKit 0x7fff34503083 +[_NSScreenConfiguration invalidateConfigurationIfNeededForReason:] + 361 5 AppKit 0x7fff34e4bda8 _NSApplicationInvalidateScreenConfigurationMaybeIfNeeded + 243 6 AppKit 0x7fff34502c85 -[NSApplication(ScreenHandling) _reactToDockChanged] + 144 7 AppKit 0x7fff345024dc _NSCGSDockMessageReceive + 268 8 HIToolbox 0x7fff35d34a3c _ZL12DockCallbackjjPvS_ + 1987 9 HIServices 0x7fff3539c8ec dockClientNotificationProc + 217 10 SkyLight0x7fff6626f174 _ZN12_GLOBAL__N_123notify_datagram_handlerEj15CGSDatagramTypePvmS1_ + 1002 11 SkyLight0x7fff6626de71 CGSSnarfAndDispatchDatagrams + 1671 12 SkyLight0x7fff6649d5a5 SLSGetNextEventRecordInternal + 83 13 SkyLight0x7fff6633bfbe SLEventCreateNextEvent + 136 14 libXplugin.1.dylib 0x00010686df0c ___xp_init_service_cg_event_port_block_invoke + 104 15 libdispatch.dylib 0x7fff7108d658 _dispatch_client_callout + 8 16 libdispatch.dylib 0x7fff7108f818 _dispatch_continuation_pop + 414 17 libdispatch.dylib 0x7fff7109f4be _dispatch_source_invoke + 2084 18 libdispatch.dylib 0x7fff71092af6 _dispatch_lane_serial_drain + 263 19 libdispatch.dylib 0x7fff710935d6 _dispatch_lane_invoke + 363 20 libdispatch.dylib 0x7fff7109cc09 _dispatch_workloop_worker_thread + 596 21 libsystem_pthread.dylib 0x7fff712eba3d _pthread_wqthread + 290 22 libsystem_pthread.dylib 0x7fff712eab77 start_wqthread + 15 ) libc++abi.dylib: terminating with uncaught exception of type NSException zsh: abort R rmh@rmhs-Air ~ % On Fri, May 29, 2020 at 12:16 PM Duncan Murdoch wrote: > > I'm not seeing that with R-patched r78557, run from the console. I'm > not sure I have the same MacOS version as you (R prints the same thing, > Apple says High Sierra 10.13.6). I tried with the CRAN binary of rgl > 0.100.54. I'd guess the version of XQuartz may be important: I'm not > seeing rgl in the call stack, but libXplugin is there. Mine is "XQuartz > 2.7.11 (xorg-server 1.18.4)". > > Duncan Murdoch > > > > On 29/05/2020 11:44 a.m., Richard M. Heiberger wrote: > > R version 4.0.0 (2020-04-24) -- "Arbor Day" > > Copyright (C) 2020 The R Foundation for Statistical Computing > > Platform: x86_64-apple-darwin17.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
Re: [R-SIG-Mac] crash due to rgl and base graphics conflict
I'm not seeing that with R-patched r78557, run from the console. I'm not sure I have the same MacOS version as you (R prints the same thing, Apple says High Sierra 10.13.6). I tried with the CRAN binary of rgl 0.100.54. I'd guess the version of XQuartz may be important: I'm not seeing rgl in the call stack, but libXplugin is there. Mine is "XQuartz 2.7.11 (xorg-server 1.18.4)". Duncan Murdoch On 29/05/2020 11:44 a.m., Richard M. Heiberger wrote: R version 4.0.0 (2020-04-24) -- "Arbor Day" Copyright (C) 2020 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin17.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. if(identical(getOption('pager'), file.path(R.home('bin'), 'pager'))) options(pager='cat') # rather take the ESS one options(STERM='iESS', str.dendrogram.last="'", editor='emacsclient', show.error.locations=TRUE) version _ platform x86_64-apple-darwin17.0 arch x86_64 os darwin17.0 system x86_64, darwin17.0 status major 4 minor 0.0 year 2020 month 04 day24 svn rev78286 language R version.string R version 4.0.0 (2020-04-24) nickname Arbor Day library(rgl) plot(1:10) Process R abort trap: 6 at Fri May 29 11:32:59 2020 2020-05-29 11:32:59.542 R[24448:3255600] *** Assertion failure in BOOL NSScreenConfigurationInvalidateIfNeededForReason(_NSScreenConfigurationUpdateReason)(), /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1894.40.150/AppKit.subproj/NSScreenConfiguration.m:473 2020-05-29 11:32:59.560 R[24448:3255600] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSScreen reconfig must only happen on the main thread.' *** First throw call stack: ( 0 CoreFoundation 0x7fff371698d7 __exceptionPreprocess + 250 1 libobjc.A.dylib 0x7fff6ff47a9e objc_exception_throw + 48 2 CoreFoundation 0x7fff37192bb0 +[NSException raise:format:arguments:] + 88 3 Foundation 0x7fff398de456 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 166 4 AppKit 0x7fff34503083 +[_NSScreenConfiguration invalidateConfigurationIfNeededForReason:] + 361 5 AppKit 0x7fff34e4bda8 _NSApplicationInvalidateScreenConfigurationMaybeIfNeeded + 243 6 AppKit 0x7fff34502c85 -[NSApplication(ScreenHandling) _reactToDockChanged] + 144 7 AppKit 0x7fff345024dc _NSCGSDockMessageReceive + 268 8 HIToolbox 0x7fff35d34a3c _ZL12DockCallbackjjPvS_ + 1987 9 HIServices 0x7fff3539c8ec dockClientNotificationProc + 217 10 SkyLight0x7fff6626f174 _ZN12_GLOBAL__N_123notify_datagram_handlerEj15CGSDatagramTypePvmS1_ + 1002 11 SkyLight0x7fff6626de71 CGSSnarfAndDispatchDatagrams + 1671 12 SkyLight0x7fff6649d5a5 SLSGetNextEventRecordInternal + 83 13 SkyLight0x7fff6633bfbe SLEventCreateNextEvent + 136 14 libXplugin.1.dylib 0x00010ffa5f0c ___xp_init_service_cg_event_port_block_invoke + 104 15 libdispatch.dylib 0x7fff7108d658 _dispatch_client_callout + 8 16 libdispatch.dylib 0x7fff7108f818 _dispatch_continuation_pop + 414 17 libdispatch.dylib 0x7fff7109f4be _dispatch_source_invoke + 2084 18 libdispatch.dylib 0x7fff71092af6 _dispatch_lane_serial_drain + 263 19 libdispatch.dylib 0x7fff710935d6 _dispatch_lane_invoke + 363 20 libdispatch.dylib 0x7fff7109cc09 _dispatch_workloop_worker_thread + 596 21 libsystem_pthread.dylib 0x7fff712eba3d _pthread_wqthread + 290 22 libsystem_pthread.dylib 0x7fff712eab77 start_wqthread + 15 ) libc++abi.dylib: terminating with uncaught exception of type NSException ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
[R-SIG-Mac] crash due to rgl and base graphics conflict
R version 4.0.0 (2020-04-24) -- "Arbor Day" Copyright (C) 2020 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin17.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. > if(identical(getOption('pager'), file.path(R.home('bin'), 'pager'))) > options(pager='cat') # rather take the ESS one > options(STERM='iESS', str.dendrogram.last="'", editor='emacsclient', > show.error.locations=TRUE) > version _ platform x86_64-apple-darwin17.0 arch x86_64 os darwin17.0 system x86_64, darwin17.0 status major 4 minor 0.0 year 2020 month 04 day24 svn rev78286 language R version.string R version 4.0.0 (2020-04-24) nickname Arbor Day > > library(rgl) > plot(1:10) > Process R abort trap: 6 at Fri May 29 11:32:59 2020 2020-05-29 11:32:59.542 R[24448:3255600] *** Assertion failure in BOOL NSScreenConfigurationInvalidateIfNeededForReason(_NSScreenConfigurationUpdateReason)(), /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1894.40.150/AppKit.subproj/NSScreenConfiguration.m:473 2020-05-29 11:32:59.560 R[24448:3255600] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSScreen reconfig must only happen on the main thread.' *** First throw call stack: ( 0 CoreFoundation 0x7fff371698d7 __exceptionPreprocess + 250 1 libobjc.A.dylib 0x7fff6ff47a9e objc_exception_throw + 48 2 CoreFoundation 0x7fff37192bb0 +[NSException raise:format:arguments:] + 88 3 Foundation 0x7fff398de456 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 166 4 AppKit 0x7fff34503083 +[_NSScreenConfiguration invalidateConfigurationIfNeededForReason:] + 361 5 AppKit 0x7fff34e4bda8 _NSApplicationInvalidateScreenConfigurationMaybeIfNeeded + 243 6 AppKit 0x7fff34502c85 -[NSApplication(ScreenHandling) _reactToDockChanged] + 144 7 AppKit 0x7fff345024dc _NSCGSDockMessageReceive + 268 8 HIToolbox 0x7fff35d34a3c _ZL12DockCallbackjjPvS_ + 1987 9 HIServices 0x7fff3539c8ec dockClientNotificationProc + 217 10 SkyLight0x7fff6626f174 _ZN12_GLOBAL__N_123notify_datagram_handlerEj15CGSDatagramTypePvmS1_ + 1002 11 SkyLight0x7fff6626de71 CGSSnarfAndDispatchDatagrams + 1671 12 SkyLight0x7fff6649d5a5 SLSGetNextEventRecordInternal + 83 13 SkyLight0x7fff6633bfbe SLEventCreateNextEvent + 136 14 libXplugin.1.dylib 0x00010ffa5f0c ___xp_init_service_cg_event_port_block_invoke + 104 15 libdispatch.dylib 0x7fff7108d658 _dispatch_client_callout + 8 16 libdispatch.dylib 0x7fff7108f818 _dispatch_continuation_pop + 414 17 libdispatch.dylib 0x7fff7109f4be _dispatch_source_invoke + 2084 18 libdispatch.dylib 0x7fff71092af6 _dispatch_lane_serial_drain + 263 19 libdispatch.dylib 0x7fff710935d6 _dispatch_lane_invoke + 363 20 libdispatch.dylib 0x7fff7109cc09 _dispatch_workloop_worker_thread + 596 21 libsystem_pthread.dylib 0x7fff712eba3d _pthread_wqthread + 290 22 libsystem_pthread.dylib 0x7fff712eab77 start_wqthread + 15 ) libc++abi.dylib: terminating with uncaught exception of type NSException ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Binary R-devel Builds For OS-X
Our build is currently a bit in flux since I was moving the CRAN machines back to the university. Also for the betas I am notarising the builds which includes a manual step (I don’t do that for the regular nightlies). FWIW the time zone of the build machine is US/Eastern for historical reasons. Cheers, Simon > On May 29, 2020, at 8:06 PM, peter dalgaard wrote: > > Simon is the one who has the full detail, but at this point, I get > > R version 4.0.1 beta (2020-05-28 r78607) -- "See Things Now" > > According to mac.r-project.org, this was built at 19:29 on May 28. It's not > really clear what time zone that is... The transition to beta was just after > midnight CET on the 27th which is like 10AM in Auckland, so you'd expect it > to be picked up for the May 27 build, but maybe something got stalled. Or > there might be a delay between the SVN checkout and the .pkg build. > > -pd > >> On 29 May 2020, at 00:23 , brodie gaslam wrote: >> >> I just installed the 4.0 patched binary, and noticed that it is still at >> 5/24 (i.e. pre Beta, although I'm guessing that's a minor distinction). 3.6 >> was updated yesterday. Since I'm not too familiar with this process yet, >> what kind of update schedule should I expect for these binaries? >> >> Best, >> >> Brodie. >> >> >> >> >> >> >> On Saturday, May 16, 2020, 4:22:40 AM EDT, peter dalgaard >> wrote: >> >> >> >> >> >> Yes. Simon's policy is just to use the current x.y SVN branch (say >> R-4.0-branch) which goes through the alpha-beta-RC-(release)-Patched cycle. >> >> I.e. R-4.0-branch.pkg will _be_ the prerelease at the relevant stage of the >> development cycle. >> >> (Nerdy details: There is only x.y.0 alpha, otherwise we go directly from, >> say, "4.0.0 Patched" to "4.0.1 beta"; or, differently put, R-patched _is_ >> the alpha for the next version. Also, the unqualified x.y.z name is only >> there while the relase tarball is being created, which is about 5 minutes on >> release day so never makes it to the nightly builds.) >> >> -pd >> >>> On 16 May 2020, at 02:27 , brodie gaslam wrote: >> >>> >>> >>> Presumably the alpha/RC releases are also posted to the mac.r-project.org >>> page. >> >> -- >> Peter Dalgaard, Professor, >> Center for Statistics, Copenhagen Business School >> Solbjerg Plads 3, 2000 Frederiksberg, Denmark >> Phone: (+45)38153501 >> Office: A 4.23 >> Email: pd@cbs.dk Priv: pda...@gmail.com >> >> >> >> >> >> >> >> > > -- > Peter Dalgaard, Professor, > Center for Statistics, Copenhagen Business School > Solbjerg Plads 3, 2000 Frederiksberg, Denmark > Phone: (+45)38153501 > Office: A 4.23 > Email: pd@cbs.dk Priv: pda...@gmail.com > > > > > > > > > ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Binary R-devel Builds For OS-X
Simon is the one who has the full detail, but at this point, I get R version 4.0.1 beta (2020-05-28 r78607) -- "See Things Now" According to mac.r-project.org, this was built at 19:29 on May 28. It's not really clear what time zone that is... The transition to beta was just after midnight CET on the 27th which is like 10AM in Auckland, so you'd expect it to be picked up for the May 27 build, but maybe something got stalled. Or there might be a delay between the SVN checkout and the .pkg build. -pd > On 29 May 2020, at 00:23 , brodie gaslam wrote: > > I just installed the 4.0 patched binary, and noticed that it is still at 5/24 > (i.e. pre Beta, although I'm guessing that's a minor distinction). 3.6 was > updated yesterday. Since I'm not too familiar with this process yet, what > kind of update schedule should I expect for these binaries? > > Best, > > Brodie. > > > > > > > On Saturday, May 16, 2020, 4:22:40 AM EDT, peter dalgaard > wrote: > > > > > > Yes. Simon's policy is just to use the current x.y SVN branch (say > R-4.0-branch) which goes through the alpha-beta-RC-(release)-Patched cycle. > > I.e. R-4.0-branch.pkg will _be_ the prerelease at the relevant stage of the > development cycle. > > (Nerdy details: There is only x.y.0 alpha, otherwise we go directly from, > say, "4.0.0 Patched" to "4.0.1 beta"; or, differently put, R-patched _is_ the > alpha for the next version. Also, the unqualified x.y.z name is only there > while the relase tarball is being created, which is about 5 minutes on > release day so never makes it to the nightly builds.) > > -pd > >> On 16 May 2020, at 02:27 , brodie gaslam wrote: > >> >> >> Presumably the alpha/RC releases are also posted to the mac.r-project.org >> page. > > -- > Peter Dalgaard, Professor, > Center for Statistics, Copenhagen Business School > Solbjerg Plads 3, 2000 Frederiksberg, Denmark > Phone: (+45)38153501 > Office: A 4.23 > Email: pd@cbs.dk Priv: pda...@gmail.com > > > > > > > > -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac