[R-SIG-Mac] another freeze on plot(1:10)

3 views
Skip to first unread message

Richard M. Heiberger

unread,
Aug 8, 2022, 10:26:40 PM8/8/22
to R list
The symptom is the same as two months ago.
Attempting to plot anything to the default device

Either with
plot(1:10)

or
quartz()
plot(1:10)

freezes R, the beach ball spins on the quartz device, and force quit is necessary.

Following the previous diagnosis, I attempted to validate the fonts in the “Font Book.app”.
Again, the progress bar doesn’t progress, so I quit the app.
This time, restore standard fonts doesn’t do anything. It says all is ok, but it also says it didn’t make any changes.

R itself, and graphics to the pdf device, work normally.

The X11() works. Therefore I do have an interactive graphics window, but no paging back the way the quartz() device permits.

Rich

[[alternative HTML version deleted]]

Richard M. Heiberger

unread,
Aug 11, 2022, 8:11:16 PM8/11/22
to R list
Still locked up. I don’t always remember X11().

Here is the latest crash log.
Can anyone suggest what to do next.


Date/Time: 2022-08-11 20:05:19.474 -0400
End time: 2022-08-11 20:06:56.295 -0400
OS Version: macOS 12.3 (Build 21E230)
Architecture: arm64e
Report Version: 35
Incident Identifier: B92A6E63-C806-485E-B95B-4B03BB547BFF

Data Source: Stackshots
Shared Cache: 00EDBAF8-9281-3F26-B94F-E6A315E3A659 slid base address 0x1b4160000, slide 0x34160000
Shared Cache: 71741BEE-0ABC-3E06-B329-770CAC959B0C slid base address 0x7ff812304000, slide 0x12304000
Shared Cache: CB70EAD7-3266-30B7-BECD-BD97E7998A2A slid base address 0x1ea318000, slide 0x6a318000

Command: R
Path: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/bin/exec/R
Codesigning ID: R
Team ID: VZLD955F6P
Architecture: arm64
Parent: Emacs [47671]
Responsible: Emacs [47671]
PID: 8424
Time Since Fork: 354s

Event: hang
Duration: 96.82s
Duration Sampled: 1.20s (process was unresponsive for 96 seconds before sampling)
Steps: 12 (100ms sampling interval)

Hardware model: MacBookAir10,1
Active cpus: 8
HW page size: 16384
VM page size: 16384

Time Awake Since Boot: 1385070s
Time Since Wake: 3929s

Total CPU Time: 2.774s (5.6G cycles, 7.8G instructions, 0.71c/i)
Advisory levels: Battery -> 3, User -> 2, ThermalPressure -> 0, Combined -> 2
Free disk space: 1298.75 GB/1858.19 GB, low space threshold 3072 MB

--------------------------------------------------
Timeline format: stacks are sorted chronologically
Use -i and -heavy to re-report with count sorting
--------------------------------------------------


