Hi, 

When I open a .R document from finder, I get a crash and the Mac reports 
“Application not responding” On force quit I get a bug report as below
I get a similar crash when opening a document from the R menu

I never see any of the document window

Thanks
Chris

My Mac is a mini, running 10.14.6, and R version 4.0.2. I had no problems on 
10.14.6 with R 3.x.x. 

Date/Time:       2020-09-21 14:47:26 +0100
End time:        2020-09-21 14:48:56 +0100
OS Version:      Mac OS X 10.14.6 (Build 18G6020)
Architecture:    x86_64h
Report Version:  28
Incident Identifier: D3C29A98-8CB2-4EA4-B61D-09FE67787D5B

Data Source:     Microstackshots
Shared Cache:    0x10846000 379693A3-D334-37DB-864B-2E216A26E83E

Command:         R
Path:            /Applications/R.app/Contents/MacOS/R
Identifier:      org.R-project.R
Version:         R for R 4.0.2 GUI 1.72 Catalina build (7847)
PID:             10966

Event:           cpu usage
Action taken:    none
CPU:             90 seconds cpu time over 139 seconds (65% cpu average), 
exceeding limit of 50% cpu over 180 seconds
CPU limit:       90s
Limit duration:  180s
CPU used:        90s
Duration:        90.02s
Steps:           87

Hardware model:  Macmini8,1
Active cpus:     4


Heaviest stack for the target process:
  86  start + 1 (libdyld.dylib + 91093) [0x7fff6817a3d5]
  86  main + 792 (R + 8120) [0x10d021fb8]
  86  -[REngine runREPL] + 177 (R + 74833) [0x10d032451]
  86  run_REngineRmainloop + 263 (R + 120903) [0x10d03d847]
  86  R_ReplDLLdo1 + 148 (main.c:371,6 in libR.dylib + 1106276) [0x10d23e164]
  86  Re_ReadConsole + 184 (R + 64840) [0x10d02fd48]
  86  -[RController handleReadConsole:] + 158 (R + 27086) [0x10d0269ce]
  86  -[RController doProcessEvents:] + 190 (R + 50046) [0x10d02c37e]
  86  -[NSApplication(NSEvent) 
_nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361 (AppKit + 103531) 
[0x7fff397ec46b]
  86  _DPSNextEvent + 1935 (AppKit + 109213) [0x7fff397eda9d]
  86  AEProcessAppleEvent + 54 (HIToolbox + 84151) [0x7fff3b45f8b7]
  86  aeProcessAppleEvent + 414 (AE + 35585) [0x7fff3d41db01]
  86  dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 41 (AE + 35881) 
[0x7fff3d41dc29]
  86  aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned 
char*) + 1815 (AE + 37783) [0x7fff3d41e397]
  86  _NSAppleEventManagerGenericHandler + 102 (Foundation + 374061) 
[0x7fff3e49d52d]
  86  -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] 
+ 286 (Foundation + 374448) [0x7fff3e49d6b0]
  86  -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 
764 (AppKit + 124647) [0x7fff397f16e7]
  86  -[NSApplication(NSAppleEventHandling) _handleAEOpenDocumentsForURLs:] + 
228 (AppKit + 3479869) [0x7fff39b2493d]
  86  __69-[NSApplication(NSAppleEventHandling) 
_handleAEOpenDocumentsForURLs:]_block_invoke + 886 (AppKit + 3480894) 
[0x7fff39b24d3e]
  86  -[NSApplication(NSAppleEventHandling) _openURLs:withCompletionHandler:] + 
998 (AppKit + 5152848) [0x7fff39cbd050]
  86  withWindowOrderingObserverHeuristic + 472 (AppKit + 5153685) 
[0x7fff39cbd395]
  86  __withWindowOrderingObserverHeuristic_block_invoke + 43 (AppKit + 
5161267) [0x7fff39cbf133]
  86  __69-[NSApplication(NSAppleEventHandling) 
_handleAEOpenDocumentsForURLs:]_block_invoke_2 + 2114 (AppKit + 3534419) 
[0x7fff39b31e53]
  86  +[_NSWindowTransformAnimation 
waitForAnimationToCompleteOnWindows:forFullScreen:] + 69 (AppKit + 3535118) 
[0x7fff39b3210e]
  86  CA::Transaction::commit() + 596 (QuartzCore + 7846) [0x7fff46c80ea6]
  86  CA::Context::commit_transaction(CA::Transaction*) + 342 (QuartzCore + 
10182) [0x7fff46c817c6]
  86  CA::Layer::display_if_needed(CA::Transaction*) + 627 (QuartzCore + 83281) 