Heaviest stack for the main thread of the target process:
12 start + 516 (dyld + 20616) [0x104d09088]
12 main + 32 (R + 16032) [0x10494bea0]
12 Rf_mainloop + 16 (main.c:1146,5 in libR.dylib + 1081808) [0x1052901d0]
12 run_Rmainloop + 100 (main.c:1139,5 in libR.dylib + 1081380) [0x105290024]
12 R_ReplConsole + 172 (main.c:316,11 in libR.dylib + 1081580) [0x1052900ec]
12 Rf_ReplIteration + 764 (main.c:264,2 in libR.dylib + 1076156) [0x10528ebbc]
12 Rf_eval + 1308 (eval.c:871,12 in libR.dylib + 738972) [0x10523c69c]
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c]
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4]
12 Rf_eval + 1096 (eval.c:823,12 in libR.dylib + 738760) [0x10523c5c8]
12 do_begin + 420 (eval.c:2539,10 in libR.dylib + 868708) [0x10525c164]
12 Rf_eval + 1308 (eval.c:871,12 in libR.dylib + 738972) [0x10523c69c]
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c]
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4]
12 Rf_eval + 1096 (eval.c:823,12 in libR.dylib + 738760) [0x10523c5c8]
12 do_begin + 420 (eval.c:2539,10 in libR.dylib + 868708) [0x10525c164]
12 Rf_eval + 1096 (eval.c:823,12 in libR.dylib + 738760) [0x10523c5c8]
12 do_set + 360 (eval.c:2991,8 in libR.dylib + 870120) [0x10525c6e8]
12 Rf_eval + 1308 (eval.c:871,12 in libR.dylib + 738972) [0x10523c69c]
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c]
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4]
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8]
12 bcEval + 27568 (eval.c:7104,12 in libR.dylib + 767408) [0x1052435b0]
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c]
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4]
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8]
12 bcEval + 30128 (eval.c:7156,15 in libR.dylib + 769968) [0x105243fb0]
12 do_usemethod + 744 (objects.c:565,9 in libR.dylib + 1169000) [0x1052a5668]
12 Rf_usemethod + 768 (objects.c in libR.dylib + 1167296) [0x1052a4fc0]
12 dispatchMethod + 768 (objects.c:436,16 in libR.dylib + 1168128) [0x1052a5300]
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c]
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4]
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8]
12 bcEval + 27568 (eval.c:7104,12 in libR.dylib + 767408) [0x1052435b0]
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c]
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4]
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8]
12 bcEval + 27568 (eval.c:7104,12 in libR.dylib + 767408) [0x1052435b0]
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c]
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4]
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8]
12 bcEval + 22680 (eval.c:7052,16 in libR.dylib + 762520) [0x105242298]
12 Rf_eval + 432 (eval.c:784,6 in libR.dylib + 738096) [0x10523c330]
12 forcePromise + 164 (eval.c:568,8 in libR.dylib + 850212) [0x105257924]
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8]
12 bcEval + 27568 (eval.c:7104,12 in libR.dylib + 767408) [0x1052435b0]
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c]
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4]
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8]
12 bcEval + 27568 (eval.c:7104,12 in libR.dylib + 767408) [0x1052435b0]
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c]
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4]
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8]
12 bcEval + 27568 (eval.c:7104,12 in libR.dylib + 767408) [0x1052435b0]
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c]
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4]
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8]
12 bcEval + 30128 (eval.c:7156,15 in libR.dylib + 769968) [0x105243fb0]
12 do_usemethod + 744 (objects.c:565,9 in libR.dylib + 1169000) [0x1052a5668]
12 Rf_usemethod + 768 (objects.c in libR.dylib + 1167296) [0x1052a4fc0]
12 dispatchMethod + 768 (objects.c:436,16 in libR.dylib + 1168128) [0x1052a5300]
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c]
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4]
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8]
12 bcEval + 11048 (eval.c:6744,4 in libR.dylib + 750888) [0x10523f528]
12 bc_check_sigint + 4 (eval.c:5546,5 in libR.dylib + 750888) [0x10523f528]
12 R_CheckUserInterrupt + 92 (errors.c:153,5 in libR.dylib + 699612) [0x105232cdc]
12 R_ProcessEvents + 48 (sys-unix.c:958,50 in libR.dylib + 2014640) [0x105373db0]
12 cocoa_process_events + 132 (grDevices.so + 197060) [0x104ca41c4]
12 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1328 (AppKit + 263364) [0x1b70b24c4]
12 _DPSNextEvent + 860 (AppKit + 269260) [0x1b70b3bcc]
12 _BlockUntilNextEventMatchingListInModeWithFilter + 72 (HIToolbox + 211208) [0x1bd174908]
12 ReceiveNextEventCommon + 324 (HIToolbox + 211556) [0x1bd174a64]
12 RunCurrentEventLoopInMode + 292 (HIToolbox + 212440) [0x1bd174dd8]
12 CFRunLoopRunSpecific + 600 (CoreFoundation + 533648) [0x1b4554490]
12 __CFRunLoopRun + 772 (CoreFoundation + 536372) [0x1b4554f34]
12 __CFRunLoopDoObservers + 592 (CoreFoundation + 539136) [0x1b4555a00]
12 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36 (CoreFoundation + 539568) [0x1b4555bb0]
12 ___NSRunLoopObserverCreateWithHandler_block_invoke + 64 (AppKit + 9506400) [0x1b7982e60]
12 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 304 (AppKit + 1756464) [0x1b721ed30]
12 CA::Transaction::commit() + 704 (QuartzCore + 11548) [0x1bb3b6d1c]
12 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 464 (QuartzCore + 1493564) [0x1bb520a3c]
12 CA::Layer::display_if_needed(CA::Transaction*) + 756 (QuartzCore + 135988) [0x1bb3d5334]
12 -[_NSViewBackingLayer display] + 644 (AppKit + 1131108) [0x1b7186264]
12 -[_NSBackingLayer display] + 372 (AppKit + 1683552) [0x1b720d060]
12 -[CALayer _display] + 1856 (QuartzCore + 139908) [0x1bb3d6284]
12 invocation function for block in CA::Layer::display_() + 64 (QuartzCore + 529800) [0x1bb435588]
12 CABackingStoreUpdate_ + 484 (QuartzCore + 144088) [0x1bb3d72d8]
12 -[NSView(NSLayerKitGlue) drawLayer:inContext:] + 344 (AppKit + 1684136) [0x1b720d2a8]
12 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 688 (AppKit + 1685012) [0x1b720d614]
12 -[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:] + 1308 (AppKit + 9258016) [0x1b7946420]
12 _NSViewDrawRect + 148 (AppKit + 1687200) [0x1b720dea0]
12 -[QuartzCocoaView drawRect:] + 484 (grDevices.so + 190372) [0x104ca27a4]
12 QuartzDevice_ReplayDisplayList + 64 (grDevices.so + 167168) [0x104c9cd00]
12 GEplayDisplayList + 316 (engine.c:3017,7 in libR.dylib + 623484) [0x10522037c]
12 do_dotcallgr + 76 (dotcode.c:1389,5 in libR.dylib + 551116) [0x10520e8cc]
12 do_dotcall + 316 (dotcode.c:1284,11 in libR.dylib + 549884) [0x10520e3fc]
12 R_doDotCall + 268 (dotcode.c:604,17 in libR.dylib + 546060) [0x10520d50c]
12 L_setviewport + 144 (grid.so + 31888) [0x10500fc90]
12 doSetViewport + 332 (grid.so + 29644) [0x10500f3cc]
12 calcViewportTransform + 1556 (grid.so + 121940) [0x105025c54]
12 calcViewportLayout + 236 (grid.so + 85484) [0x10501cdec]
12 findRelWidths + 92 (grid.so + 80412) [0x10501ba1c]
12 pureNullUnit + 892 (grid.so + 97148) [0x10501fb7c]
12 Rf_eval + 1308 (eval.c:871,12 in libR.dylib + 738972) [0x10523c69c]
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c]
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4]
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8]
12 bcEval + 27568 (eval.c:7104,12 in libR.dylib + 767408) [0x1052435b0]
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c]
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4]
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8]
12 bcEval + 30128 (eval.c:7156,15 in libR.dylib + 769968) [0x105243fb0]
12 do_usemethod + 744 (objects.c:565,9 in libR.dylib + 1169000) [0x1052a5668]
12 Rf_usemethod + 768 (objects.c in libR.dylib + 1167296) [0x1052a4fc0]
12 dispatchMethod + 768 (objects.c:436,16 in libR.dylib + 1168128) [0x1052a5300]
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c]
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4]
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8]
12 bcEval + 27568 (eval.c:7104,12 in libR.dylib + 767408) [0x1052435b0]
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c]
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4]
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8]
12 bcEval + 28396 (eval.c:7093,12 in libR.dylib + 768236) [0x1052438ec]
12 do_dotcall + 316 (dotcode.c:1284,11 in libR.dylib + 549884) [0x10520e3fc]
12 R_doDotCall + 1664 (dotcode.c:622,17 in libR.dylib + 547456) [0x10520da80]
12 gridText + 1176 (grid.so + 63448) [0x1050177d8]
12 textRect + 368 (grid.so + 116784) [0x105024830]
12 GEStrHeight + 260 (engine.c:2670,2 in libR.dylib + 611076) [0x10521d304]
12 GEMetricInfo + 268 (engine.c:2563,2 in libR.dylib + 610572) [0x10521d10c]
12 RQuartz_MetricInfo + 116 (grDevices.so + 173620) [0x104c9e634]
12 RQuartz_Font + 800 (grDevices.so + 176224) [0x104c9f060]
12 ATSFontFindFromName + 48 (ATS + 245484) [0x1c1dcceec]
12 FOLazyInitialize + 432 (ATS + 8288) [0x1c1d93060]
12 NewHookUpWithATSServer(unsigned char) + 468 (ATS + 10000) [0x1c1d93710]
12 RendezvousWithServer(char*) + 316 (ATS + 10552) [0x1c1d93938]
12 SendFontManagementMessageWithMessageStatus + 208 (ATS + 10892) [0x1c1d93a8c]
12 mach_msg_trap + 8 (libsystem_kernel.dylib + 6352) [0x1b444c8d0]
*12 ??? (kernel.release.t8101 + 30712) [0xfffffe00078937f8]
*12 ??? (kernel.release.t8101 + 1628744) [0xfffffe0007a19a48]
*12 ??? (kernel.release.t8101 + 1584016) [0xfffffe0007a0eb90]
*12 ??? (kernel.release.t8101 + 312716) [0xfffffe00078d858c]
*12 ??? (kernel.release.t8101 + 200820) [0xfffffe00078bd074]
*12 ??? (kernel.release.t8101 + 223200) [0xfffffe00078c27e0]
*12 ??? (kernel.release.t8101 + 557240) [0xfffffe00079140b8]
*12 ??? (kernel.release.t8101 + 564156) [0xfffffe0007915bbc]