[0x7fff46c93551]
  86  -[_NSViewBackingLayer display] + 811 (AppKit + 1199183) [0x7fff398f7c4f]
  86  _NSBackingLayerDisplay + 528 (AppKit + 1312590) [0x7fff3991374e]
  86  -[CALayer _display] + 1830 (QuartzCore + 86048) [0x7fff46c94020]
  86  invocation function for block in CA::Layer::display_() + 53 (QuartzCore + 
489997) [0x7fff46cf6a0d]
  86  CABackingStoreUpdate_ + 577 (QuartzCore + 89602) [0x7fff46c94e02]
  86  -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] 
+ 1720 (AppKit + 1315228) [0x7fff3991419c]
  86  __46-[NSView(NSLayerKitGlue) drawLayer:inContext:]_block_invoke + 192 
(AppKit + 1315903) [0x7fff3991443f]
  86  -[NSView(NSInternal) 
_recursive:displayRectIgnoringOpacity:inContext:shouldChangeFontReferenceColor:stopAtLayerBackedViews:]
 + 1627 (AppKit + 1317548) [0x7fff39914aac]
  86  _NSViewDrawRect + 66 (AppKit + 1323550) [0x7fff3991621e]
  86  -[_NSRulerContentView drawRect:] + 157 (AppKit + 7773946) [0x7fff39f3cefa]
  86  -[NSRulerView _drawContentRect:] + 233 (AppKit + 7770556) [0x7fff39f3c1bc]
  86  -[NoodleLineNumberView drawHashMarksAndLabelsInRect:] + 345 (R + 338169) 
[0x10d0728f9]
  86  -[NSLayoutManager glyphRangeForBoundingRect:inTextContainer:] + 67 
(UIFoundation + 282386) [0x7fff62edef12]
  86  -[NSLayoutManager(NSPrivate) 
_glyphRangeForBoundingRect:inTextContainer:fast:okToFillHoles:] + 4616 
(UIFoundation + 287009) [0x7fff62ee0121]
  86  -[NSLayoutManager(NSPrivate) 
_firstPassGlyphRangeForBoundingRect:inTextContainer:hintGlyphRange:okToFillHoles:]
 + 1364 (UIFoundation + 498785) [0x7fff62f13c61]
  86  _NSFastFillAllLayoutHolesForGlyphRange + 1889 (UIFoundation + 366168) 
[0x7fff62ef3658]
  86  _resizeTextViewsIfNeeded + 284 (UIFoundation + 490100) [0x7fff62f11a74]
  86  -[NSLayoutManager(NSPrivate) _resizeTextViewForTextContainer:] + 1113 
(UIFoundation + 74945) [0x7fff62eac4c1]
  86  -[NSTextView setConstrainedFrameSize:] + 621 (AppKit + 573461) 
[0x7fff3985f015]
  86  -[NSTextView setFrameSize:] + 138 (AppKit + 1248131) [0x7fff39903b83]
  86  -[NSTextView(NSPrivate) _setFrameSize:forceScroll:] + 1055 (AppKit + 
1249378) [0x7fff39904062]
  86  -[NSView setFrameSize:] + 1548 (AppKit + 652565) [0x7fff39872515]
  86  -[NSView(NSInternal) _updateLayerGeometryFromView] + 734 (AppKit + 
504076) [0x7fff3984e10c]
  86  -[NSView setNeedsDisplay:] + 79 (AppKit + 393481) [0x7fff39833109]
  86  -[NSTextView setNeedsDisplayInRect:] + 41 (AppKit + 534811) 
[0x7fff3985591b]
  86  -[NSTextView setNeedsDisplayInRect:avoidAdditionalLayout:] + 1205 (AppKit 
+ 536024) [0x7fff39855dd8]
  86  -[NSLayoutManager glyphRangeForBoundingRect:inTextContainer:] + 67 
(UIFoundation + 282386) [0x7fff62edef12]
  86  -[NSLayoutManager(NSPrivate) 
_glyphRangeForBoundingRect:inTextContainer:fast:okToFillHoles:] + 851 
(UIFoundation + 283244) [0x7fff62edf26c]
  86  -[NSLayoutManager(NSPrivate) 
_firstPassGlyphRangeForBoundingRect:inTextContainer:okToFillHoles:] + 1432 
(UIFoundation + 288475) [0x7fff62ee06db]
  86  _NSFastFillAllLayoutHolesForGlyphRange + 1631 (UIFoundation + 365910) 
[0x7fff62ef3556]
  86  -[NSLayoutManager(NSPrivate) 
_fillLayoutHoleForCharacterRange:desiredNumberOfLines:isSoft:] + 756 
(UIFoundation + 321587) [0x7fff62ee8833]
  86  -[NSATSTypesetter 
layoutCharactersInRange:forLayoutManager:maximumNumberOfLineFragments:] + 812 
(UIFoundation + 328746) [0x7fff62eea42a]
  86  -[NSTypesetter 
layoutCharactersInRange:forLayoutManager:maximumNumberOfLineFragments:] + 241 
(UIFoundation + 329229) [0x7fff62eea60d]
  86  -[NSTypesetter 
_layoutGlyphsInLayoutManager:startingAtGlyphIndex:maxNumberOfLineFragments:maxCharacterIndex:nextGlyphIndex:nextCharacterIndex:]
 + 3010 (UIFoundation + 162895) [0x7fff62ec1c4f]
  86  -[NSATSTypesetter layoutParagraphAtPoint:] + 627 (UIFoundation + 331753) 
[0x7fff62eeafe9]
  86  -[NSTypesetter 
setLineFragmentRect:forGlyphRange:usedRect:baselineOffset:] + 245 (UIFoundation 
+ 344350) [0x7fff62eee11e]
  86  -[NSLayoutManager(NSPrivate) 
setLineFragmentRect:forGlyphRange:usedRect:baselineOffset:] + 85 (UIFoundation 
+ 345173) [0x7fff62eee455]
  86  -[NSLayoutManager setLineFragmentRect:forGlyphRange:usedRect:] + 350 
(UIFoundation + 345566) [0x7fff62eee5de]
  86  -[NSLayoutManager(NSPrivate) 
_updateUsageForTextContainer:addingUsedRect:] + 529 (UIFoundation + 193912) 
[0x7fff62ec9578]
  86  -[NSLayoutManager(NSPrivate) _resizeTextViewForTextContainer:] + 1113 
(UIFoundation + 74945) [0x7fff62eac4c1]
  86  -[NSTextView setConstrainedFrameSize:] + 621 (AppKit + 573461) 
[0x7fff3985f015]
  86  -[NSTextView setFrameSize:] + 138 (AppKit + 1248131) [0x7fff39903b83]
  86  -[NSTextView(NSPrivate) _setFrameSize:forceScroll:] + 1055 (AppKit + 
1249378) [0x7fff39904062]
  86  -[NSView setFrameSize:] + 2168 (AppKit + 653185) [0x7fff39872781]
  86  -[NSView _postFrameChangeNotification] + 82 (AppKit + 680910) 
[0x7fff398793ce]
  86  -[NSClipView _reflectDocumentViewFrameChange] + 625 (AppKit + 1131099) 
[0x7fff398e725b]
  86  __45-[NSClipView _reflectDocumentViewFrameChange]_block_invoke + 98 
(AppKit + 1131622) [0x7fff398e7466]
  86  -[NSScrollView reflectScrolledClipView:] + 918 (AppKit + 917312) 
[0x7fff398b2f40]
  86  -[NSScrollView _tileWithoutRecursing] + 47 (AppKit + 920844) 
[0x7fff398b3d0c]
  86  -[NSScrollView tile] + 708 (AppKit + 921722) [0x7fff398b407a]
  86  -[NSScrollView _setContentViewFrame:] + 322 (AppKit + 936479) 
[0x7fff398b7a1f]
  86  -[NSView setFrame:] + 478 (AppKit + 649541) [0x7fff39871945]
  86  -[NSClipView setFrameSize:] + 425 (AppKit + 1119901) [0x7fff398e469d]
  86  -[NSView setFrameSize:] + 1803 (AppKit + 652820) [0x7fff39872614]
  86  -[NSView resizeSubviewsWithOldSize:] + 515 (AppKit + 677665) 
[0x7fff39878721]
  86  -[NSView resizeWithOldSuperviewSize:] + 769 (AppKit + 678803) 
[0x7fff39878b93]
  86  -[NSView setFrame:] + 478 (AppKit + 649541) [0x7fff39871945]
  86  -[NSTextView setFrameSize:] + 138 (AppKit + 1248131) [0x7fff39903b83]
  86  -[NSTextView(NSPrivate) _setFrameSize:forceScroll:] + 1249 (AppKit + 
1249572) [0x7fff39904124]
  86  -[NSLayoutManager boundingRectForGlyphRange:inTextContainer:] + 51 