Process: R [8424] [unique pid 705395]
UUID: C5EC35DD-BC8F-3AEA-A5AF-5D6585E7AC5D
Path: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/bin/exec/R
Codesigning ID: R
Team ID: VZLD955F6P
Shared Cache: 00EDBAF8-9281-3F26-B94F-E6A315E3A659 slid base address 0x1b4160000, slide 0x34160000
Architecture: arm64
Parent: Emacs [47671]
Responsible: Emacs [47671]
UID: 501
Footprint: 287.08 MB
Time Since Fork: 354s
Num samples: 12 (1-12)
CPU Time: <0.001s (382.3K cycles, 126.6K instructions, 3.02c/i)
Note: Unresponsive for 96 seconds before sampling
Note: 2 idle work queue threads omitted

Thread 0xabb843 DispatchQueue "com.apple.main-thread"(1) 12 samples (1-12) priority 46 (base 46)
<thread QoS user interactive (requested user interactive), process unclamped, IO tier 0>
12 start + 516 (dyld + 20616) [0x104d09088] 1-12
12 main + 32 (R + 16032) [0x10494bea0] 1-12
12 Rf_mainloop + 16 (main.c:1146,5 in libR.dylib + 1081808) [0x1052901d0] 1-12
12 run_Rmainloop + 100 (main.c:1139,5 in libR.dylib + 1081380) [0x105290024] 1-12
12 R_ReplConsole + 172 (main.c:316,11 in libR.dylib + 1081580) [0x1052900ec] 1-12
12 Rf_ReplIteration + 764 (main.c:264,2 in libR.dylib + 1076156) [0x10528ebbc] 1-12
12 Rf_eval + 1308 (eval.c:871,12 in libR.dylib + 738972) [0x10523c69c] 1-12
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c] 1-12
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4] 1-12
12 Rf_eval + 1096 (eval.c:823,12 in libR.dylib + 738760) [0x10523c5c8] 1-12
12 do_begin + 420 (eval.c:2539,10 in libR.dylib + 868708) [0x10525c164] 1-12
12 Rf_eval + 1308 (eval.c:871,12 in libR.dylib + 738972) [0x10523c69c] 1-12
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c] 1-12
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4] 1-12
12 Rf_eval + 1096 (eval.c:823,12 in libR.dylib + 738760) [0x10523c5c8] 1-12
12 do_begin + 420 (eval.c:2539,10 in libR.dylib + 868708) [0x10525c164] 1-12
12 Rf_eval + 1096 (eval.c:823,12 in libR.dylib + 738760) [0x10523c5c8] 1-12
12 do_set + 360 (eval.c:2991,8 in libR.dylib + 870120) [0x10525c6e8] 1-12
12 Rf_eval + 1308 (eval.c:871,12 in libR.dylib + 738972) [0x10523c69c] 1-12
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c] 1-12
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4] 1-12
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8] 1-12
12 bcEval + 27568 (eval.c:7104,12 in libR.dylib + 767408) [0x1052435b0] 1-12
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c] 1-12
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4] 1-12
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8] 1-12
12 bcEval + 30128 (eval.c:7156,15 in libR.dylib + 769968) [0x105243fb0] 1-12
12 do_usemethod + 744 (objects.c:565,9 in libR.dylib + 1169000) [0x1052a5668] 1-12
12 Rf_usemethod + 768 (objects.c in libR.dylib + 1167296) [0x1052a4fc0] 1-12
12 dispatchMethod + 768 (objects.c:436,16 in libR.dylib + 1168128) [0x1052a5300] 1-12
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c] 1-12
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4] 1-12
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8] 1-12
12 bcEval + 27568 (eval.c:7104,12 in libR.dylib + 767408) [0x1052435b0] 1-12
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c] 1-12
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4] 1-12
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8] 1-12
12 bcEval + 27568 (eval.c:7104,12 in libR.dylib + 767408) [0x1052435b0] 1-12
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c] 1-12
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4] 1-12
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8] 1-12
12 bcEval + 22680 (eval.c:7052,16 in libR.dylib + 762520) [0x105242298] 1-12
12 Rf_eval + 432 (eval.c:784,6 in libR.dylib + 738096) [0x10523c330] 1-12
12 forcePromise + 164 (eval.c:568,8 in libR.dylib + 850212) [0x105257924] 1-12
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8] 1-12
12 bcEval + 27568 (eval.c:7104,12 in libR.dylib + 767408) [0x1052435b0] 1-12
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c] 1-12
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4] 1-12
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8] 1-12
12 bcEval + 27568 (eval.c:7104,12 in libR.dylib + 767408) [0x1052435b0] 1-12
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c] 1-12
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4] 1-12
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8] 1-12
12 bcEval + 27568 (eval.c:7104,12 in libR.dylib + 767408) [0x1052435b0] 1-12
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c] 1-12
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4] 1-12
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8] 1-12
12 bcEval + 30128 (eval.c:7156,15 in libR.dylib + 769968) [0x105243fb0] 1-12
12 do_usemethod + 744 (objects.c:565,9 in libR.dylib + 1169000) [0x1052a5668] 1-12
12 Rf_usemethod + 768 (objects.c in libR.dylib + 1167296) [0x1052a4fc0] 1-12
12 dispatchMethod + 768 (objects.c:436,16 in libR.dylib + 1168128) [0x1052a5300] 1-12
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c] 1-12
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4] 1-12
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8] 1-12
12 bcEval + 11048 (eval.c:6744,4 in libR.dylib + 750888) [0x10523f528] 1-12
12 bc_check_sigint + 4 (eval.c:5546,5 in libR.dylib + 750888) [0x10523f528] 1-12
12 R_CheckUserInterrupt + 92 (errors.c:153,5 in libR.dylib + 699612) [0x105232cdc] 1-12
12 R_ProcessEvents + 48 (sys-unix.c:958,50 in libR.dylib + 2014640) [0x105373db0] 1-12
12 cocoa_process_events + 132 (grDevices.so + 197060) [0x104ca41c4] 1-12
12 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1328 (AppKit + 263364) [0x1b70b24c4] 1-12
12 _DPSNextEvent + 860 (AppKit + 269260) [0x1b70b3bcc] 1-12
12 _BlockUntilNextEventMatchingListInModeWithFilter + 72 (HIToolbox + 211208) [0x1bd174908] 1-12
12 ReceiveNextEventCommon + 324 (HIToolbox + 211556) [0x1bd174a64] 1-12
12 RunCurrentEventLoopInMode + 292 (HIToolbox + 212440) [0x1bd174dd8] 1-12
12 CFRunLoopRunSpecific + 600 (CoreFoundation + 533648) [0x1b4554490] 1-12
12 __CFRunLoopRun + 772 (CoreFoundation + 536372) [0x1b4554f34] 1-12
12 __CFRunLoopDoObservers + 592 (CoreFoundation + 539136) [0x1b4555a00] 1-12
12 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36 (CoreFoundation + 539568) [0x1b4555bb0] 1-12
12 ___NSRunLoopObserverCreateWithHandler_block_invoke + 64 (AppKit + 9506400) [0x1b7982e60] 1-12
12 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 304 (AppKit + 1756464) [0x1b721ed30] 1-12
12 CA::Transaction::commit() + 704 (QuartzCore + 11548) [0x1bb3b6d1c] 1-12
12 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 464 (QuartzCore + 1493564) [0x1bb520a3c] 1-12
12 CA::Layer::display_if_needed(CA::Transaction*) + 756 (QuartzCore + 135988) [0x1bb3d5334] 1-12
12 -[_NSViewBackingLayer display] + 644 (AppKit + 1131108) [0x1b7186264] 1-12
12 -[_NSBackingLayer display] + 372 (AppKit + 1683552) [0x1b720d060] 1-12
12 -[CALayer _display] + 1856 (QuartzCore + 139908) [0x1bb3d6284] 1-12
12 invocation function for block in CA::Layer::display_() + 64 (QuartzCore + 529800) [0x1bb435588] 1-12
12 CABackingStoreUpdate_ + 484 (QuartzCore + 144088) [0x1bb3d72d8] 1-12
12 -[NSView(NSLayerKitGlue) drawLayer:inContext:] + 344 (AppKit + 1684136) [0x1b720d2a8] 1-12
12 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 688 (AppKit + 1685012) [0x1b720d614] 1-12
12 -[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:] + 1308 (AppKit + 9258016) [0x1b7946420] 1-12
12 _NSViewDrawRect + 148 (AppKit + 1687200) [0x1b720dea0] 1-12
12 -[QuartzCocoaView drawRect:] + 484 (grDevices.so + 190372) [0x104ca27a4] 1-12
12 QuartzDevice_ReplayDisplayList + 64 (grDevices.so + 167168) [0x104c9cd00] 1-12
12 GEplayDisplayList + 316 (engine.c:3017,7 in libR.dylib + 623484) [0x10522037c] 1-12
12 do_dotcallgr + 76 (dotcode.c:1389,5 in libR.dylib + 551116) [0x10520e8cc] 1-12
12 do_dotcall + 316 (dotcode.c:1284,11 in libR.dylib + 549884) [0x10520e3fc] 1-12
12 R_doDotCall + 268 (dotcode.c:604,17 in libR.dylib + 546060) [0x10520d50c] 1-12
12 L_setviewport + 144 (grid.so + 31888) [0x10500fc90] 1-12
12 doSetViewport + 332 (grid.so + 29644) [0x10500f3cc] 1-12
12 calcViewportTransform + 1556 (grid.so + 121940) [0x105025c54] 1-12
12 calcViewportLayout + 236 (grid.so + 85484) [0x10501cdec] 1-12
12 findRelWidths + 92 (grid.so + 80412) [0x10501ba1c] 1-12
12 pureNullUnit + 892 (grid.so + 97148) [0x10501fb7c] 1-12
12 Rf_eval + 1308 (eval.c:871,12 in libR.dylib + 738972) [0x10523c69c] 1-12
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c] 1-12
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4] 1-12
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8] 1-12
12 bcEval + 27568 (eval.c:7104,12 in libR.dylib + 767408) [0x1052435b0] 1-12
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c] 1-12
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4] 1-12
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8] 1-12
12 bcEval + 30128 (eval.c:7156,15 in libR.dylib + 769968) [0x105243fb0] 1-12
12 do_usemethod + 744 (objects.c:565,9 in libR.dylib + 1169000) [0x1052a5668] 1-12
12 Rf_usemethod + 768 (objects.c in libR.dylib + 1167296) [0x1052a4fc0] 1-12
12 dispatchMethod + 768 (objects.c:436,16 in libR.dylib + 1168128) [0x1052a5300] 1-12
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c] 1-12
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4] 1-12
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8] 1-12
12 bcEval + 27568 (eval.c:7104,12 in libR.dylib + 767408) [0x1052435b0] 1-12
12 Rf_applyClosure + 524 (eval.c:1844,16 in libR.dylib + 852492) [0x10525820c] 1-12
12 R_execClosure + 3156 (eval.c in libR.dylib + 858580) [0x1052599d4] 1-12
12 Rf_eval + 584 (eval.c:748,8 in libR.dylib + 738248) [0x10523c3c8] 1-12
12 bcEval + 28396 (eval.c:7093,12 in libR.dylib + 768236) [0x1052438ec] 1-12
12 do_dotcall + 316 (dotcode.c:1284,11 in libR.dylib + 549884) [0x10520e3fc] 1-12
12 R_doDotCall + 1664 (dotcode.c:622,17 in libR.dylib + 547456) [0x10520da80] 1-12
12 gridText + 1176 (grid.so + 63448) [0x1050177d8] 1-12
12 textRect + 368 (grid.so + 116784) [0x105024830] 1-12
12 GEStrHeight + 260 (engine.c:2670,2 in libR.dylib + 611076) [0x10521d304] 1-12
12 GEMetricInfo + 268 (engine.c:2563,2 in libR.dylib + 610572) [0x10521d10c] 1-12
12 RQuartz_MetricInfo + 116 (grDevices.so + 173620) [0x104c9e634] 1-12
12 RQuartz_Font + 800 (grDevices.so + 176224) [0x104c9f060] 1-12
12 ATSFontFindFromName + 48 (ATS + 245484) [0x1c1dcceec] 1-12
12 FOLazyInitialize + 432 (ATS + 8288) [0x1c1d93060] 1-12
12 NewHookUpWithATSServer(unsigned char) + 468 (ATS + 10000) [0x1c1d93710] 1-12
12 RendezvousWithServer(char*) + 316 (ATS + 10552) [0x1c1d93938] 1-12
12 SendFontManagementMessageWithMessageStatus + 208 (ATS + 10892) [0x1c1d93a8c] 1-12
12 mach_msg_trap + 8 (libsystem_kernel.dylib + 6352) [0x1b444c8d0] 1-12
*12 ??? (kernel.release.t8101 + 30712) [0xfffffe00078937f8] 1-12
*12 ??? (kernel.release.t8101 + 1628744) [0xfffffe0007a19a48] 1-12
*12 ??? (kernel.release.t8101 + 1584016) [0xfffffe0007a0eb90] 1-12
*12 ??? (kernel.release.t8101 + 312716) [0xfffffe00078d858c] 1-12
*12 ??? (kernel.release.t8101 + 200820) [0xfffffe00078bd074] 1-12
*12 ??? (kernel.release.t8101 + 223200) [0xfffffe00078c27e0] 1-12
*12 ??? (kernel.release.t8101 + 557240) [0xfffffe00079140b8] 1-12
*12 ??? (kernel.release.t8101 + 564156) [0xfffffe0007915bbc] (blocked by turnstile with priority 47 waiting for atsd [2369] [unique pid 599749] thread 0x8d0f6a) 1-12