(UIFoundation + 529546) [0x7fff62f1b48a]
  86  -[NSLayoutManager(NSPrivate) 
_boundingRectForGlyphRange:inTextContainer:fast:fullLineRectsOnly:] + 106 
(UIFoundation + 475654) [0x7fff62f0e206]
  86  -[NSLayoutManager(NSPrivate) 
_rectArrayForRange:withinSelectionRange:rangeIsCharRange:singleRectOnly:fullLineRectsOnly:inTextContainer:rectCount:rangeWithinContainer:glyphsDrawOutsideLines:]
 + 58 (UIFoundation + 1307872) [0x7fff62fd94e0]
  86  -[NSLayoutManager(NSPrivate) 
_rectArrayForRange:withinSelectionRange:rangeIsCharRange:singleRectOnly:fullLineRectsOnly:inTextContainer:rectCount:rangeWithinContainer:glyphsDrawOutsideLines:rectArray:rectArrayCapacity:]
 + 729 (UIFoundation + 479726) [0x7fff62f0f1ee]
  86  _NSFastFillAllLayoutHolesForGlyphRange + 1631 (UIFoundation + 365910) 
[0x7fff62ef3556]
  86  -[NSLayoutManager(NSPrivate) 
_fillLayoutHoleForCharacterRange:desiredNumberOfLines:isSoft:] + 756 
(UIFoundation + 321587) [0x7fff62ee8833]
  86  -[NSATSTypesetter 
layoutCharactersInRange:forLayoutManager:maximumNumberOfLineFragments:] + 303 
(UIFoundation + 328237) [0x7fff62eea22d]
  86  -[NSATSTypesetter 
layoutCharactersInRange:forLayoutManager:maximumNumberOfLineFragments:] + 812 
(UIFoundation + 328746) [0x7fff62eea42a]
  86  -[NSTypesetter 
layoutCharactersInRange:forLayoutManager:maximumNumberOfLineFragments:] + 241 
(UIFoundation + 329229) [0x7fff62eea60d]
  86  -[NSTypesetter 
_layoutGlyphsInLayoutManager:startingAtGlyphIndex:maxNumberOfLineFragments:maxCharacterIndex:nextGlyphIndex:nextCharacterIndex:]
 + 2822 (UIFoundation + 162707) [0x7fff62ec1b93]
  86  -[NSTypesetter 
_getRemainingNominalParagraphRange:andParagraphSeparatorRange:charactarIndex:layoutManager:string:]
 + 1315 (UIFoundation + 330648) [0x7fff62eeab98]
  86  ??? [0]
  86  _sigtramp + 29 (libsystem_platform.dylib + 19293) [0x7fff68365b5d]
  86  sigactionSegv + 675 (main.c:623,9 in libR.dylib + 1115635) [0x10d2405f3]
  86  Re_ReadConsole + 184 (R + 64840) [0x10d02fd48]
  86  -[RController handleReadConsole:] + 158 (R + 27086) [0x10d0269ce]
  86  -[RController doProcessEvents:] + 190 (R + 50046) [0x10d02c37e]
  86  -[NSApplication(NSEvent) 
_nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361 (AppKit + 103531) 
[0x7fff397ec46b]
  86  _DPSNextEvent + 1135 (AppKit + 108413) [0x7fff397ed77d]
  86  _BlockUntilNextEventMatchingListInModeWithFilter + 64 (HIToolbox + 44150) 
[0x7fff3b455c76]
  86  ReceiveNextEventCommon + 603 (HIToolbox + 44773) [0x7fff3b455ee5]
  86  RunCurrentEventLoopInMode + 292 (HIToolbox + 45483) [0x7fff3b4561ab]
  86  CFRunLoopRunSpecific + 455 (CoreFoundation + 238930) [0x7fff3c1f7552]
  86  __CFRunLoopRun + 2130 (CoreFoundation + 241654) [0x7fff3c1f7ff6]
  86  __CFRunLoopDoTimers + 330 (CoreFoundation + 368098) [0x7fff3c216de2]
  86  __CFRunLoopDoTimer + 851 (CoreFoundation + 369308) [0x7fff3c21729c]
  86  __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20 
(CoreFoundation + 370416) [0x7fff3c2176f0]
  86  __NSFireDelayedPerform + 411 (Foundation + 414314) [0x7fff3e4a726a]
  86  _NSFastFillAllLayoutHolesForGlyphRange + 1631 (UIFoundation + 365910) 
[0x7fff62ef3556]
  86  -[NSLayoutManager(NSPrivate) 
_fillLayoutHoleForCharacterRange:desiredNumberOfLines:isSoft:] + 756 
(UIFoundation + 321587) [0x7fff62ee8833]
  86  -[NSATSTypesetter 
layoutCharactersInRange:forLayoutManager:maximumNumberOfLineFragments:] + 303 
(UIFoundation + 328237) [0x7fff62eea22d]
  86  -[NSATSTypesetter 
layoutCharactersInRange:forLayoutManager:maximumNumberOfLineFragments:] + 812 
(UIFoundation + 328746) [0x7fff62eea42a]
  86  -[NSTypesetter 
layoutCharactersInRange:forLayoutManager:maximumNumberOfLineFragments:] + 241 
(UIFoundation + 329229) [0x7fff62eea60d]
  86  -[NSTypesetter 
_layoutGlyphsInLayoutManager:startingAtGlyphIndex:maxNumberOfLineFragments:maxCharacterIndex:nextGlyphIndex:nextCharacterIndex:]
 + 2822 (UIFoundation + 162707) [0x7fff62ec1b93]
  86  -[NSTypesetter 
_getRemainingNominalParagraphRange:andParagraphSeparatorRange:charactarIndex:layoutManager:string:]
 + 1315 (UIFoundation + 330648) [0x7fff62eeab98]
  86  ??? [0]


Powerstats for:  R [10966]
UUID:            0A358543-3A28-3D0C-AF38-A3820070A210
Path:            /Applications/R.app/Contents/MacOS/R
Architecture:    x86_64
Parent:          UNKNOWN [1]
UID:             501
Footprint:       460.71 MB
Start time:      2020-09-21 14:47:26 +0100
End time:        2020-09-21 14:48:56 +0100
Num samples:     87 (100%)
CPU Time:        89.589s
Note:            Unresponsive
Primary state:   72 samples Non-Frontmost App, Non-Suppressed, Kernel mode, 
Effective Thread QoS User Interactive, Requested Thread QoS User Interactive, 
Override Thread QoS Unspecified
User Activity:   0 samples Idle, 87 samples Active
Power Source:    0 samples on Battery, 87 samples on AC
  86  start + 1 (libdyld.dylib + 91093) [0x7fff6817a3d5]
    86  main + 792 (R + 8120) [0x10d021fb8]
      86  -[REngine runREPL] + 177 (R + 74833) [0x10d032451]
        86  run_REngineRmainloop + 263 (R + 120903) [0x10d03d847]
          86  R_ReplDLLdo1 + 148 (main.c:371,6 in libR.dylib + 1106276) 
[0x10d23e164]
            86  Re_ReadConsole + 184 (R + 64840) [0x10d02fd48]
              86  -[RController handleReadConsole:] + 158 (R + 27086) 
[0x10d0269ce]
                86  -[RController doProcessEvents:] + 190 (R + 50046) 
[0x10d02c37e]
                  86  -[NSApplication(NSEvent) 
_nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361 (AppKit + 103531) 
[0x7fff397ec46b]
                    86  _DPSNextEvent + 1935 (AppKit + 109213) [0x7fff397eda9d]
                      86  AEProcessAppleEvent + 54 (HIToolbox + 84151) 
[0x7fff3b45f8b7]
                        86  aeProcessAppleEvent + 414 (AE + 35585) 
[0x7fff3d41db01]
                          86  dispatchEventAndSendReply(AEDesc const*, AEDesc*) 
+ 41 (AE + 35881) [0x7fff3d41dc29]
                            86  aeDispatchAppleEvent(AEDesc const*, AEDesc*, 
unsigned int, unsigned char*) + 1815 (AE + 37783) [0x7fff3d41e397]
                              86  _NSAppleEventManagerGenericHandler + 102 
(Foundation + 374061) [0x7fff3e49d52d]
                                86  -[NSAppleEventManager 
dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 286 (Foundation + 374448) 
[0x7fff3e49d6b0]
                                  86  -[NSApplication(NSAppleEventHandling) 
_handleCoreEvent:withReplyEvent:] + 764 (AppKit + 124647) [0x7fff397f16e7]
                                    86  -[NSApplication(NSAppleEventHandling) 
_handleAEOpenDocumentsForURLs:] + 228 (AppKit + 3479869) [0x7fff39b2493d]
                                      86  
__69-[NSApplication(NSAppleEventHandling) 
_handleAEOpenDocumentsForURLs:]_block_invoke + 886 (AppKit + 3480894) 
[0x7fff39b24d3e]
                                        86  
-[NSApplication(NSAppleEventHandling) _openURLs:withCompletionHandler:] + 998 
(AppKit + 5152848) [0x7fff39cbd050]
                                          86  
withWindowOrderingObserverHeuristic + 472 (AppKit + 5153685) 

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to