Thread 0xabb958 12 samples (1-12) priority 31 (base 31) cpu time <0.001s (166.7K cycles, 42.7K instructions, 3.90c/i)
<thread QoS default (requested default), process unclamped, IO tier 0>
12 thread_start + 8 (libsystem_pthread.dylib + 8332) [0x1b448508c] 1-12
12 _pthread_start + 148 (libsystem_pthread.dylib + 29292) [0x1b448a26c] 1-12
12 clic_thread_func + 112 (thread.c:37,5 in cli.so + 45360) [0x10748f130] 1-12
12 __semwait_signal + 8 (libsystem_kernel.dylib + 20620) [0x1b445008c] 1-12
*12 ??? (kernel.release.t8101 + 612700) [0xfffffe000792195c] 1-12

Thread 0xabc151 12 samples (1-12) priority 31 (base 31) cpu time <0.001s (215.5K cycles, 83.9K instructions, 2.57c/i)
<thread QoS default (requested default), process unclamped, IO tier 0>
12 thread_start + 8 (libsystem_pthread.dylib + 8332) [0x1b448508c] 1-12
12 _pthread_start + 148 (libsystem_pthread.dylib + 29292) [0x1b448a26c] 1-12
12 __NSThread__start__ + 808 (Foundation + 378652) [0x1b542971c] 1-12
12 __select + 8 (libsystem_kernel.dylib + 50616) [0x1b44575b8] 1-12
*12 ??? (kernel.release.t8101 + 5993452) [0xfffffe0007e433ec] 1-12

Binary Images:
0x104948000 - 0x104953fff R (0) <C5EC35DD-BC8F-3AEA-A5AF-5D6585E7AC5D> /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/bin/exec/R
0x104c74000 - 0x104cbbfff grDevices.so (0) <3AE53239-B133-3B06-8CD0-CD1BCD1B0A7B> /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/grDevices/libs/grDevices.so
0x104d04000 - 0x104d7ffff dyld (955) <FBB89662-E6F2-3434-B542-F75185AC5E74> /usr/lib/dyld
0x105008000 - 0x10502ffff grid.so (0) <588A9F0C-D14D-3ED1-B81A-6AC0818C6130> /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/grid/libs/grid.so
0x105188000 - 0x1055c7fff libR.dylib <02BAE8C9-EC83-324F-B773-939E6AC2E7BB> /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libR.dylib
0x107484000 - 0x1074abfff cli.so <3CE14322-6F50-3BB0-838D-CD6874EB3BFC> /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/cli/libs/cli.so
0x1b444b000 - 0x1b4482fff libsystem_kernel.dylib (8020.101.4) <1D7B3B8E-75A1-34EA-AA52-9F7C23155C55> /usr/lib/system/libsystem_kernel.dylib
0x1b4483000 - 0x1b448ffff libsystem_pthread.dylib (486.100.11) <CEE8BC77-6923-34D9-89A3-6F8F7279605E> /usr/lib/system/libsystem_pthread.dylib
0x1b44d2000 - 0x1b4a17fff com.apple.CoreFoundation 6.9 (1858.112) <8E1809FF-F5B1-3D9E-BE15-F2E7B1D8CE51> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x1b53cd000 - 0x1b57bdfff com.apple.Foundation 6.9 (1858.112) <589677DD-19B7-3F93-B2B6-EED7117729CA> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x1b7072000 - 0x1b7f29fff com.apple.AppKit 6.9 (2113.40.126) <465B9570-6646-31EA-A082-AB0DFA538966> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x1bb3b4000 - 0x1bb6ddfff com.apple.QuartzCore 1.11 (964.19.5) <B3F9D8BC-5D97-3A56-8797-FD3E8847A5B0> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x1bd141000 - 0x1bd474fff com.apple.HIToolbox 2.1.1 (1113.9) <4A1D1F30-C79D-3502-B51F-9792ADBD8E06> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x1c1d91000 - 0x1c1e00fff com.apple.ApplicationServices.ATS 377 (533.3.0.1) <6B09B034-30FA-3EC8-B82B-22A280E7EC5B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
*0xfffffe000788c000 - 0xfffffe0008117fff kernel.release.t8101 (8020.101.4) <F027EB2E-26A7-3A4E-87FA-6A745379530C>__TEXT_EXEC /System/Library/Kernels/kernel.release.t8101

John Fox

unread,
Aug 11, 2022, 10:11:11 PM8/11/22
to Richard M. Heiberger, R list
Hi Rich,

I imagine that there are other people who will make more sense out of
the crash report than I, but one thing that I noticed immediately was
that you're using R from Emacs.

I've been using R 4.2.x arm64 builds extensively on two up-to-date Macs,
a MacBook Pro and a Mac Studio desktop, both with M1 chips. I use both
RStudio and the R.app GUI. I haven't observed anything like the problem
you're experiencing.

Does the problem occur when you're not using Emacs?

I hope this is of some help,
John
> _______________________________________________
> R-SIG-Mac mailing list
> R-SI...@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
--
John Fox, Professor Emeritus
McMaster University
Hamilton, Ontario, Canada
web: https://socialsciences.mcmaster.ca/jfox/

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

Richard M. Heiberger

unread,
Aug 11, 2022, 10:22:41 PM8/11/22
to John Fox, R list
Dear John,
Yes, that is an important question.
It occurs both from the R app and from the terminal as well as from emacs.

The issue is very specifically the default graphics device, either by specification quartz() or by just drawing something.
Two months ago, it was because the Mac fonts got damaged. I reset them and all was well.
This time the crash report doesn’t show the fonts problem, but the font checking app is again not working correctly.
The progress bar stops at 1% and never moves. This time I attempted to repair the fonts. The repair tool
said the fonts are ok and that it didn’t do anything.

Rich
From: John Fox <jf...@mcmaster.ca>
Date: Thursday, August 11, 2022 at 22:10
To: Richard M. Heiberger <r...@temple.edu>
Cc: R list <r-si...@r-project.org>
Subject: [External] Re: [R-SIG-Mac] another freeze on plot(1:10)
> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-sig-mac&amp;data=05%7C01%7Crmh%40temple.edu%7Ccd9996b47598454a25af08da7c07dcbc%7C716e81efb52244738e3110bd02ccf6e5%7C0%7C0%7C637958670489868438%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=S%2FgNjXuLuOXlNnMYXcFRkmVyGMCBzYgXltWd4TJ%2FRxU%3D&amp;reserved=0
--
John Fox, Professor Emeritus
McMaster University
Hamilton, Ontario, Canada
web: https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsocialsciences.mcmaster.ca%2Fjfox%2F&amp;data=05%7C01%7Crmh%40temple.edu%7Ccd9996b47598454a25af08da7c07dcbc%7C716e81efb52244738e3110bd02ccf6e5%7C0%7C0%7C637958670489868438%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=2j85iMhwBCTegBloWldnTUv67cxiCzY0NBI9Yd21Bcw%3D&amp;reserved=0

Simon Urbanek

unread,
Aug 11, 2022, 11:10:53 PM8/11/22
to Richard M. Heiberger, R list
Rich,

yes, it is a font issue again - the hang is in

ATSFontFindFromName + 48 (ATS + 245484) [0x1c1dcceec] 1-12
FOLazyInitialize + 432 (ATS + 8288) [0x1c1d93060] 1-12
NewHookUpWithATSServer(unsigned char) + 468 (ATS + 10000) [0x1c1d93710] 1-12
RendezvousWithServer(char*)

As you noticed, something is still messed up with your fonts, because Apple's font server in macOS is hanging (as you check tool does). Unfortunately I don't really see how to debug that remotely. You could move away ~/Library/Fonts to see if this is an issue with one of your user-installed fonts...

Cheers,
Simon

Richard M. Heiberger

unread,
Aug 11, 2022, 11:55:05 PM8/11/22
to Simon Urbanek, R list
This is ~/Library
drwxr-xr-x+ 9 rmh staff 288 Feb 5 2021 FontCollections
drwxr-xr-x+ 2 rmh staff 64 Feb 24 2021 Fonts ## empty
drwxr-xr-x 2 rmh staff 64 Apr 12 2014 Fonts (Removed) ## empty
drwxr-xr-x 2 rmh staff 64 May 21 2013 Fonts Disabled ## empty

/Users/rmh/Library/FontCollections:
total used in directory 56 available 1.3 TiB
drwxr-xr-x+ 9 rmh staff 288 Feb 5 2021 .
drwx------@ 121 rmh staff 3872 May 1 23:39 ..
-rw-r--r-- 1 rmh staff 957 Jun 21 2012 Fixed Width.collection
-rw-r--r-- 1 rmh staff 872 Jun 21 2012 Fun.collection
-rw-r--r-- 1 rmh staff 815 Jun 21 2012 Modern.collection
-rw-r--r-- 1 rmh staff 856 Jun 21 2012 PDF.collection
-rw-r--r-- 1 rmh staff 1055 Jun 21 2012 Traditional.collection
-rw-r--r-- 1 rmh staff 1164 Jun 21 2012 Web.collection
-rw-r--r--@ 1 rmh staff 1654 Feb 5 2021 com.apple.Recents.collection

It won’t let me rename FontCollections

Would it be useful to trace grDevices::quartz
and step through to see which of its lines causes the freeze?

Would starting with
quartz(family=”something not default”) ## as discussed in ?quartz:Note
be likely to work?

Or type?


I am looking at root
/Library/Fonts (Removed):
total used in directory 0 available 1.3 TiB
drwxr-xr-x 5 root wheel 160 Aug 8 19:03 .
drwxr-xr-x 78 root wheel 2496 Mar 25 15:15 ..
drwxr-xr-x 7 root wheel 224 Apr 12 2014 04-12-2014 21_55_16 EDT
drwxr-xr-x 6 root wheel 192 Jun 7 13:55 06-07-2022 13_55_21 EDT
drwxr-xr-x 6 root wheel 192 Aug 8 19:03 08-08-2022 19_03_37 EDT

I don’t know how to interpret those. The Jun and August 2022 are last time and this time when
I attempted to use the Font Tool. I don’t understand the 2014 item. That is seven years before this machine was bulit. I did have my first mac then and have no recall of having touched the font app with that machine.

Rich
From: Simon Urbanek <simon....@R-project.org>
Date: Thursday, August 11, 2022 at 23:10
To: Richard M. Heiberger <r...@temple.edu>
Cc: John Fox <jf...@mcmaster.ca>, R list <r-si...@r-project.org>
Subject: [External] Re: [R-SIG-Mac] [External] Re: another freeze on plot(1:10)
>> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-sig-mac&amp;data=05%7C01%7Crmh%40temple.edu%7C4012ce80efb24fee1dd408da7c1032f2%7C716e81efb52244738e3110bd02ccf6e5%7C0%7C0%7C637958706281485040%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=9hF%2FajTNBNRZTYvybiPKLHvkRYPGHctJq2wVvkISpLk%3D&amp;reserved=0
> --
> John Fox, Professor Emeritus
> McMaster University
> Hamilton, Ontario, Canada
> web: https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsocialsciences.mcmaster.ca%2Fjfox%2F&amp;data=05%7C01%7Crmh%40temple.edu%7C4012ce80efb24fee1dd408da7c1032f2%7C716e81efb52244738e3110bd02ccf6e5%7C0%7C0%7C637958706281485040%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=jflihB1ylxr0N%2FjAQyxVko32TvxhZSNsD542RnQ6dCY%3D&amp;reserved=0
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SI...@r-project.org
> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-sig-mac&amp;data=05%7C01%7Crmh%40temple.edu%7C4012ce80efb24fee1dd408da7c1032f2%7C716e81efb52244738e3110bd02ccf6e5%7C0%7C0%7C637958706281641251%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=%2F7jR6ov64YiR8U9zLbTgdgIGoQXoKdS%2B5X4F0TBpkpw%3D&amp;reserved=0

Richard M. Heiberger

unread,
Aug 12, 2022, 10:40:43 AM8/12/22
to Simon Urbanek, R list
I tried an alternative.
I logged into my alternate account (which I created a long time ago for just this type of problem)
quartz() works normally.
Font Book App validates all fonts normally.

The ~/Library/Fonts/ is empty
~/Library/FontCollections/ has 6 items
On my normal account it has 7 items (with com.apple.Recents.collection) being the extra.
The other two Font directories (Removed and Disabled) aren’t here in the alternate account.

I logged out and went back to my normal account.
Validating the fonts still freezes at 1% of the progress bar.
I renamed com.apple.Recents.collection to SomethingElse.com.apple.Recents.collection
And opened quartz()
and R locked up.

I closed R and reopened it again (after the renaming) and R still freezes.when I plot(1:10)

I also tried opening quartz(), then X11(), then I plotted on X(11) it worked normally,
Then I dev.set() back to the quartz. When I plot(1:10) it locks up.
So it is not the existence of the quartz device, it is the attempt to use it that causes the freeze.

Rich
>> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-sig-mac&amp;data=05%7C01%7Crmh%40temple.edu%7Cb22cb38cc254405c434508da7c166fa3%7C716e81efb52244738e3110bd02ccf6e5%7C0%7C0%7C637958733089159823%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=Xc16XtcE2o32PhdQGwGe%2BRIuQxuUFkgEii6X1TQidgw%3D&amp;reserved=0
> --
> John Fox, Professor Emeritus
> McMaster University
> Hamilton, Ontario, Canada
> web: https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsocialsciences.mcmaster.ca%2Fjfox%2F&amp;data=05%7C01%7Crmh%40temple.edu%7Cb22cb38cc254405c434508da7c166fa3%7C716e81efb52244738e3110bd02ccf6e5%7C0%7C0%7C637958733089159823%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=%2FD%2FWHN%2Fc1sSkFsURLYo3JibLaUdumPSPQqufKaRrksY%3D&amp;reserved=0
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SI...@r-project.org
> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-sig-mac&amp;data=05%7C01%7Crmh%40temple.edu%7Cb22cb38cc254405c434508da7c166fa3%7C716e81efb52244738e3110bd02ccf6e5%7C0%7C0%7C637958733089159823%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=Xc16XtcE2o32PhdQGwGe%2BRIuQxuUFkgEii6X1TQidgw%3D&amp;reserved=0

[[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
R-SI...@r-project.org
https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-sig-mac&amp;data=05%7C01%7Crmh%40temple.edu%7Cb22cb38cc254405c434508da7c166fa3%7C716e81efb52244738e3110bd02ccf6e5%7C0%7C0%7C637958733089159823%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=Xc16XtcE2o32PhdQGwGe%2BRIuQxuUFkgEii6X1TQidgw%3D&amp;reserved=0

Richard M. Heiberger

unread,
Jan 23, 2023, 2:22:31 PM1/23/23
to Simon Urbanek, R list
I updated to Ventura and this problem of quartz freezing R went away.
Quartz now works without glitch.

My guess, unverified, is that I inadvertently set some environment variable and that
updating the operating system restored an original value.
Reply all
Reply to author
Forward
0 new messages