MakieOrg / Makie.jl

Interactive data visualizations and plotting in Julia
https://docs.makie.org/stable
MIT License
2.38k stars 302 forks source link

Julia crashes when GLMakie window is made full screen on Mac #2629

Closed pbouffard closed 4 months ago

pbouffard commented 1 year ago

To reproduce (minimal example, same thing happens for any GLMakie window AFAICT):

using GLMakie
f = Figure()

Then, full-screen the window (either with the green button in the window header or with Window > Enter Full Screen. Julia crashes with:

Julia error messages ``` 2023-01-25 09:40:21.731 julia[21292:576948] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSArray subarrayWithRange:]: range {1, 18446744073709551615} extends beyond bounds for empty array' *** First throw call stack: ( ) libc++abi: terminating with uncaught exception of type NSException signal (6): Abort trap: 6 in expression starting at none:0 __pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line) pthread_kill at /usr/lib/system/libsystem_pthread.dylib (unknown line) abort at /usr/lib/system/libsystem_c.dylib (unknown line) abort_message at /usr/lib/libc++abi.dylib (unknown line) _ZL28demangling_terminate_handlerv at /usr/lib/libc++abi.dylib (unknown line) _ZL15_objc_terminatev at /usr/lib/libobjc.A.dylib (unknown line) _ZSt11__terminatePFvvE at /usr/lib/libc++abi.dylib (unknown line) _ZSt9terminatev at /usr/lib/libc++abi.dylib (unknown line) objc_terminate at /usr/lib/libobjc.A.dylib (unknown line) _dispatch_client_callout at /usr/lib/system/libdispatch.dylib (unknown line) _dispatch_main_queue_drain at /usr/lib/system/libdispatch.dylib (unknown line) _dispatch_main_queue_callback_4CF at /usr/lib/system/libdispatch.dylib (unknown line) __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ at /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (unknown line) __CFRunLoopRun at /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (unknown line) CFRunLoopRunSpecific at /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (unknown line) RunCurrentEventLoopInMode at /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox (unknown line) ReceiveNextEventCommon at /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox (unknown line) _BlockUntilNextEventMatchingListInModeWithFilter at /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox (unknown line) _DPSNextEvent at /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (unknown line) -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] at /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (unknown line) _glfwPlatformPollEvents at /Users/patrick/.julia/artifacts/54253779fac0a65601dab59d1e7249b501ff9f71/lib/libglfw.3.3.dylib (unknown line) PollEvents at /Users/patrick/.julia/packages/GLFW/BWxfF/src/glfw3.jl:620 [inlined] pollevents at /Users/patrick/.julia/packages/GLMakie/6Blp9/src/screen.jl:408 on_demand_renderloop at /Users/patrick/.julia/packages/GLMakie/6Blp9/src/screen.jl:834 renderloop at /Users/patrick/.julia/packages/GLMakie/6Blp9/src/screen.jl:858 unknown function (ip: 0x1564263b2) ijl_apply_generic at /Applications/Julia-1.8.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.8.dylib (unknown line) #65 at ./task.jl:484 unknown function (ip: 0x15641d02f) ijl_apply_generic at /Applications/Julia-1.8.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.8.dylib (unknown line) start_task at /Applications/Julia-1.8.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.8.dylib (unknown line) Allocations: 68619654 (Pool: 68599014; Big: 20640); GC: 40 [1] 21292 abort julia --project ```
MacOS Problem Report details ``` ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Process: julia [21292] Path: /usr/local/bin/julia Identifier: julia Version: ??? Code Type: X86-64 (Native) Parent Process: zsh [1496] Responsible: Terminal [1339] User ID: 501 Date/Time: 2023-01-25 09:40:21.7471 -0800 OS Version: macOS 13.2 (22D49) Report Version: 12 Bridge OS Version: 7.2 (20P3045) Anonymous UUID: C126B05B-4ED8-DE0E-B4F8-32C00C3EDF16 Time Awake Since Boot: 58000 seconds System Integrity Protection: disabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Application Specific Information: abort() called Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x7ff81394b22a __pthread_kill + 10 1 libsystem_pthread.dylib 0x7ff813982f7b pthread_kill + 263 2 libsystem_c.dylib 0x7ff81388f480 raise + 26 3 libsystem_platform.dylib 0x7ff8139adc1d _sigtramp + 29 4 ??? 0x100000400 ??? 5 libsystem_c.dylib 0x7ff8138ccca5 abort + 123 6 libc++abi.dylib 0x7ff81393d082 abort_message + 241 7 libc++abi.dylib 0x7ff81392e23d demangling_terminate_handler() + 266 8 libobjc.A.dylib 0x7ff81362b023 _objc_terminate() + 96 9 libc++abi.dylib 0x7ff81393c4a5 std::__terminate(void (*)()) + 8 10 libc++abi.dylib 0x7ff81393c456 std::terminate() + 54 11 libdispatch.dylib 0x7ff813803a58 _dispatch_client_callout + 28 12 libdispatch.dylib 0x7ff8138107b9 _dispatch_main_queue_drain + 952 13 libdispatch.dylib 0x7ff8138103f3 _dispatch_main_queue_callback_4CF + 31 14 CoreFoundation 0x7ff813a9d5f0 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9 15 CoreFoundation 0x7ff813a5db70 __CFRunLoopRun + 2454 16 CoreFoundation 0x7ff813a5cb60 CFRunLoopRunSpecific + 560 17 HIToolbox 0x7ff81d3aa766 RunCurrentEventLoopInMode + 292 18 HIToolbox 0x7ff81d3aa396 ReceiveNextEventCommon + 199 19 HIToolbox 0x7ff81d3aa2b3 _BlockUntilNextEventMatchingListInModeWithFilter + 70 20 AppKit 0x7ff816bad293 _DPSNextEvent + 909 21 AppKit 0x7ff816bac114 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219 22 libglfw.3.3.dylib 0x11798a2bf _glfwPlatformPollEvents + 159 23 ??? 0x15641fb4d ??? 24 ??? 0x1564249c6 ??? 25 ??? 0x1564256be ??? 26 ??? 0x1564263b3 ??? 27 ??? 0x15641cfd6 ??? 28 libjulia-internal.1.8.dylib 0x103731992 start_task + 178 Thread 1: 0 libsystem_kernel.dylib 0x7ff813949216 kevent + 10 1 libjulia-internal.1.8.dylib 0x103774e08 signal_listener + 616 2 libsystem_pthread.dylib 0x7ff813983259 _pthread_start + 125 3 libsystem_pthread.dylib 0x7ff81397ec7b thread_start + 15 Thread 2: 0 libsystem_kernel.dylib 0x7ff8139445c2 mach_msg2_trap + 10 1 libsystem_kernel.dylib 0x7ff813952604 mach_msg2_internal + 82 2 libsystem_kernel.dylib 0x7ff81394b635 mach_msg_overwrite + 723 3 libsystem_kernel.dylib 0x7ff81394ab4e mach_msg_server + 316 4 libjulia-internal.1.8.dylib 0x1037739ed mach_segv_listener + 29 5 libsystem_pthread.dylib 0x7ff813983259 _pthread_start + 125 6 libsystem_pthread.dylib 0x7ff81397ec7b thread_start + 15 Thread 3: 0 libsystem_kernel.dylib 0x7ff81394711a __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff8139837e1 _pthread_cond_wait + 1243 2 libopenblas64_.0.3.20.dylib 0x1138a448f blas_thread_server + 207 3 libsystem_pthread.dylib 0x7ff813983259 _pthread_start + 125 4 libsystem_pthread.dylib 0x7ff81397ec7b thread_start + 15 Thread 4: 0 libsystem_kernel.dylib 0x7ff81394711a __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff8139837e1 _pthread_cond_wait + 1243 2 libopenblas64_.0.3.20.dylib 0x1138a448f blas_thread_server + 207 3 libsystem_pthread.dylib 0x7ff813983259 _pthread_start + 125 4 libsystem_pthread.dylib 0x7ff81397ec7b thread_start + 15 Thread 5: 0 libsystem_kernel.dylib 0x7ff81394711a __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff8139837e1 _pthread_cond_wait + 1243 2 libopenblas64_.0.3.20.dylib 0x1138a448f blas_thread_server + 207 3 libsystem_pthread.dylib 0x7ff813983259 _pthread_start + 125 4 libsystem_pthread.dylib 0x7ff81397ec7b thread_start + 15 Thread 6: 0 libsystem_kernel.dylib 0x7ff81394711a __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff8139837e1 _pthread_cond_wait + 1243 2 libopenblas64_.0.3.20.dylib 0x1138a448f blas_thread_server + 207 3 libsystem_pthread.dylib 0x7ff813983259 _pthread_start + 125 4 libsystem_pthread.dylib 0x7ff81397ec7b thread_start + 15 Thread 7: 0 libsystem_kernel.dylib 0x7ff81394711a __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff8139837e1 _pthread_cond_wait + 1243 2 libopenblas64_.0.3.20.dylib 0x1138a448f blas_thread_server + 207 3 libsystem_pthread.dylib 0x7ff813983259 _pthread_start + 125 4 libsystem_pthread.dylib 0x7ff81397ec7b thread_start + 15 Thread 8: 0 libsystem_kernel.dylib 0x7ff8139445c2 mach_msg2_trap + 10 1 libsystem_kernel.dylib 0x7ff813952604 mach_msg2_internal + 82 2 libsystem_kernel.dylib 0x7ff81394b635 mach_msg_overwrite + 723 3 libsystem_kernel.dylib 0x7ff8139448a8 mach_msg + 19 4 CoreFoundation 0x7ff813a5ecbe __CFRunLoopServiceMachPort + 145 5 CoreFoundation 0x7ff813a5d72a __CFRunLoopRun + 1360 6 CoreFoundation 0x7ff813a5cb60 CFRunLoopRunSpecific + 560 7 CoreFoundation 0x7ff813ae17aa CFRunLoopRun + 40 8 DebugSymbols 0x7ff827c92f58 SpotlightQueryThread(void*) + 472 9 libsystem_pthread.dylib 0x7ff813983259 _pthread_start + 125 10 libsystem_pthread.dylib 0x7ff81397ec7b thread_start + 15 Thread 9: 0 libsystem_kernel.dylib 0x7ff8139445c2 mach_msg2_trap + 10 1 libsystem_kernel.dylib 0x7ff813952604 mach_msg2_internal + 82 2 libsystem_kernel.dylib 0x7ff81394b635 mach_msg_overwrite + 723 3 libsystem_kernel.dylib 0x7ff8139448a8 mach_msg + 19 4 CoreFoundation 0x7ff813a5ecbe __CFRunLoopServiceMachPort + 145 5 CoreFoundation 0x7ff813a5d72a __CFRunLoopRun + 1360 6 CoreFoundation 0x7ff813a5cb60 CFRunLoopRunSpecific + 560 7 CoreFoundation 0x7ff813ae17aa CFRunLoopRun + 40 8 libjulia-internal.1.8.dylib 0x1037e23cb uv__cf_loop_runner + 107 9 libsystem_pthread.dylib 0x7ff813983259 _pthread_start + 125 10 libsystem_pthread.dylib 0x7ff81397ec7b thread_start + 15 Thread 10: 0 libsystem_pthread.dylib 0x7ff81397ec58 start_wqthread + 0 Thread 11: 0 libsystem_pthread.dylib 0x7ff81397ec58 start_wqthread + 0 Thread 12:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x7ff8139445c2 mach_msg2_trap + 10 1 libsystem_kernel.dylib 0x7ff813952604 mach_msg2_internal + 82 2 libsystem_kernel.dylib 0x7ff81394b635 mach_msg_overwrite + 723 3 libsystem_kernel.dylib 0x7ff8139448a8 mach_msg + 19 4 CoreFoundation 0x7ff813a5ecbe __CFRunLoopServiceMachPort + 145 5 CoreFoundation 0x7ff813a5d72a __CFRunLoopRun + 1360 6 CoreFoundation 0x7ff813a5cb60 CFRunLoopRunSpecific + 560 7 AppKit 0x7ff816d0e129 _NSEventThread + 132 8 libsystem_pthread.dylib 0x7ff813983259 _pthread_start + 125 9 libsystem_pthread.dylib 0x7ff81397ec7b thread_start + 15 Thread 13: 0 libsystem_pthread.dylib 0x7ff81397ec58 start_wqthread + 0 Thread 14: 0 libsystem_pthread.dylib 0x7ff81397ec58 start_wqthread + 0 Thread 15: 0 libsystem_pthread.dylib 0x7ff81397ec58 start_wqthread + 0 Thread 16: 0 libsystem_pthread.dylib 0x7ff81397ec58 start_wqthread + 0 Thread 17: 0 libsystem_pthread.dylib 0x7ff81397ec58 start_wqthread + 0 Thread 18: 0 libsystem_pthread.dylib 0x7ff81397ec58 start_wqthread + 0 Thread 19: 0 libsystem_pthread.dylib 0x7ff81397ec58 start_wqthread + 0 Thread 20: 0 libsystem_pthread.dylib 0x7ff81397ec58 start_wqthread + 0 Thread 21: 0 libsystem_pthread.dylib 0x7ff81397ec58 start_wqthread + 0 Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x00007ff8572c0640 rcx: 0x000000015bc0a658 rdx: 0x0000000000000000 rdi: 0x0000000000000103 rsi: 0x0000000000000006 rbp: 0x000000015bc0a680 rsp: 0x000000015bc0a658 r8: 0x000000015bc0a380 r9: 0x000000010394d344 r10: 0x00007ff8572c0640 r11: 0x0000000000000246 r12: 0x0000000000000103 r13: 0x0000003000000008 r14: 0x0000000000000006 r15: 0x0000000000000016 rip: 0x00007ff81394b22a rfl: 0x0000000000000246 cr2: 0x00000001179ad90c Logical CPU: 0 Error Code: 0x02000148 Trap Number: 133 Thread 0 instruction stream: 08 c7 75 27 e8 8f e0 fe-ff c7 40 30 00 00 00 00 ..u'......@0.... 48 89 c7 be 01 00 00 00-e8 cb 56 06 00 89 c3 e8 H.........V..... f4 3a 01 00 48 8d 15 c5-f2 38 00 83 42 08 ff 75 .:..H....8..B..u 07 48 c7 02 00 00 00 00-48 8b 4d d0 48 8b 41 10 .H......H.M.H.A. 83 80 90 3d 00 00 ff 48-8b 41 10 83 80 28 1a 00 ...=...H.A...(.. 00 ff 75 10 48 8b 45 d0-48 8b 40 10 48 8b 40 10 ..u.H.E.H.@.H.@. [48]8b 40 f8 48 8d 05 6d-03 39 00 8b 00 85 c0 74 H.@.H..m.9.....t <== 09 48 8b 7d c8 e8 be 1e-00 00 85 db 75 4a 0f ae .H.}........uJ.. f0 41 8a 44 24 18 3c 01-75 3e 45 84 ff 0f 84 61 .A.D$.<.u>E....a fe ff ff 48 8d 05 8e 02-39 00 8b 00 85 c0 0f 85 ...H....9....... 50 fe ff ff 66 41 83 3c-24 00 0f 85 44 fe ff ff P...fA.<$...D... 41 8a 44 24 18 84 c0 74-0f 41 c6 44 24 18 00 45 A.D$...t.A.D$..E Binary Images: 0x7ff813943000 - 0x7ff81397cff7 libsystem_kernel.dylib (*) /usr/lib/system/libsystem_kernel.dylib 0x7ff81397d000 - 0x7ff813988ff7 libsystem_pthread.dylib (*) <3bd433d4-15bd-3add-a612-95e4d3b20719> /usr/lib/system/libsystem_pthread.dylib 0x7ff81384b000 - 0x7ff8138d3fff libsystem_c.dylib (*) <1aec5d1a-6e43-30f9-a9f2-11eb85d3e70c> /usr/lib/system/libsystem_c.dylib 0x7ff8139aa000 - 0x7ff8139b3ff7 libsystem_platform.dylib (*) <04645919-7592-3a26-93b5-95663f983856> /usr/lib/system/libsystem_platform.dylib 0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ??? 0x7ff81392d000 - 0x7ff813942ff7 libc++abi.dylib (*) /usr/lib/libc++abi.dylib 0x7ff81360e000 - 0x7ff813649fd8 libobjc.A.dylib (*) /usr/lib/libobjc.A.dylib 0x7ff813801000 - 0x7ff813847ff3 libdispatch.dylib (*) /usr/lib/system/libdispatch.dylib 0x7ff8139df000 - 0x7ff813e78fef com.apple.CoreFoundation (6.9) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x7ff81d37b000 - 0x7ff81d672ffd com.apple.HIToolbox (2.1.1) <7bf47984-29cb-319e-a6da-0884d158f96a> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x7ff816b6f000 - 0x7ff817b77ff2 com.apple.AppKit (6.9) <480a5693-f3e3-3b50-a1f3-169d12a12a0e> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x117971000 - 0x11799efff libglfw.3.3.dylib (*) /Users/USER/*/libglfw.3.3.dylib 0x1036f4000 - 0x103a0ffff libjulia-internal.1.8.dylib (*) /Applications/Julia-1.8.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.8.dylib 0x11366b000 - 0x117076fff libopenblas64_.0.3.20.dylib (*) <6266b315-1e23-3118-b877-9b2ae1ec4539> /Applications/Julia-1.8.app/Contents/Resources/julia/lib/julia/libopenblas64_.0.3.20.dylib 0x7ff827c91000 - 0x7ff827ccbff0 com.apple.DebugSymbols (195.1) <94bb6e6d-d70a-33d5-bbf0-24182cf924a9> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 0 thread_create: 0 thread_set_state: 0 VM Region Summary: ReadOnly portion of Libraries: Total=702.3M resident=0K(0%) swapped_out_or_unallocated=702.3M(100%) Writable regions: Total=3.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=3.1G(100%) VIRTUAL REGION REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Accelerate framework 128K 1 Activity Tracing 256K 1 CG backing stores 3968K 12 CG image 52K 10 ColorSync 228K 26 CoreAnimation 60K 12 CoreGraphics 20K 4 CoreUI image data 572K 9 Foundation 16K 1 Kernel Alloc Once 8K 1 MALLOC 705.6M 98 MALLOC guard page 48K 10 MALLOC_MEDIUM (reserved) 944.0M 9 reserved VM address space (unallocated) MALLOC_NANO (reserved) 256.0M 1 reserved VM address space (unallocated) Mach message 8K 1 OpenGL GLSL 384K 5 STACK GUARD 84K 21 Stack 26.2M 22 Stack Guard 56.0M 1 VM_ALLOCATE 576.6M 89 VM_ALLOCATE (reserved) 644.0M 2 reserved VM address space (unallocated) __CTF 756 1 __DATA 170.3M 457 __DATA_CONST 28.6M 208 __DATA_DIRTY 743K 113 __FONT_DATA 2352 1 __GLSLBUILTINS 5174K 1 __LINKEDIT 221.1M 95 __OBJC_RO 65.5M 1 __OBJC_RW 1989K 2 __TEXT 481.3M 450 dyld private memory 256K 1 mapped file 237.5M 29 shared memory 812K 24 =========== ======= ======= TOTAL 4.3G 1719 TOTAL, minus reserved VM space 2.5G 1719 ----------- Full Report ----------- {"app_name":"julia","timestamp":"2023-01-25 09:40:22.00 -0800","app_version":"","slice_uuid":"8fdf16f7-82ef-3ccb-a24a-ae93360f5007","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 13.2 (22D49)","roots_installed":0,"incident_id":"4637CAA1-50CC-4D20-8197-77612B38B2FC","name":"julia"} { "uptime" : 58000, "procRole" : "Foreground", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "MacBookPro15,1", "coalitionID" : 1493, "osVersion" : { "train" : "macOS 13.2", "build" : "22D49", "releaseType" : "User" }, "captureTime" : "2023-01-25 09:40:21.7471 -0800", "incident" : "4637CAA1-50CC-4D20-8197-77612B38B2FC", "pid" : 21292, "cpuType" : "X86-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2023-01-25 09:36:38.9789 -0800", "procStartAbsTime" : 58584720948712, "procExitAbsTime" : 58807480559790, "procName" : "julia", "procPath" : "\/usr\/local\/bin\/julia", "parentProc" : "zsh", "parentPid" : 1496, "coalitionName" : "com.apple.Terminal", "crashReporterKey" : "C126B05B-4ED8-DE0E-B4F8-32C00C3EDF16", "responsiblePid" : 1339, "responsibleProc" : "Terminal", "bridgeVersion" : {"build":"20P3045","train":"7.2"}, "sip" : "disabled", "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"}, "asi" : {"libsystem_c.dylib":["abort() called"]}, "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0}, "faultingThread" : 0, "threads" : [{"triggered":true,"id":576948,"instructionState":{"instructionStream":{"bytes":[8,199,117,39,232,143,224,254,255,199,64,48,0,0,0,0,72,137,199,190,1,0,0,0,232,203,86,6,0,137,195,232,244,58,1,0,72,141,21,197,242,56,0,131,66,8,255,117,7,72,199,2,0,0,0,0,72,139,77,208,72,139,65,16,131,128,144,61,0,0,255,72,139,65,16,131,128,40,26,0,0,255,117,16,72,139,69,208,72,139,64,16,72,139,64,16,72,139,64,248,72,141,5,109,3,57,0,139,0,133,192,116,9,72,139,125,200,232,190,30,0,0,133,219,117,74,15,174,240,65,138,68,36,24,60,1,117,62,69,132,255,15,132,97,254,255,255,72,141,5,142,2,57,0,139,0,133,192,15,133,80,254,255,255,102,65,131,60,36,0,15,133,68,254,255,255,65,138,68,36,24,132,192,116,15,65,198,68,36,24,0,69],"offset":96}},"threadState":{"r13":{"value":206158430216},"rax":{"value":0},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":6},"rsi":{"value":6},"r8":{"value":5834318720},"cr2":{"value":4690991372},"rdx":{"value":0},"r10":{"value":140704591119936,"symbolLocation":0,"symbol":"_main_thread"},"r9":{"value":4355052356},"r15":{"value":22},"rbx":{"value":140704591119936,"symbolLocation":0,"symbol":"_main_thread"},"trap":{"value":133},"err":{"value":33554760},"r11":{"value":582},"rip":{"value":140703457129002,"matchesCrashFrame":1},"rbp":{"value":5834319488},"rsp":{"value":5834319448},"r12":{"value":259},"rcx":{"value":5834319448},"flavor":"x86_THREAD_STATE","rdi":{"value":259}},"queue":"com.apple.main-thread","frames":[{"imageOffset":33322,"symbol":"__pthread_kill","symbolLocation":10,"imageIndex":0},{"imageOffset":24443,"symbol":"pthread_kill","symbolLocation":263,"imageIndex":1},{"imageOffset":279680,"symbol":"raise","symbolLocation":26,"imageIndex":2},{"imageOffset":15389,"symbol":"_sigtramp","symbolLocation":29,"imageIndex":3},{"imageOffset":4294968320,"imageIndex":4},{"imageOffset":531621,"symbol":"abort","symbolLocation":123,"imageIndex":2},{"imageOffset":65666,"symbol":"abort_message","symbolLocation":241,"imageIndex":5},{"imageOffset":4669,"symbol":"demangling_terminate_handler()","symbolLocation":266,"imageIndex":5},{"imageOffset":118819,"symbol":"_objc_terminate()","symbolLocation":96,"imageIndex":6},{"imageOffset":62629,"symbol":"std::__terminate(void (*)())","symbolLocation":8,"imageIndex":5},{"imageOffset":62550,"symbol":"std::terminate()","symbolLocation":54,"imageIndex":5},{"imageOffset":10840,"symbol":"_dispatch_client_callout","symbolLocation":28,"imageIndex":7},{"imageOffset":63417,"symbol":"_dispatch_main_queue_drain","symbolLocation":952,"imageIndex":7},{"imageOffset":62451,"symbol":"_dispatch_main_queue_callback_4CF","symbolLocation":31,"imageIndex":7},{"imageOffset":779760,"symbol":"__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__","symbolLocation":9,"imageIndex":8},{"imageOffset":519024,"symbol":"__CFRunLoopRun","symbolLocation":2454,"imageIndex":8},{"imageOffset":514912,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":8},{"imageOffset":194406,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":9},{"imageOffset":193430,"symbol":"ReceiveNextEventCommon","symbolLocation":199,"imageIndex":9},{"imageOffset":193203,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":70,"imageIndex":9},{"imageOffset":254611,"symbol":"_DPSNextEvent","symbolLocation":909,"imageIndex":10},{"imageOffset":250132,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":1219,"imageIndex":10},{"imageOffset":103103,"symbol":"_glfwPlatformPollEvents","symbolLocation":159,"imageIndex":11},{"imageOffset":5742132045,"imageIndex":4},{"imageOffset":5742152134,"imageIndex":4},{"imageOffset":5742155454,"imageIndex":4},{"imageOffset":5742158771,"imageIndex":4},{"imageOffset":5742120918,"imageIndex":4},{"imageOffset":252306,"symbol":"start_task","symbolLocation":178,"imageIndex":12}]},{"id":576951,"frames":[{"imageOffset":25110,"symbol":"kevent","symbolLocation":10,"imageIndex":0},{"imageOffset":527880,"symbol":"signal_listener","symbolLocation":616,"imageIndex":12},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":576953,"frames":[{"imageOffset":5570,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":62980,"symbol":"mach_msg2_internal","symbolLocation":82,"imageIndex":0},{"imageOffset":34357,"symbol":"mach_msg_overwrite","symbolLocation":723,"imageIndex":0},{"imageOffset":31566,"symbol":"mach_msg_server","symbolLocation":316,"imageIndex":0},{"imageOffset":522733,"symbol":"mach_segv_listener","symbolLocation":29,"imageIndex":12},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":576954,"frames":[{"imageOffset":16666,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":2331791,"symbol":"blas_thread_server","symbolLocation":207,"imageIndex":13},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":576955,"frames":[{"imageOffset":16666,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":2331791,"symbol":"blas_thread_server","symbolLocation":207,"imageIndex":13},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":576956,"frames":[{"imageOffset":16666,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":2331791,"symbol":"blas_thread_server","symbolLocation":207,"imageIndex":13},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":576957,"frames":[{"imageOffset":16666,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":2331791,"symbol":"blas_thread_server","symbolLocation":207,"imageIndex":13},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":576958,"frames":[{"imageOffset":16666,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":2331791,"symbol":"blas_thread_server","symbolLocation":207,"imageIndex":13},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":577056,"frames":[{"imageOffset":5570,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":62980,"symbol":"mach_msg2_internal","symbolLocation":82,"imageIndex":0},{"imageOffset":34357,"symbol":"mach_msg_overwrite","symbolLocation":723,"imageIndex":0},{"imageOffset":6312,"symbol":"mach_msg","symbolLocation":19,"imageIndex":0},{"imageOffset":523454,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":8},{"imageOffset":517930,"symbol":"__CFRunLoopRun","symbolLocation":1360,"imageIndex":8},{"imageOffset":514912,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":8},{"imageOffset":1058730,"symbol":"CFRunLoopRun","symbolLocation":40,"imageIndex":8},{"imageOffset":8024,"symbol":"SpotlightQueryThread(void*)","symbolLocation":472,"imageIndex":14},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":579052,"frames":[{"imageOffset":5570,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":62980,"symbol":"mach_msg2_internal","symbolLocation":82,"imageIndex":0},{"imageOffset":34357,"symbol":"mach_msg_overwrite","symbolLocation":723,"imageIndex":0},{"imageOffset":6312,"symbol":"mach_msg","symbolLocation":19,"imageIndex":0},{"imageOffset":523454,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":8},{"imageOffset":517930,"symbol":"__CFRunLoopRun","symbolLocation":1360,"imageIndex":8},{"imageOffset":514912,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":8},{"imageOffset":1058730,"symbol":"CFRunLoopRun","symbolLocation":40,"imageIndex":8},{"imageOffset":975819,"symbol":"uv__cf_loop_runner","symbolLocation":107,"imageIndex":12},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":579054,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":579067,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":579074,"name":"com.apple.NSEventThread","frames":[{"imageOffset":5570,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":62980,"symbol":"mach_msg2_internal","symbolLocation":82,"imageIndex":0},{"imageOffset":34357,"symbol":"mach_msg_overwrite","symbolLocation":723,"imageIndex":0},{"imageOffset":6312,"symbol":"mach_msg","symbolLocation":19,"imageIndex":0},{"imageOffset":523454,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":8},{"imageOffset":517930,"symbol":"__CFRunLoopRun","symbolLocation":1360,"imageIndex":8},{"imageOffset":514912,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":8},{"imageOffset":1700137,"symbol":"_NSEventThread","symbolLocation":132,"imageIndex":10},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":579319,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":579336,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":579337,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":579338,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":579339,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":579340,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":579341,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":579342,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":579343,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]}], "usedImages" : [ { "source" : "P", "arch" : "x86_64", "base" : 140703457095680, "size" : 237560, "uuid" : "ca136b67-0559-3f19-8b7e-9b80438090b6", "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib", "name" : "libsystem_kernel.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 140703457333248, "size" : 49144, "uuid" : "3bd433d4-15bd-3add-a612-95e4d3b20719", "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib", "name" : "libsystem_pthread.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 140703456079872, "size" : 561152, "uuid" : "1aec5d1a-6e43-30f9-a9f2-11eb85d3e70c", "path" : "\/usr\/lib\/system\/libsystem_c.dylib", "name" : "libsystem_c.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 140703457517568, "size" : 40952, "uuid" : "04645919-7592-3a26-93b5-95663f983856", "path" : "\/usr\/lib\/system\/libsystem_platform.dylib", "name" : "libsystem_platform.dylib" }, { "size" : 0, "source" : "A", "base" : 0, "uuid" : "00000000-0000-0000-0000-000000000000" }, { "source" : "P", "arch" : "x86_64", "base" : 140703457005568, "size" : 90104, "uuid" : "af1f6dd6-2182-37b5-9e27-0cc62c440696", "path" : "\/usr\/lib\/libc++abi.dylib", "name" : "libc++abi.dylib" }, { "source" : "P", "arch" : "x86_64h", "base" : 140703453732864, "size" : 245721, "uuid" : "eab4b9fe-7636-3817-9e54-72c115a5493b", "path" : "\/usr\/lib\/libobjc.A.dylib", "name" : "libobjc.A.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 140703455776768, "size" : 290804, "uuid" : "d59ee79a-169a-3799-8ea1-c8ad56bb11c9", "path" : "\/usr\/lib\/system\/libdispatch.dylib", "name" : "libdispatch.dylib" }, { "source" : "P", "arch" : "x86_64h", "base" : 140703457734656, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.CoreFoundation", "size" : 4825072, "uuid" : "c2615780-0140-315c-a455-7e03bb22d3d6", "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation", "name" : "CoreFoundation", "CFBundleVersion" : "1953.300" }, { "source" : "P", "arch" : "x86_64", "base" : 140703618805760, "CFBundleShortVersionString" : "2.1.1", "CFBundleIdentifier" : "com.apple.HIToolbox", "size" : 3112958, "uuid" : "7bf47984-29cb-319e-a6da-0884d158f96a", "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox", "name" : "HIToolbox" }, { "source" : "P", "arch" : "x86_64", "base" : 140703509704704, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.AppKit", "size" : 16814067, "uuid" : "480a5693-f3e3-3b50-a1f3-169d12a12a0e", "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit", "name" : "AppKit", "CFBundleVersion" : "2299.40.116" }, { "source" : "P", "arch" : "x86_64", "base" : 4690743296, "size" : 188416, "uuid" : "f3b92580-743d-3c06-b3ec-65b1570fbcb9", "path" : "\/Users\/USER\/*\/libglfw.3.3.dylib", "name" : "libglfw.3.3.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 4352589824, "size" : 3260416, "uuid" : "c1cc6555-42df-37fa-b3e6-1ff02652b7d6", "path" : "\/Applications\/Julia-1.8.app\/Contents\/Resources\/julia\/lib\/julia\/libjulia-internal.1.8.dylib", "name" : "libjulia-internal.1.8.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 4620464128, "size" : 60866560, "uuid" : "6266b315-1e23-3118-b877-9b2ae1ec4539", "path" : "\/Applications\/Julia-1.8.app\/Contents\/Resources\/julia\/lib\/julia\/libopenblas64_.0.3.20.dylib", "name" : "libopenblas64_.0.3.20.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 140703796105216, "CFBundleShortVersionString" : "195.1", "CFBundleIdentifier" : "com.apple.DebugSymbols", "size" : 241649, "uuid" : "94bb6e6d-d70a-33d5-bbf0-24182cf924a9", "path" : "\/System\/Library\/PrivateFrameworks\/DebugSymbols.framework\/Versions\/A\/DebugSymbols", "name" : "DebugSymbols", "CFBundleVersion" : "195.1" } ], "sharedCache" : { "base" : 140703453372416, "size" : 21474836480, "uuid" : "61138b36-7859-3add-9c47-7e7cd2a358d0" }, "vmSummary" : "ReadOnly portion of Libraries: Total=702.3M resident=0K(0%) swapped_out_or_unallocated=702.3M(100%)\nWritable regions: Total=3.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=3.1G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 128K 1 \nActivity Tracing 256K 1 \nCG backing stores 3968K 12 \nCG image 52K 10 \nColorSync 228K 26 \nCoreAnimation 60K 12 \nCoreGraphics 20K 4 \nCoreUI image data 572K 9 \nFoundation 16K 1 \nKernel Alloc Once 8K 1 \nMALLOC 705.6M 98 \nMALLOC guard page 48K 10 \nMALLOC_MEDIUM (reserved) 944.0M 9 reserved VM address space (unallocated)\nMALLOC_NANO (reserved) 256.0M 1 reserved VM address space (unallocated)\nMach message 8K 1 \nOpenGL GLSL 384K 5 \nSTACK GUARD 84K 21 \nStack 26.2M 22 \nStack Guard 56.0M 1 \nVM_ALLOCATE 576.6M 89 \nVM_ALLOCATE (reserved) 644.0M 2 reserved VM address space (unallocated)\n__CTF 756 1 \n__DATA 170.3M 457 \n__DATA_CONST 28.6M 208 \n__DATA_DIRTY 743K 113 \n__FONT_DATA 2352 1 \n__GLSLBUILTINS 5174K 1 \n__LINKEDIT 221.1M 95 \n__OBJC_RO 65.5M 1 \n__OBJC_RW 1989K 2 \n__TEXT 481.3M 450 \ndyld private memory 256K 1 \nmapped file 237.5M 29 \nshared memory 812K 24 \n=========== ======= ======= \nTOTAL 4.3G 1719 \nTOTAL, minus reserved VM space 2.5G 1719 \n", "legacyInfo" : { "threadTriggered" : { "queue" : "com.apple.main-thread" } }, "trialInfo" : { "rollouts" : [ { "rolloutId" : "60186475825c62000ccf5450", "factorPackIds" : { }, "deploymentId" : 240000026 }, { "rolloutId" : "61675b89201f677a9a4cbd65", "factorPackIds" : { "HEALTH_FEATURE_AVAILABILITY" : "638e768d75b0720ff1f8c4f3" }, "deploymentId" : 240000051 } ], "experiments" : [ ] } } Model: MacBookPro15,1, BootROM 1916.80.2.0.0 (iBridge: 20.16.3045.0.0,0), 6 processors, 6-Core Intel Core i9, 2.9 GHz, 32 GB, SMC Graphics: Intel UHD Graphics 630, Intel UHD Graphics 630, Built-In Graphics: Radeon Pro 560X, Radeon Pro 560X, PCIe, 4 GB Display: Color LCD, 2880 x 1800 Retina, Main, MirrorOff, Online Display: DELL E2414H, 1920 x 1080 (1080p FHD - Full High Definition), MirrorOff, Online Display: DELL U2412M, 1920 x 1200 (WUXGA - Widescreen Ultra eXtended Graphics Array), MirrorOff, Online Memory Module: BANK 0/ChannelA-DIMM0, 16 GB, DDR4, 2400 MHz, SK Hynix, H5ANAG8NAMR-UHC Memory Module: BANK 2/ChannelB-DIMM0, 16 GB, DDR4, 2400 MHz, SK Hynix, H5ANAG8NAMR-UHC AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x7BF), wl0: Dec 1 2022 17:15:41 version 9.30.489.6.32.5.85 FWID 01-c30a5043 Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB31Bus USB Device: USB2.0 Hub USB Device: USB Billboard Device USB Device: USB3.0 Hub USB Device: T2Bus USB Device: Touch Bar Backlight USB Device: Touch Bar Display USB Device: Apple Internal Keyboard / Trackpad USB Device: Headset USB Device: Ambient Light Sensor USB Device: FaceTime HD Camera (Built-in) USB Device: Apple T2 Controller Thunderbolt Bus: MacBook Pro, Apple Inc., 47.5 Thunderbolt Bus: MacBook Pro, Apple Inc., 47.5 ```
tuckermcclure commented 1 year ago

FWIW, I was not able to reproduce the problem on my M1 MacBook Pro or Intel MacBook Pro.

Intel MacBook Pro:

16-inch, 2019 2.3 GHz i9 Intel UHD Graphics 630 1536 MB 16 GB 2667 MHz DDR4 Ventura 13.0.1

M1 MacBook Pro:

14-inch, 2021 M1 Pro 16 GB Ventura 13.0.1

pbouffard commented 1 year ago

Not sure if related, but I also just got the below traceback. The Makie window appeared at a tiny geometry with barely the close button visible:

image

This happens pretty often for me (the tiny geometry, not the traceback). The remedy I've been using is Window > Zoom which usually works but this time I got the traceback. The Julia prompt remained responsive but the Makie window was then frozen.

┌ Warning: error in renderloop
│   exception =
│    DomainError with Inf:
│    tan(x) is only defined for finite x.
│    Stacktrace:
│      [1] tan_domain_error(x::Float64)
│        @ Base.Math ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│      [2] tan(x::Float64)
│        @ Base.Math ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│      [3] projectionmatrix(viewmatrix::StaticArraysCore.SMatrix{4, 4, Float64, 16}, limits::GeometryBasics.HyperRectangle{3, Float32}, eyepos::GeometryBasics.Vec3{Float64}, radius::Float64, azim::Float64, elev::Float64, angle::Float64, width::Int64, height::Int64, scales::GeometryBasics.Vec3{Float64}, viewmode::Symbol)
│        @ Makie ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│      [4] calculate_matrices(limits::GeometryBasics.HyperRectangle{3, Float32}, px_area::GeometryBasics.HyperRectangle{2, Int64}, elev::Float64, azim::Float64, perspectiveness::Float64, aspect::Symbol, viewmode::Symbol)
│        @ Makie ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│      [5] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
│        @ Base ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│      [6] invokelatest(::Any, ::Any, ::Vararg{Any})
│        @ Base ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│      [7] (::Observables.MapCallback)(value::Any)
│        @ Observables ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│      [8] setindex!(observable::Observables.Observable, val::Any)
│        @ Observables ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│      [9] (::Observables.MapCallback)(value::Any)
│        @ Observables ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [10] setindex!(observable::Observables.Observable, val::Any)
│        @ Observables ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [11] (::Observables.MapCallback)(value::Any)
│        @ Observables ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [12] setindex!(observable::Observables.Observable, val::Any)
│        @ Observables ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [13] update_computedbbox!(computedbbox::Observables.Observable{GeometryBasics.HyperRectangle{2, Float32}}, suggestedbbox::GeometryBasics.HyperRectangle{2, Float32}, alignment::Tuple{Float32, Float32}, reporteddimensions::GridLayoutBase.Dimensions, alignmode::GridLayoutBase.Inside, protrusions::GridLayoutBase.RectSides{Float32}, sizeattrs::Observables.Observable{Tuple{Union{Nothing, Float32, GridLayoutBase.Auto, GridLayoutBase.Fixed, GridLayoutBase.Relative}, Union{Nothing, Float32, GridLayoutBase.Auto, GridLayoutBase.Fixed, GridLayoutBase.Relative}}}, autosizeobservable::Observables.Observable{Tuple{Union{Nothing, Float32}, Union{Nothing, Float32}}})
│        @ GridLayoutBase ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [14] (::GridLayoutBase.var"#106#108"{Observables.Observable{GridLayoutBase.Dimensions}, Observables.Observable{Tuple{Union{Nothing, Float32, GridLayoutBase.Auto, GridLayoutBase.Fixed, GridLayoutBase.Relative}, Union{Nothing, Float32, GridLayoutBase.Auto, GridLayoutBase.Fixed, GridLayoutBase.Relative}}}, Observables.Observable{Tuple{Union{Nothing, Float32}, Union{Nothing, Float32}}}, Observables.Observable{Any}, Observables.Observable{GridLayoutBase.RectSides{Float32}}, Observables.Observable{GeometryBasics.HyperRectangle{2, Float32}}})(sbbox::GeometryBasics.HyperRectangle{2, Float32}, ali::Tuple{Float32, Float32})
│        @ GridLayoutBase ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [15] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
│        @ Base ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [16] invokelatest(::Any, ::Any, ::Vararg{Any})
│        @ Base ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [17] (::Observables.OnAny)(value::Any)
│        @ Observables ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [18] setindex!(observable::Observables.Observable, val::Any)
│        @ Observables ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [19] align_to_bbox!(gl::GridLayoutBase.GridLayout, suggestedbbox::GeometryBasics.HyperRectangle{2, Float32})
│        @ GridLayoutBase ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [20] (::GridLayoutBase.var"#11#12"{GridLayoutBase.GridLayout})(bbox::GeometryBasics.HyperRectangle{2, Float32})
│        @ GridLayoutBase ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [21] setindex!(observable::Observables.Observable, val::Any)
│        @ Observables ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [22] update_computedbbox!(computedbbox::Observables.Observable{GeometryBasics.HyperRectangle{2, Float32}}, suggestedbbox::GeometryBasics.HyperRectangle{2, Float32}, alignment::Tuple{Float32, Float32}, reporteddimensions::GridLayoutBase.Dimensions, alignmode::GridLayoutBase.Inside, protrusions::GridLayoutBase.RectSides{Float32}, sizeattrs::Observables.Observable{Tuple{Union{Nothing, Float32, GridLayoutBase.Auto, GridLayoutBase.Fixed, GridLayoutBase.Relative}, Union{Nothing, Float32, GridLayoutBase.Auto, GridLayoutBase.Fixed, GridLayoutBase.Relative}}}, autosizeobservable::Observables.Observable{Tuple{Union{Nothing, Float32}, Union{Nothing, Float32}}})
│        @ GridLayoutBase ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [23] (::GridLayoutBase.var"#106#108"{Observables.Observable{GridLayoutBase.Dimensions}, Observables.Observable{Tuple{Union{Nothing, Float32, GridLayoutBase.Auto, GridLayoutBase.Fixed, GridLayoutBase.Relative}, Union{Nothing, Float32, GridLayoutBase.Auto, GridLayoutBase.Fixed, GridLayoutBase.Relative}}}, Observables.Observable{Tuple{Union{Nothing, Float32}, Union{Nothing, Float32}}}, Observables.Observable{Union{GridLayoutBase.Inside, GridLayoutBase.Outside, GridLayoutBase.Mixed}}, Observables.Observable{GridLayoutBase.RectSides{Float32}}, Observables.Observable{GeometryBasics.HyperRectangle{2, Float32}}})(sbbox::GeometryBasics.HyperRectangle{2, Float32}, ali::Tuple{Float32, Float32})
│        @ GridLayoutBase ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [24] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
│        @ Base ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [25] invokelatest(::Any, ::Any, ::Vararg{Any})
│        @ Base ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [26] (::Observables.OnAny)(value::Any)
│        @ Observables ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [27] setindex!(observable::Observables.Observable, val::Any)
│        @ Observables ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [28] (::Observables.MapCallback)(value::Any)
│        @ Observables ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [29] setindex!(observable::Observables.Observable, val::Any)
│        @ Observables ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [30] (::Makie.var"#104#107")(w_area::GeometryBasics.HyperRectangle{2, Int64})
│        @ Makie ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [31] setindex!(observable::Observables.Observable, val::Any)
│        @ Observables ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [32] (::GLMakie.WindowAreaUpdater)(#unused#::Nothing)
│        @ GLMakie ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [33] refreshwindowcb(window::GLFW.Window, screen::GLMakie.Screen{GLFW.Window})
│        @ GLMakie ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [34] (::GLMakie.var"#41#42"{GLMakie.Screen{GLFW.Window}})(window::GLFW.Window)
│        @ GLMakie ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [35] _WindowRefreshCallbackWrapper(window::GLFW.Window)
│        @ GLFW ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [36] pollevents(screen::GLMakie.Screen{GLFW.Window})
│        @ GLMakie ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [37] on_demand_renderloop(screen::GLMakie.Screen{GLFW.Window})
│        @ GLMakie ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
│     [38] renderloop(screen::GLMakie.Screen{GLFW.Window})
│        @ GLMakie ~/.julia/packages/GLMakie/6Blp9/src/screen.jl:858
│     [39] (::GLMakie.var"#65#66"{GLMakie.Screen{GLFW.Window}})()
│        @ GLMakie ~/.julia/dev/MuonVizTools/MakieSys-1.8-dev.so:-1
└ @ GLMakie ~/.julia/packages/GLMakie/6Blp9/src/screen.jl:867
pbouffard commented 1 year ago

I can also reproduce this on an M2 machine, though the error message in the terminal is different:

2023-01-30 09:42:46.544 julia[8543:506059] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSArray subarrayWithRange:]: range {1, 18446744073709551615} extends beyond bounds for empty array'
*** First throw call stack:
(
)
libc++abi: terminating with uncaught exception of type NSException

signal (6): Abort trap: 6
in expression starting at none:0
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Allocations: 56868832 (Pool: 56857183; Big: 11649); GC: 28
[1]    8543 abort      julia --startup-file=no --project

MacBook Pro M2 Max 16 inch, 2023 32 GB Ventura 13.2

MacOS Problem Report details ``` ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Process: julia [8551] Path: /usr/local/bin/julia Identifier: julia Version: ??? Code Type: ARM-64 (Native) Parent Process: zsh [3430] Responsible: Terminal [3428] User ID: 501 Date/Time: 2023-01-30 09:44:34.6732 -0800 OS Version: macOS 13.2 (22D49) Report Version: 12 Anonymous UUID: 901B8AC6-BFE3-BFCC-76CC-20EAF19207C1 Sleep/Wake UUID: 18FB47E7-6646-4B00-8074-7786492B62D6 Time Awake Since Boot: 36000 seconds Time Since Wake: 318 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Application Specific Information: abort() called Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x1965f6868 __pthread_kill + 8 1 libsystem_pthread.dylib 0x19662dcec pthread_kill + 288 2 libsystem_c.dylib 0x19652e9cc raise + 32 3 libsystem_platform.dylib 0x19665c2a4 _sigtramp + 56 4 libsystem_pthread.dylib 0x19662dcec pthread_kill + 288 5 libsystem_c.dylib 0x1965662c8 abort + 180 6 libc++abi.dylib 0x1965e6b18 abort_message + 132 7 libc++abi.dylib 0x1965d6a0c demangling_terminate_handler() + 336 8 libobjc.A.dylib 0x1962db764 _objc_terminate() + 144 9 libc++abi.dylib 0x1965e5eb4 std::__terminate(void (*)()) + 20 10 libc++abi.dylib 0x1965e5e50 std::terminate() + 56 11 libdispatch.dylib 0x1964a6518 _dispatch_client_callout + 40 12 libdispatch.dylib 0x1964b4d1c _dispatch_main_queue_drain + 928 13 libdispatch.dylib 0x1964b496c _dispatch_main_queue_callback_4CF + 44 14 CoreFoundation 0x19674ed40 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 15 CoreFoundation 0x19670c7c0 __CFRunLoopRun + 2036 16 CoreFoundation 0x19670b878 CFRunLoopRunSpecific + 612 17 HIToolbox 0x19fdebfa0 RunCurrentEventLoopInMode + 292 18 HIToolbox 0x19fdebde4 ReceiveNextEventCommon + 672 19 HIToolbox 0x19fdebb2c _BlockUntilNextEventMatchingListInModeWithFilter + 72 20 AppKit 0x199991838 _DPSNextEvent + 632 21 AppKit 0x1999909c8 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728 22 libglfw.3.3.dylib 0x16415b1d0 _glfwPlatformPollEvents + 160 23 ??? 0x2c37dc1d0 ??? 24 ??? 0x2c371c094 ??? 25 libjulia-internal.1.8.dylib 0x10534f668 start_task + 184 Thread 1: 0 libsystem_kernel.dylib 0x1965f4194 kevent + 8 1 libjulia-internal.1.8.dylib 0x10538f598 signal_listener + 604 2 libsystem_pthread.dylib 0x19662e06c _pthread_start + 148 3 libsystem_pthread.dylib 0x196628e2c thread_start + 8 Thread 2: 0 libsystem_kernel.dylib 0x1965ee050 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x19660011c mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x1965f6c24 mach_msg_overwrite + 452 3 libsystem_kernel.dylib 0x1965f6048 mach_msg_server + 356 4 libjulia-internal.1.8.dylib 0x10538e2ec mach_segv_listener + 40 5 libsystem_pthread.dylib 0x19662e06c _pthread_start + 148 6 libsystem_pthread.dylib 0x196628e2c thread_start + 8 Thread 3: 0 libsystem_kernel.dylib 0x1965f184c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x19662e638 _pthread_cond_wait + 1232 2 libopenblas64_.dylib 0x110ba1c54 blas_thread_server + 388 3 libsystem_pthread.dylib 0x19662e06c _pthread_start + 148 4 libsystem_pthread.dylib 0x196628e2c thread_start + 8 Thread 4: 0 libsystem_kernel.dylib 0x1965f184c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x19662e638 _pthread_cond_wait + 1232 2 libopenblas64_.dylib 0x110ba1c54 blas_thread_server + 388 3 libsystem_pthread.dylib 0x19662e06c _pthread_start + 148 4 libsystem_pthread.dylib 0x196628e2c thread_start + 8 Thread 5: 0 libsystem_kernel.dylib 0x1965f184c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x19662e638 _pthread_cond_wait + 1232 2 libopenblas64_.dylib 0x110ba1c54 blas_thread_server + 388 3 libsystem_pthread.dylib 0x19662e06c _pthread_start + 148 4 libsystem_pthread.dylib 0x196628e2c thread_start + 8 Thread 6: 0 libsystem_kernel.dylib 0x1965f184c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x19662e638 _pthread_cond_wait + 1232 2 libopenblas64_.dylib 0x110ba1c54 blas_thread_server + 388 3 libsystem_pthread.dylib 0x19662e06c _pthread_start + 148 4 libsystem_pthread.dylib 0x196628e2c thread_start + 8 Thread 7: 0 libsystem_kernel.dylib 0x1965f184c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x19662e638 _pthread_cond_wait + 1232 2 libopenblas64_.dylib 0x110ba1c54 blas_thread_server + 388 3 libsystem_pthread.dylib 0x19662e06c _pthread_start + 148 4 libsystem_pthread.dylib 0x196628e2c thread_start + 8 Thread 8: 0 libsystem_kernel.dylib 0x1965f184c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x19662e638 _pthread_cond_wait + 1232 2 libopenblas64_.dylib 0x110ba1c54 blas_thread_server + 388 3 libsystem_pthread.dylib 0x19662e06c _pthread_start + 148 4 libsystem_pthread.dylib 0x196628e2c thread_start + 8 Thread 9: 0 libsystem_kernel.dylib 0x1965f184c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x19662e638 _pthread_cond_wait + 1232 2 libopenblas64_.dylib 0x110ba1c54 blas_thread_server + 388 3 libsystem_pthread.dylib 0x19662e06c _pthread_start + 148 4 libsystem_pthread.dylib 0x196628e2c thread_start + 8 Thread 10: 0 libsystem_kernel.dylib 0x1965f184c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x19662e638 _pthread_cond_wait + 1232 2 libopenblas64_.dylib 0x110ba1c54 blas_thread_server + 388 3 libsystem_pthread.dylib 0x19662e06c _pthread_start + 148 4 libsystem_pthread.dylib 0x196628e2c thread_start + 8 Thread 11: 0 libsystem_kernel.dylib 0x1965f184c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x19662e638 _pthread_cond_wait + 1232 2 libopenblas64_.dylib 0x110ba1c54 blas_thread_server + 388 3 libsystem_pthread.dylib 0x19662e06c _pthread_start + 148 4 libsystem_pthread.dylib 0x196628e2c thread_start + 8 Thread 12: 0 libsystem_kernel.dylib 0x1965f184c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x19662e638 _pthread_cond_wait + 1232 2 libopenblas64_.dylib 0x110ba1c54 blas_thread_server + 388 3 libsystem_pthread.dylib 0x19662e06c _pthread_start + 148 4 libsystem_pthread.dylib 0x196628e2c thread_start + 8 Thread 13: 0 libsystem_kernel.dylib 0x1965f184c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x19662e638 _pthread_cond_wait + 1232 2 libopenblas64_.dylib 0x110ba1c54 blas_thread_server + 388 3 libsystem_pthread.dylib 0x19662e06c _pthread_start + 148 4 libsystem_pthread.dylib 0x196628e2c thread_start + 8 Thread 14: 0 libsystem_pthread.dylib 0x196628e18 start_wqthread + 0 Thread 15: 0 libsystem_pthread.dylib 0x196628e18 start_wqthread + 0 Thread 16:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x1965ee050 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x19660011c mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x1965f6c24 mach_msg_overwrite + 452 3 libsystem_kernel.dylib 0x1965ee3cc mach_msg + 24 4 CoreFoundation 0x19670dbb0 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x19670c49c __CFRunLoopRun + 1232 6 CoreFoundation 0x19670b878 CFRunLoopRunSpecific + 612 7 AppKit 0x199abc188 _NSEventThread + 172 8 libsystem_pthread.dylib 0x19662e06c _pthread_start + 148 9 libsystem_pthread.dylib 0x196628e2c thread_start + 8 Thread 17: 0 libsystem_pthread.dylib 0x196628e18 start_wqthread + 0 Thread 18: 0 libsystem_pthread.dylib 0x196628e18 start_wqthread + 0 Thread 19: 0 libsystem_pthread.dylib 0x196628e18 start_wqthread + 0 Thread 20: 0 libsystem_pthread.dylib 0x196628e18 start_wqthread + 0 Thread 21: 0 libsystem_pthread.dylib 0x196628e18 start_wqthread + 0 Thread 22: 0 libsystem_pthread.dylib 0x196628e18 start_wqthread + 0 Thread 23: 0 libsystem_pthread.dylib 0x196628e18 start_wqthread + 0 Thread 24: 0 libsystem_pthread.dylib 0x196628e18 start_wqthread + 0 Thread 25: 0 libsystem_pthread.dylib 0x196628e18 start_wqthread + 0 Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x000000000000003b x3: 0x0000000196659650 x4: 0x0000000000000000 x5: 0x00000002c37198f0 x6: 0x000000000000000a x7: 0x0000000000000000 x8: 0xbd05e78caba6c109 x9: 0xbd05e78d5a1d4009 x10: 0x0000000000000200 x11: 0x00000002c3719440 x12: 0x0000000000000002 x13: 0x00000000000007fd x14: 0x000000006b8028fa x15: 0x000000006b6020f4 x16: 0x0000000000000148 x17: 0x00000001f6a1b6d8 x18: 0x0000000000000000 x19: 0x0000000000000006 x20: 0x00000001f1bb8100 x21: 0x0000000000000103 x22: 0x00000001f1bb81e0 x23: 0x0000000000000114 x24: 0x0000000000000000 x25: 0x00000001f1bb81e0 x26: 0x00006000025b3080 x27: 0x000000000000000f x28: 0x0000000000000000 fp: 0x00000002c3719970 lr: 0x000000019662dcec sp: 0x00000002c3719950 pc: 0x00000001965f6868 cpsr: 0x40001000 far: 0x000000010a68e950 esr: 0x56000080 Address size fault Binary Images: 0x1965ed000 - 0x196626feb libsystem_kernel.dylib (*) <6b682e21-fd96-3a5a-8260-fce367258252> /usr/lib/system/libsystem_kernel.dylib 0x196627000 - 0x196633ffb libsystem_pthread.dylib (*) <9f3b729a-ed04-3e65-adac-d75ad06ebbdc> /usr/lib/system/libsystem_pthread.dylib 0x1964ed000 - 0x19656dffb libsystem_c.dylib (*) <14cd841b-0c7b-34a2-a342-cc6796ef9259> /usr/lib/system/libsystem_c.dylib 0x196658000 - 0x19665fffb libsystem_platform.dylib (*) <4cf75103-429d-3aae-ba13-2c1f67e47dbb> /usr/lib/system/libsystem_platform.dylib 0x1965d5000 - 0x1965ecffb libc++abi.dylib (*) <871cf1b2-ba2c-385b-8f92-e41f4966c38d> /usr/lib/libc++abi.dylib 0x1962b8000 - 0x1962fdd9f libobjc.A.dylib (*) <951f5871-2d10-31ac-999d-7584ad121fa6> /usr/lib/libobjc.A.dylib 0x1964a2000 - 0x1964e9fff libdispatch.dylib (*) <4d52c3a5-32e6-37a2-9d6c-23c612038354> /usr/lib/system/libdispatch.dylib 0x19668c000 - 0x196b63fff com.apple.CoreFoundation (6.9) <18260df4-69a8-30d3-8175-fb8ae7ae7709> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x19fdba000 - 0x1a00edfff com.apple.HIToolbox (2.1.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x199958000 - 0x19a863fff com.apple.AppKit (6.9) <7758f868-3402-3892-8b75-66ab0b883af6> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x164140000 - 0x16416ffff libglfw.3.3.dylib (*) <8341f0b2-ff41-38f3-903a-577c7dafd9e0> /Users/USER/*/libglfw.3.3.dylib 0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ??? 0x105314000 - 0x105613fff libjulia-internal.1.8.dylib (*) /Applications/Julia-1.8.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.8.dylib 0x110a38000 - 0x111dcbfff libopenblas64_.dylib (*) /Applications/Julia-1.8.app/Contents/Resources/julia/lib/julia/libopenblas64_.dylib External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 0 thread_create: 0 thread_set_state: 0 VM Region Summary: ReadOnly portion of Libraries: Total=1.2G resident=0K(0%) swapped_out_or_unallocated=1.2G(100%) Writable regions: Total=3.0G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=3.0G(100%) VIRTUAL REGION REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Accelerate framework 128K 1 Activity Tracing 256K 1 CG backing stores 5568K 12 CG image 208K 9 ColorSync 528K 25 CoreAnimation 192K 12 CoreGraphics 64K 4 CoreUI image data 624K 9 Foundation 16K 1 Kernel Alloc Once 32K 1 MALLOC 583.7M 101 MALLOC guard page 192K 11 MALLOC_MEDIUM (reserved) 1.2G 11 reserved VM address space (unallocated) MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated) Mach message 32K 1 OpenGL GLSL 384K 5 STACK GUARD 400K 25 Stack 21.3M 26 Stack Guard 56.0M 1 VM_ALLOCATE 580.2M 2769 VM_ALLOCATE (reserved) 363.9M 5 reserved VM address space (unallocated) __AUTH 684K 176 __AUTH_CONST 12.3M 338 __CTF 756 1 __DATA 151.2M 431 __DATA_CONST 20.7M 428 __DATA_DIRTY 801K 116 __FONT_DATA 2352 1 __GLSLBUILTINS 5174K 1 __LINKEDIT 800.3M 92 __OBJC_CONST 1543K 150 __OBJC_RO 65.5M 1 __OBJC_RW 1988K 1 __TEXT 387.8M 446 dyld private memory 256K 1 mapped file 188.8M 25 shared memory 1536K 21 =========== ======= ======= TOTAL 4.7G 5260 TOTAL, minus reserved VM space 2.8G 5260 ----------- Full Report ----------- {"app_name":"julia","timestamp":"2023-01-30 09:44:35.00 -0800","app_version":"","slice_uuid":"cbe31d51-5f20-309e-8a9e-08ab15da37c1","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 13.2 (22D49)","roots_installed":0,"incident_id":"85838D4F-3E10-414C-99A1-B156FE422F3E","name":"julia"} { "uptime" : 36000, "procRole" : "Foreground", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "Mac14,6", "coalitionID" : 2971, "osVersion" : { "train" : "macOS 13.2", "build" : "22D49", "releaseType" : "User" }, "captureTime" : "2023-01-30 09:44:34.6732 -0800", "incident" : "85838D4F-3E10-414C-99A1-B156FE422F3E", "pid" : 8551, "translated" : false, "cpuType" : "ARM-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2023-01-30 09:44:10.8696 -0800", "procStartAbsTime" : 876327693002, "procExitAbsTime" : 876898734389, "procName" : "julia", "procPath" : "\/usr\/local\/bin\/julia", "parentProc" : "zsh", "parentPid" : 3430, "coalitionName" : "com.apple.Terminal", "crashReporterKey" : "901B8AC6-BFE3-BFCC-76CC-20EAF19207C1", "responsiblePid" : 3428, "responsibleProc" : "Terminal", "wakeTime" : 318, "sleepWakeUUID" : "18FB47E7-6646-4B00-8074-7786492B62D6", "sip" : "enabled", "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"}, "asi" : {"libsystem_c.dylib":["abort() called"]}, "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0}, "faultingThread" : 0, "threads" : [{"triggered":true,"id":507391,"threadState":{"x":[{"value":0},{"value":0},{"value":59},{"value":6818207312},{"value":0},{"value":11868936432},{"value":10},{"value":0},{"value":13620547239413203209},{"value":13620547242340204553},{"value":512},{"value":11868935232},{"value":2},{"value":2045},{"value":1803561210},{"value":1801462004},{"value":328},{"value":8432760536},{"value":0},{"value":6},{"value":8350564608,"symbolLocation":0,"symbol":"_main_thread"},{"value":259},{"value":8350564832,"symbolLocation":224,"symbol":"_main_thread"},{"value":276},{"value":0},{"value":8350564832,"symbolLocation":224,"symbol":"_main_thread"},{"value":105553155797120},{"value":15},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6818028780},"cpsr":{"value":1073745920},"fp":{"value":11868936560},"sp":{"value":11868936528},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6817802344,"matchesCrashFrame":1},"far":{"value":4469614928}},"queue":"com.apple.main-thread","frames":[{"imageOffset":39016,"symbol":"__pthread_kill","symbolLocation":8,"imageIndex":0},{"imageOffset":27884,"symbol":"pthread_kill","symbolLocation":288,"imageIndex":1},{"imageOffset":268748,"symbol":"raise","symbolLocation":32,"imageIndex":2},{"imageOffset":17060,"symbol":"_sigtramp","symbolLocation":56,"imageIndex":3},{"imageOffset":27884,"symbol":"pthread_kill","symbolLocation":288,"imageIndex":1},{"imageOffset":496328,"symbol":"abort","symbolLocation":180,"imageIndex":2},{"imageOffset":72472,"symbol":"abort_message","symbolLocation":132,"imageIndex":4},{"imageOffset":6668,"symbol":"demangling_terminate_handler()","symbolLocation":336,"imageIndex":4},{"imageOffset":145252,"symbol":"_objc_terminate()","symbolLocation":144,"imageIndex":5},{"imageOffset":69300,"symbol":"std::__terminate(void (*)())","symbolLocation":20,"imageIndex":4},{"imageOffset":69200,"symbol":"std::terminate()","symbolLocation":56,"imageIndex":4},{"imageOffset":17688,"symbol":"_dispatch_client_callout","symbolLocation":40,"imageIndex":6},{"imageOffset":77084,"symbol":"_dispatch_main_queue_drain","symbolLocation":928,"imageIndex":6},{"imageOffset":76140,"symbol":"_dispatch_main_queue_callback_4CF","symbolLocation":44,"imageIndex":6},{"imageOffset":798016,"symbol":"__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__","symbolLocation":16,"imageIndex":7},{"imageOffset":526272,"symbol":"__CFRunLoopRun","symbolLocation":2036,"imageIndex":7},{"imageOffset":522360,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":7},{"imageOffset":204704,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":8},{"imageOffset":204260,"symbol":"ReceiveNextEventCommon","symbolLocation":672,"imageIndex":8},{"imageOffset":203564,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":72,"imageIndex":8},{"imageOffset":235576,"symbol":"_DPSNextEvent","symbolLocation":632,"imageIndex":9},{"imageOffset":231880,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":728,"imageIndex":9},{"imageOffset":111056,"symbol":"_glfwPlatformPollEvents","symbolLocation":160,"imageIndex":10},{"imageOffset":11869733328,"imageIndex":11},{"imageOffset":11868946580,"imageIndex":11},{"imageOffset":243304,"symbol":"start_task","symbolLocation":184,"imageIndex":12}]},{"id":507394,"frames":[{"imageOffset":29076,"symbol":"kevent","symbolLocation":8,"imageIndex":0},{"imageOffset":505240,"symbol":"signal_listener","symbolLocation":604,"imageIndex":12},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":507395,"frames":[{"imageOffset":4176,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":78108,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":0},{"imageOffset":39972,"symbol":"mach_msg_overwrite","symbolLocation":452,"imageIndex":0},{"imageOffset":36936,"symbol":"mach_msg_server","symbolLocation":356,"imageIndex":0},{"imageOffset":500460,"symbol":"mach_segv_listener","symbolLocation":40,"imageIndex":12},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":507396,"frames":[{"imageOffset":18508,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":1},{"imageOffset":1481812,"symbol":"blas_thread_server","symbolLocation":388,"imageIndex":13},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":507397,"frames":[{"imageOffset":18508,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":1},{"imageOffset":1481812,"symbol":"blas_thread_server","symbolLocation":388,"imageIndex":13},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":507398,"frames":[{"imageOffset":18508,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":1},{"imageOffset":1481812,"symbol":"blas_thread_server","symbolLocation":388,"imageIndex":13},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":507399,"frames":[{"imageOffset":18508,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":1},{"imageOffset":1481812,"symbol":"blas_thread_server","symbolLocation":388,"imageIndex":13},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":507400,"frames":[{"imageOffset":18508,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":1},{"imageOffset":1481812,"symbol":"blas_thread_server","symbolLocation":388,"imageIndex":13},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":507401,"frames":[{"imageOffset":18508,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":1},{"imageOffset":1481812,"symbol":"blas_thread_server","symbolLocation":388,"imageIndex":13},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":507402,"frames":[{"imageOffset":18508,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":1},{"imageOffset":1481812,"symbol":"blas_thread_server","symbolLocation":388,"imageIndex":13},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":507403,"frames":[{"imageOffset":18508,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":1},{"imageOffset":1481812,"symbol":"blas_thread_server","symbolLocation":388,"imageIndex":13},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":507404,"frames":[{"imageOffset":18508,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":1},{"imageOffset":1481812,"symbol":"blas_thread_server","symbolLocation":388,"imageIndex":13},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":507405,"frames":[{"imageOffset":18508,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":1},{"imageOffset":1481812,"symbol":"blas_thread_server","symbolLocation":388,"imageIndex":13},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":507406,"frames":[{"imageOffset":18508,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":1},{"imageOffset":1481812,"symbol":"blas_thread_server","symbolLocation":388,"imageIndex":13},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":507480,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":507642,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":507643,"name":"com.apple.NSEventThread","frames":[{"imageOffset":4176,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":78108,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":0},{"imageOffset":39972,"symbol":"mach_msg_overwrite","symbolLocation":452,"imageIndex":0},{"imageOffset":5068,"symbol":"mach_msg","symbolLocation":24,"imageIndex":0},{"imageOffset":531376,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":7},{"imageOffset":525468,"symbol":"__CFRunLoopRun","symbolLocation":1232,"imageIndex":7},{"imageOffset":522360,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":7},{"imageOffset":1458568,"symbol":"_NSEventThread","symbolLocation":172,"imageIndex":9},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":507644,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":507645,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":507919,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":507920,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":507921,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":507922,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":507923,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":507924,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":507925,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]}], "usedImages" : [ { "source" : "P", "arch" : "arm64e", "base" : 6817763328, "size" : 237548, "uuid" : "6b682e21-fd96-3a5a-8260-fce367258252", "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib", "name" : "libsystem_kernel.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6818000896, "size" : 53244, "uuid" : "9f3b729a-ed04-3e65-adac-d75ad06ebbdc", "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib", "name" : "libsystem_pthread.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6816714752, "size" : 528380, "uuid" : "14cd841b-0c7b-34a2-a342-cc6796ef9259", "path" : "\/usr\/lib\/system\/libsystem_c.dylib", "name" : "libsystem_c.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6818201600, "size" : 32764, "uuid" : "4cf75103-429d-3aae-ba13-2c1f67e47dbb", "path" : "\/usr\/lib\/system\/libsystem_platform.dylib", "name" : "libsystem_platform.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6817665024, "size" : 98300, "uuid" : "871cf1b2-ba2c-385b-8f92-e41f4966c38d", "path" : "\/usr\/lib\/libc++abi.dylib", "name" : "libc++abi.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6814400512, "size" : 286112, "uuid" : "951f5871-2d10-31ac-999d-7584ad121fa6", "path" : "\/usr\/lib\/libobjc.A.dylib", "name" : "libobjc.A.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6816407552, "size" : 294912, "uuid" : "4d52c3a5-32e6-37a2-9d6c-23c612038354", "path" : "\/usr\/lib\/system\/libdispatch.dylib", "name" : "libdispatch.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6818414592, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.CoreFoundation", "size" : 5079040, "uuid" : "18260df4-69a8-30d3-8175-fb8ae7ae7709", "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation", "name" : "CoreFoundation", "CFBundleVersion" : "1953.300" }, { "source" : "P", "arch" : "arm64e", "base" : 6976937984, "CFBundleShortVersionString" : "2.1.1", "CFBundleIdentifier" : "com.apple.HIToolbox", "size" : 3358720, "uuid" : "c68fe2e2-e0f3-3caf-ada3-bcc72fba79d0", "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox", "name" : "HIToolbox" }, { "source" : "P", "arch" : "arm64e", "base" : 6871678976, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.AppKit", "size" : 15777792, "uuid" : "7758f868-3402-3892-8b75-66ab0b883af6", "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit", "name" : "AppKit", "CFBundleVersion" : "2299.40.116" }, { "source" : "P", "arch" : "arm64", "base" : 5973999616, "size" : 196608, "uuid" : "8341f0b2-ff41-38f3-903a-577c7dafd9e0", "path" : "\/Users\/USER\/*\/libglfw.3.3.dylib", "name" : "libglfw.3.3.dylib" }, { "size" : 0, "source" : "A", "base" : 0, "uuid" : "00000000-0000-0000-0000-000000000000" }, { "source" : "P", "arch" : "arm64", "base" : 4382081024, "size" : 3145728, "uuid" : "ff5fffd9-928d-362e-bb3c-473ecb9c9b5f", "path" : "\/Applications\/Julia-1.8.app\/Contents\/Resources\/julia\/lib\/julia\/libjulia-internal.1.8.dylib", "name" : "libjulia-internal.1.8.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4574117888, "size" : 20529152, "uuid" : "fb01d7b9-2ab5-3ca8-af7d-387be64e1f97", "path" : "\/Applications\/Julia-1.8.app\/Contents\/Resources\/julia\/lib\/julia\/libopenblas64_.dylib", "name" : "libopenblas64_.dylib" } ], "sharedCache" : { "base" : 6814040064, "size" : 3447406592, "uuid" : "3366b98c-6b8a-3546-8233-dc167320439f" }, "vmSummary" : "ReadOnly portion of Libraries: Total=1.2G resident=0K(0%) swapped_out_or_unallocated=1.2G(100%)\nWritable regions: Total=3.0G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=3.0G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 128K 1 \nActivity Tracing 256K 1 \nCG backing stores 5568K 12 \nCG image 208K 9 \nColorSync 528K 25 \nCoreAnimation 192K 12 \nCoreGraphics 64K 4 \nCoreUI image data 624K 9 \nFoundation 16K 1 \nKernel Alloc Once 32K 1 \nMALLOC 583.7M 101 \nMALLOC guard page 192K 11 \nMALLOC_MEDIUM (reserved) 1.2G 11 reserved VM address space (unallocated)\nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nMach message 32K 1 \nOpenGL GLSL 384K 5 \nSTACK GUARD 400K 25 \nStack 21.3M 26 \nStack Guard 56.0M 1 \nVM_ALLOCATE 580.2M 2769 \nVM_ALLOCATE (reserved) 363.9M 5 reserved VM address space (unallocated)\n__AUTH 684K 176 \n__AUTH_CONST 12.3M 338 \n__CTF 756 1 \n__DATA 151.2M 431 \n__DATA_CONST 20.7M 428 \n__DATA_DIRTY 801K 116 \n__FONT_DATA 2352 1 \n__GLSLBUILTINS 5174K 1 \n__LINKEDIT 800.3M 92 \n__OBJC_CONST 1543K 150 \n__OBJC_RO 65.5M 1 \n__OBJC_RW 1988K 1 \n__TEXT 387.8M 446 \ndyld private memory 256K 1 \nmapped file 188.8M 25 \nshared memory 1536K 21 \n=========== ======= ======= \nTOTAL 4.7G 5260 \nTOTAL, minus reserved VM space 2.8G 5260 \n", "legacyInfo" : { "threadTriggered" : { "queue" : "com.apple.main-thread" } }, "trialInfo" : { "rollouts" : [ { "rolloutId" : "6347054113acce15305b7b82", "factorPackIds" : { "SIRI_MEMORY_SYNC_CONFIG" : "634705e78e8be655c1316a6e" }, "deploymentId" : 240000005 }, { "rolloutId" : "60f8ddccefea4203d95cbeef", "factorPackIds" : { }, "deploymentId" : 240000021 } ], "experiments" : [ ] } } Model: Mac14,6, BootROM 8419.80.7, proc 12:8:4 processors, 32 GB, SMC Graphics: Apple M2 Max, Apple M2 Max, Built-In Display: Color LCD, 3456 x 2234 Retina, Main, MirrorOff, Online Display: DELL U2412M, 1920 x 1200 (WUXGA - Widescreen Ultra eXtended Graphics Array), MirrorOff, Online Display: DELL E2414H, 1920 x 1080 (1080p FHD - Full High Definition), MirrorOff, Online Memory Module: LPDDR5, Micron AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4388), wl0: Dec 8 2022 04:59:41 version 23.20.22.47.40.50.80 FWID 01-0c9425e4 Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB31Bus USB Device: USB31Bus USB Device: USB31Bus Thunderbolt Bus: MacBook Pro, Apple Inc. Thunderbolt Bus: MacBook Pro, Apple Inc. Thunderbolt Bus: MacBook Pro, Apple Inc. ```
pbouffard commented 1 year ago

Also, FWIW I also get the same error (on the M2, haven't tried with the other machine) with the branch from https://github.com/MakieOrg/Makie.jl/pull/2544.

pitipatw commented 1 year ago

Hi, I'm using M2 pro, and I encounter the same scenario here.

When ever I do the full screen of the Make screen, that screen would crash and shutdown my REPL in Visual Studio code.

pbouffard commented 1 year ago

Just tried this with GLMakie 0.8.2 (the previous report was with 0.8.1) and I'm still seeing the same error (on M2, I haven't tried Intel). I was hopeful that something in that release might have fixed this incidentally since there looked to be a bunch of Mac-related PRs, but alas.

jkrumbiegel commented 1 year ago

Maybe it would help to git bisect this to find at what point it was still working. Because I know that it was once working on my macbook, so I assume at some point something broke. One could even automate the bisection I think.

pbouffard commented 1 year ago

A slightly different error on Julia 1.9 beta4 and Makie master:

[25283] signal (11.2): Segmentation fault: 11
in expression starting at none:0
_ZN9libunwind10CFI_ParserINS_17LocalAddressSpaceEE9decodeFDEERS1_mPNS2_8FDE_InfoEPNS2_8CIE_InfoE at /usr/lib/system/libunwind.dylib (unknown line)
Allocations: 31734491 (Pool: 31730369; Big: 4122); GC: 45
MacOS Problem Report details ``` ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Process: julia [25371] Path: /Users/USER/*/julia-1.9 Identifier: julia Version: ??? Code Type: ARM-64 (Native) Parent Process: zsh [21675] Responsible: iTerm2 [1418] User ID: 501 Date/Time: 2023-02-16 05:07:19.6497 -0800 OS Version: macOS 13.2.1 (22D68) Report Version: 12 Anonymous UUID: 901B8AC6-BFE3-BFCC-76CC-20EAF19207C1 Sleep/Wake UUID: 6411F9AB-4634-4F72-952D-08D9ADA6ECBB Time Awake Since Boot: 98000 seconds Time Since Wake: 4291 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 Exception Codes: 0x0000000000000001, 0x0000000000000000 Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [25371] VM Region Info: 0 is not in any region. Bytes before following region: 4372545536 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> __TEXT 1049fc000-104a00000 [ 16K] r-x/r-x SM=COW ...lia/bin/julia Kernel Triage: VM - pmap_enter retried due to resource shortage VM - pmap_enter retried due to resource shortage VM - pmap_enter retried due to resource shortage VM - pmap_enter retried due to resource shortage VM - pmap_enter retried due to resource shortage Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libunwind.dylib 0x1988c9408 libunwind::CFI_Parser::decodeFDE(libunwind::LocalAddressSpace&, unsigned long, libunwind::CFI_Parser::FDE_Info*, libunwind::CFI_Parser::CIE_Info*) + 48 1 libunwind.dylib 0x1988cb4c4 libunwind::UnwindCursor::step() + 204 2 libunwind.dylib 0x1988cb4c4 libunwind::UnwindCursor::step() + 204 3 libobjc.A.dylib 0x18cef4c90 objc_addExceptionHandler + 68 4 AppKit 0x190a78148 +[NSEvent startPeriodicEventsAfterDelay:withPeriod:] + 256 5 AppKit 0x190753cf0 NSControlTrackMouse + 1300 6 AppKit 0x1907537b0 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 144 7 AppKit 0x190753668 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 488 8 AppKit 0x190e1c080 -[_NSThemeZoomWidgetCell trackMouse:inRect:ofView:untilMouseUp:] + 368 9 AppKit 0x190752b34 -[NSControl mouseDown:] + 448 10 AppKit 0x190751628 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 3420 11 AppKit 0x1906db844 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 1984 12 AppKit 0x1906daeb0 -[NSWindow(NSEventRouting) sendEvent:] + 284 13 AppKit 0x1906d9fe8 -[NSApplication(NSEvent) sendEvent:] + 1920 14 libglfw.3.3.dylib 0x2ae0871e8 _glfwPlatformPollEvents + 184 15 nfnZR_QiFUV.dylib 0x2d31c385c julia_pollevents_10870 + 492 16 nfnZR_QiFUV.dylib 0x2d3173590 julia_YY.65_10616 + 136 17 libjulia-internal.1.9.dylib 0x10500d338 start_task + 184 Thread 1: 0 libsystem_kernel.dylib 0x18d210194 kevent + 8 1 libjulia-internal.1.9.dylib 0x10504a428 signal_listener + 612 2 libsystem_pthread.dylib 0x18d24a06c _pthread_start + 148 3 libsystem_pthread.dylib 0x18d244e2c thread_start + 8 Thread 2: 0 libsystem_kernel.dylib 0x18d20a050 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x18d21c11c mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x18d212c24 mach_msg_overwrite + 452 3 libsystem_kernel.dylib 0x18d212048 mach_msg_server + 356 4 libjulia-internal.1.9.dylib 0x105049334 mach_segv_listener + 36 5 libsystem_pthread.dylib 0x18d24a06c _pthread_start + 148 6 libsystem_pthread.dylib 0x18d244e2c thread_start + 8 Thread 3: 0 libsystem_kernel.dylib 0x18d20d84c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18d24a638 _pthread_cond_wait + 1232 2 libopenblas64_.dylib 0x11107c73c blas_thread_server + 388 3 libsystem_pthread.dylib 0x18d24a06c _pthread_start + 148 4 libsystem_pthread.dylib 0x18d244e2c thread_start + 8 Thread 4: 0 libsystem_kernel.dylib 0x18d20d84c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18d24a638 _pthread_cond_wait + 1232 2 libopenblas64_.dylib 0x11107c73c blas_thread_server + 388 3 libsystem_pthread.dylib 0x18d24a06c _pthread_start + 148 4 libsystem_pthread.dylib 0x18d244e2c thread_start + 8 Thread 5: 0 libsystem_kernel.dylib 0x18d20d84c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18d24a638 _pthread_cond_wait + 1232 2 libopenblas64_.dylib 0x11107c73c blas_thread_server + 388 3 libsystem_pthread.dylib 0x18d24a06c _pthread_start + 148 4 libsystem_pthread.dylib 0x18d244e2c thread_start + 8 Thread 6: 0 libsystem_kernel.dylib 0x18d20d84c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18d24a638 _pthread_cond_wait + 1232 2 libopenblas64_.dylib 0x11107c73c blas_thread_server + 388 3 libsystem_pthread.dylib 0x18d24a06c _pthread_start + 148 4 libsystem_pthread.dylib 0x18d244e2c thread_start + 8 Thread 7: 0 libsystem_kernel.dylib 0x18d20d84c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18d24a638 _pthread_cond_wait + 1232 2 libopenblas64_.dylib 0x11107c73c blas_thread_server + 388 3 libsystem_pthread.dylib 0x18d24a06c _pthread_start + 148 4 libsystem_pthread.dylib 0x18d244e2c thread_start + 8 Thread 8: 0 libsystem_kernel.dylib 0x18d20d84c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18d24a638 _pthread_cond_wait + 1232 2 libopenblas64_.dylib 0x11107c73c blas_thread_server + 388 3 libsystem_pthread.dylib 0x18d24a06c _pthread_start + 148 4 libsystem_pthread.dylib 0x18d244e2c thread_start + 8 Thread 9: 0 libsystem_kernel.dylib 0x18d20d84c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18d24a638 _pthread_cond_wait + 1232 2 libopenblas64_.dylib 0x11107c73c blas_thread_server + 388 3 libsystem_pthread.dylib 0x18d24a06c _pthread_start + 148 4 libsystem_pthread.dylib 0x18d244e2c thread_start + 8 Thread 10: 0 libsystem_kernel.dylib 0x18d20d84c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18d24a638 _pthread_cond_wait + 1232 2 libopenblas64_.dylib 0x11107c73c blas_thread_server + 388 3 libsystem_pthread.dylib 0x18d24a06c _pthread_start + 148 4 libsystem_pthread.dylib 0x18d244e2c thread_start + 8 Thread 11: 0 libsystem_kernel.dylib 0x18d20d84c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18d24a638 _pthread_cond_wait + 1232 2 libopenblas64_.dylib 0x11107c73c blas_thread_server + 388 3 libsystem_pthread.dylib 0x18d24a06c _pthread_start + 148 4 libsystem_pthread.dylib 0x18d244e2c thread_start + 8 Thread 12: 0 libsystem_kernel.dylib 0x18d20d84c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18d24a638 _pthread_cond_wait + 1232 2 libopenblas64_.dylib 0x11107c73c blas_thread_server + 388 3 libsystem_pthread.dylib 0x18d24a06c _pthread_start + 148 4 libsystem_pthread.dylib 0x18d244e2c thread_start + 8 Thread 13: 0 libsystem_kernel.dylib 0x18d20d84c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18d24a638 _pthread_cond_wait + 1232 2 libopenblas64_.dylib 0x11107c73c blas_thread_server + 388 3 libsystem_pthread.dylib 0x18d24a06c _pthread_start + 148 4 libsystem_pthread.dylib 0x18d244e2c thread_start + 8 Thread 14: 0 libsystem_pthread.dylib 0x18d244e18 start_wqthread + 0 Thread 15: 0 libsystem_pthread.dylib 0x18d244e18 start_wqthread + 0 Thread 16: 0 libsystem_kernel.dylib 0x18d20a050 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x18d21c11c mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x18d212c24 mach_msg_overwrite + 452 3 libsystem_kernel.dylib 0x18d20a3cc mach_msg + 24 4 CoreFoundation 0x18d329bb0 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x18d32849c __CFRunLoopRun + 1232 6 CoreFoundation 0x18d327878 CFRunLoopRunSpecific + 612 7 CoreFoundation 0x18d3ae7e8 CFRunLoopRun + 64 8 libjulia-internal.1.9.dylib 0x1050bbd0c uv__cf_loop_runner + 124 9 libsystem_pthread.dylib 0x18d24a06c _pthread_start + 148 10 libsystem_pthread.dylib 0x18d244e2c thread_start + 8 Thread 17:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x18d20a050 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x18d21c11c mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x18d212c24 mach_msg_overwrite + 452 3 libsystem_kernel.dylib 0x18d20a3cc mach_msg + 24 4 CoreFoundation 0x18d329bb0 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x18d32849c __CFRunLoopRun + 1232 6 CoreFoundation 0x18d327878 CFRunLoopRunSpecific + 612 7 AppKit 0x1906d819c _NSEventThread + 172 8 libsystem_pthread.dylib 0x18d24a06c _pthread_start + 148 9 libsystem_pthread.dylib 0x18d244e2c thread_start + 8 Thread 18: 0 libsystem_pthread.dylib 0x18d244e18 start_wqthread + 0 Thread 19: 0 libsystem_pthread.dylib 0x18d244e18 start_wqthread + 0 Thread 20: 0 libsystem_pthread.dylib 0x18d244e18 start_wqthread + 0 Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x00000002dd741ef8 x2: 0x00000002dd741ec0 x3: 0x0000000000000000 x4: 0x00000002dd740940 x5: 0x00000002dd740908 x6: 0x0000010100000180 x7: 0x0000000000000000 x8: 0x00000002dd742150 x9: 0x00000002dd743890 x10: 0x0000000003000000 x11: 0xffffffffffffffff x12: 0x00000002d33b3948 x13: 0x0000000000000001 x14: 0x0000000003000000 x15: 0xffffffffffffffff x16: 0x194d0002d31c385c x17: 0x00000002d31c385c x18: 0x0000000000000000 x19: 0x00000002dd741ef8 x20: 0x0000000000000000 x21: 0x00000002dd741ec0 x22: 0x0000000000001528 x23: 0x0000000000000000 x24: 0x0000000000000001 x25: 0x000000019111e78d x26: 0x00000001906dc5ac x27: 0x00000001906dc5b8 x28: 0x000000019111e7af fp: 0x00000002dd740a60 lr: 0x68260001988cb4c4 sp: 0x00000002dd740a00 pc: 0x00000001988c9408 cpsr: 0x60001000 far: 0x0000000000000000 esr: 0x92000006 (Data Abort) byte read Translation fault Binary Images: 0x1988c4000 - 0x1988cefff libunwind.dylib (*) <3c7e16c5-77e1-3f26-b016-63d485708187> /usr/lib/system/libunwind.dylib 0x18ced4000 - 0x18cf19d9f libobjc.A.dylib (*) <951f5871-2d10-31ac-999d-7584ad121fa6> /usr/lib/libobjc.A.dylib 0x190574000 - 0x19147ffff com.apple.AppKit (6.9) <88722053-0df0-3d4f-bf55-7e3c2d2c8e29> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x2ae06c000 - 0x2ae09bfff libglfw.3.3.dylib (*) <8341f0b2-ff41-38f3-903a-577c7dafd9e0> /Users/USER/*/libglfw.3.3.dylib 0x2d3134000 - 0x2d340ffff nfnZR_QiFUV.dylib (*) <4c4c4409-5555-3144-a1b1-5a18ae592d87> /Users/USER/*/nfnZR_QiFUV.dylib 0x104fd8000 - 0x1052ebfff libjulia-internal.1.9.dylib (*) <2fed9243-4258-3795-8ae1-95fba0a2cdd4> /Applications/Julia-1.9.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.9.dylib 0x18d209000 - 0x18d242feb libsystem_kernel.dylib (*) <3dcd49b9-b3c5-3d90-be40-a3b807cb9cd7> /usr/lib/system/libsystem_kernel.dylib 0x18d243000 - 0x18d24fffb libsystem_pthread.dylib (*) <9f3b729a-ed04-3e65-adac-d75ad06ebbdc> /usr/lib/system/libsystem_pthread.dylib 0x110f0c000 - 0x1122bbfff libopenblas64_.dylib (*) /Applications/Julia-1.9.app/Contents/Resources/julia/lib/julia/libopenblas64_.dylib 0x18d2a8000 - 0x18d77ffff com.apple.CoreFoundation (6.9) <18260df4-69a8-30d3-8175-fb8ae7ae7709> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 0 thread_create: 0 thread_set_state: 0 VM Region Summary: ReadOnly portion of Libraries: Total=1.2G resident=0K(0%) swapped_out_or_unallocated=1.2G(100%) Writable regions: Total=3.0G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=3.0G(100%) VIRTUAL REGION REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Accelerate framework 128K 1 Activity Tracing 256K 1 CG backing stores 4032K 4 CG image 144K 8 ColorSync 528K 25 CoreAnimation 128K 8 CoreGraphics 32K 2 CoreUI image data 1168K 8 Foundation 16K 1 Kernel Alloc Once 32K 1 MALLOC 786.6M 89 MALLOC guard page 192K 11 MALLOC_MEDIUM (reserved) 1.2G 12 reserved VM address space (unallocated) MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated) Mach message 32K 1 OpenGL GLSL 384K 5 STACK GUARD 320K 20 Stack 26.1M 21 Stack Guard 56.0M 1 VM_ALLOCATE 264.4M 781 VM_ALLOCATE (reserved) 363.9M 5 reserved VM address space (unallocated) __AUTH 684K 176 __AUTH_CONST 12.3M 338 __CTF 756 1 __DATA 531.5M 608 __DATA_CONST 23.4M 591 __DATA_DIRTY 801K 116 __FONT_DATA 2352 1 __GLSLBUILTINS 5174K 1 __LINKEDIT 813.9M 254 __OBJC_CONST 1543K 150 __OBJC_RO 65.5M 1 __OBJC_RW 1988K 1 __TEXT 412.0M 608 dyld private memory 512K 2 mapped file 188.0M 27 shared memory 896K 17 =========== ======= ======= TOTAL 5.1G 3898 TOTAL, minus reserved VM space 3.1G 3898 ----------- Full Report ----------- {"app_name":"julia","timestamp":"2023-02-16 05:07:20.00 -0800","app_version":"","slice_uuid":"50ef0c1b-581f-3637-ad5b-85649e967481","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 13.2.1 (22D68)","roots_installed":0,"incident_id":"F8802711-59DA-4FA5-84AF-B3871DDCD631","name":"julia"} { "uptime" : 98000, "procRole" : "Foreground", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "Mac14,6", "coalitionID" : 927, "osVersion" : { "train" : "macOS 13.2.1", "build" : "22D68", "releaseType" : "User" }, "captureTime" : "2023-02-16 05:07:19.6497 -0800", "incident" : "F8802711-59DA-4FA5-84AF-B3871DDCD631", "pid" : 25371, "translated" : false, "cpuType" : "ARM-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2023-02-16 05:07:05.5085 -0800", "procStartAbsTime" : 2371278261114, "procExitAbsTime" : 2371617385146, "procName" : "julia", "procPath" : "\/Users\/USER\/*\/julia-1.9", "parentProc" : "zsh", "parentPid" : 21675, "coalitionName" : "com.googlecode.iterm2", "crashReporterKey" : "901B8AC6-BFE3-BFCC-76CC-20EAF19207C1", "responsiblePid" : 1418, "responsibleProc" : "iTerm2", "wakeTime" : 4291, "sleepWakeUUID" : "6411F9AB-4634-4F72-952D-08D9ADA6ECBB", "sip" : "enabled", "vmRegionInfo" : "0 is not in any region. Bytes before following region: 4372545536\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 1049fc000-104a00000 [ 16K] r-x\/r-x SM=COW ...lia\/bin\/julia", "exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000000"}, "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":25371}, "ktriageinfo" : "VM - pmap_enter retried due to resource shortage\nVM - pmap_enter retried due to resource shortage\nVM - pmap_enter retried due to resource shortage\nVM - pmap_enter retried due to resource shortage\nVM - pmap_enter retried due to resource shortage\n", "vmregioninfo" : "0 is not in any region. Bytes before following region: 4372545536\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 1049fc000-104a00000 [ 16K] r-x\/r-x SM=COW ...lia\/bin\/julia", "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0}, "faultingThread" : 0, "threads" : [{"triggered":true,"id":1515259,"threadState":{"x":[{"value":0},{"value":12305309432},{"value":12305309376},{"value":0},{"value":12305303872},{"value":12305303816},{"value":1103806595456},{"value":0},{"value":12305310032},{"value":12305315984},{"value":50331648},{"value":18446744073709551615},{"value":12133808456},{"value":1},{"value":50331648},{"value":18446744073709551615},{"value":1823113436286695516,"symbolLocation":1823113424154919404,"symbol":"julia_pollevents_10870"},{"value":12131776604,"symbolLocation":492,"symbol":"julia_pollevents_10870"},{"value":0},{"value":12305309432},{"value":0},{"value":12305309376},{"value":5416},{"value":0},{"value":1},{"value":6728837005,"symbolLocation":5,"symbol":"GCC_except_table20"},{"value":6718080428,"symbolLocation":5416,"symbol":"-[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:]"},{"value":6718080440,"symbolLocation":0,"symbol":"-[NSWindow _internalHandleAppKitDefinedEvent:]"},{"value":6728837039,"symbolLocation":39,"symbol":"GCC_except_table20"}],"flavor":"ARM_THREAD_STATE64","lr":{"value":7504685835913835716},"cpsr":{"value":1610616832},"fp":{"value":12305304160},"sp":{"value":12305304064},"esr":{"value":2449473542,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":6854317064,"matchesCrashFrame":1},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":21512,"symbol":"libunwind::CFI_Parser::decodeFDE(libunwind::LocalAddressSpace&, unsigned long, libunwind::CFI_Parser::FDE_Info*, libunwind::CFI_Parser::CIE_Info*)","symbolLocation":48,"imageIndex":0},{"imageOffset":29892,"symbol":"libunwind::UnwindCursor::step()","symbolLocation":204,"imageIndex":0},{"imageOffset":29892,"symbol":"libunwind::UnwindCursor::step()","symbolLocation":204,"imageIndex":0},{"imageOffset":134288,"symbol":"objc_addExceptionHandler","symbolLocation":68,"imageIndex":1},{"imageOffset":5259592,"symbol":"+[NSEvent startPeriodicEventsAfterDelay:withPeriod:]","symbolLocation":256,"imageIndex":2},{"imageOffset":1965296,"symbol":"NSControlTrackMouse","symbolLocation":1300,"imageIndex":2},{"imageOffset":1963952,"symbol":"-[NSCell trackMouse:inRect:ofView:untilMouseUp:]","symbolLocation":144,"imageIndex":2},{"imageOffset":1963624,"symbol":"-[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:]","symbolLocation":488,"imageIndex":2},{"imageOffset":9076864,"symbol":"-[_NSThemeZoomWidgetCell trackMouse:inRect:ofView:untilMouseUp:]","symbolLocation":368,"imageIndex":2},{"imageOffset":1960756,"symbol":"-[NSControl mouseDown:]","symbolLocation":448,"imageIndex":2},{"imageOffset":1955368,"symbol":"-[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:]","symbolLocation":3420,"imageIndex":2},{"imageOffset":1472580,"symbol":"-[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:]","symbolLocation":1984,"imageIndex":2},{"imageOffset":1470128,"symbol":"-[NSWindow(NSEventRouting) sendEvent:]","symbolLocation":284,"imageIndex":2},{"imageOffset":1466344,"symbol":"-[NSApplication(NSEvent) sendEvent:]","symbolLocation":1920,"imageIndex":2},{"imageOffset":111080,"symbol":"_glfwPlatformPollEvents","symbolLocation":184,"imageIndex":3},{"imageOffset":587868,"symbol":"julia_pollevents_10870","symbolLocation":492,"imageIndex":4},{"imageOffset":259472,"symbol":"julia_YY.65_10616","symbolLocation":136,"imageIndex":4},{"imageOffset":217912,"symbol":"start_task","symbolLocation":184,"imageIndex":5}]},{"id":1515260,"frames":[{"imageOffset":29076,"symbol":"kevent","symbolLocation":8,"imageIndex":6},{"imageOffset":468008,"symbol":"signal_listener","symbolLocation":612,"imageIndex":5},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":1515261,"frames":[{"imageOffset":4176,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":6},{"imageOffset":78108,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":6},{"imageOffset":39972,"symbol":"mach_msg_overwrite","symbolLocation":452,"imageIndex":6},{"imageOffset":36936,"symbol":"mach_msg_server","symbolLocation":356,"imageIndex":6},{"imageOffset":463668,"symbol":"mach_segv_listener","symbolLocation":36,"imageIndex":5},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":1515266,"frames":[{"imageOffset":18508,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":6},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":7},{"imageOffset":1509180,"symbol":"blas_thread_server","symbolLocation":388,"imageIndex":8},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":1515267,"frames":[{"imageOffset":18508,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":6},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":7},{"imageOffset":1509180,"symbol":"blas_thread_server","symbolLocation":388,"imageIndex":8},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":1515268,"frames":[{"imageOffset":18508,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":6},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":7},{"imageOffset":1509180,"symbol":"blas_thread_server","symbolLocation":388,"imageIndex":8},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":1515269,"frames":[{"imageOffset":18508,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":6},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":7},{"imageOffset":1509180,"symbol":"blas_thread_server","symbolLocation":388,"imageIndex":8},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":1515270,"frames":[{"imageOffset":18508,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":6},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":7},{"imageOffset":1509180,"symbol":"blas_thread_server","symbolLocation":388,"imageIndex":8},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":1515271,"frames":[{"imageOffset":18508,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":6},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":7},{"imageOffset":1509180,"symbol":"blas_thread_server","symbolLocation":388,"imageIndex":8},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":1515272,"frames":[{"imageOffset":18508,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":6},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":7},{"imageOffset":1509180,"symbol":"blas_thread_server","symbolLocation":388,"imageIndex":8},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":1515273,"frames":[{"imageOffset":18508,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":6},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":7},{"imageOffset":1509180,"symbol":"blas_thread_server","symbolLocation":388,"imageIndex":8},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":1515274,"frames":[{"imageOffset":18508,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":6},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":7},{"imageOffset":1509180,"symbol":"blas_thread_server","symbolLocation":388,"imageIndex":8},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":1515275,"frames":[{"imageOffset":18508,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":6},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":7},{"imageOffset":1509180,"symbol":"blas_thread_server","symbolLocation":388,"imageIndex":8},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":1515276,"frames":[{"imageOffset":18508,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":6},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":7},{"imageOffset":1509180,"symbol":"blas_thread_server","symbolLocation":388,"imageIndex":8},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":1515330,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":7}]},{"id":1515331,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":7}]},{"id":1515381,"frames":[{"imageOffset":4176,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":6},{"imageOffset":78108,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":6},{"imageOffset":39972,"symbol":"mach_msg_overwrite","symbolLocation":452,"imageIndex":6},{"imageOffset":5068,"symbol":"mach_msg","symbolLocation":24,"imageIndex":6},{"imageOffset":531376,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":9},{"imageOffset":525468,"symbol":"__CFRunLoopRun","symbolLocation":1232,"imageIndex":9},{"imageOffset":522360,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":9},{"imageOffset":1075176,"symbol":"CFRunLoopRun","symbolLocation":64,"imageIndex":9},{"imageOffset":933132,"symbol":"uv__cf_loop_runner","symbolLocation":124,"imageIndex":5},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":1515393,"name":"com.apple.NSEventThread","frames":[{"imageOffset":4176,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":6},{"imageOffset":78108,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":6},{"imageOffset":39972,"symbol":"mach_msg_overwrite","symbolLocation":452,"imageIndex":6},{"imageOffset":5068,"symbol":"mach_msg","symbolLocation":24,"imageIndex":6},{"imageOffset":531376,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":9},{"imageOffset":525468,"symbol":"__CFRunLoopRun","symbolLocation":1232,"imageIndex":9},{"imageOffset":522360,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":9},{"imageOffset":1458588,"symbol":"_NSEventThread","symbolLocation":172,"imageIndex":2},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":1515396,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":7}]},{"id":1515397,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":7}]},{"id":1515398,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":7}]}], "usedImages" : [ { "source" : "P", "arch" : "arm64e", "base" : 6854295552, "size" : 45056, "uuid" : "3c7e16c5-77e1-3f26-b016-63d485708187", "path" : "\/usr\/lib\/system\/libunwind.dylib", "name" : "libunwind.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6659325952, "size" : 286112, "uuid" : "951f5871-2d10-31ac-999d-7584ad121fa6", "path" : "\/usr\/lib\/libobjc.A.dylib", "name" : "libobjc.A.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6716604416, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.AppKit", "size" : 15777792, "uuid" : "88722053-0df0-3d4f-bf55-7e3c2d2c8e29", "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit", "name" : "AppKit", "CFBundleVersion" : "2299.40.118" }, { "source" : "P", "arch" : "arm64", "base" : 11509612544, "size" : 196608, "uuid" : "8341f0b2-ff41-38f3-903a-577c7dafd9e0", "path" : "\/Users\/USER\/*\/libglfw.3.3.dylib", "name" : "libglfw.3.3.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 12131188736, "size" : 2998272, "uuid" : "4c4c4409-5555-3144-a1b1-5a18ae592d87", "path" : "\/Users\/USER\/*\/nfnZR_QiFUV.dylib", "name" : "nfnZR_QiFUV.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4378689536, "size" : 3227648, "uuid" : "2fed9243-4258-3795-8ae1-95fba0a2cdd4", "path" : "\/Applications\/Julia-1.9.app\/Contents\/Resources\/julia\/lib\/julia\/libjulia-internal.1.9.dylib", "name" : "libjulia-internal.1.9.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6662688768, "size" : 237548, "uuid" : "3dcd49b9-b3c5-3d90-be40-a3b807cb9cd7", "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib", "name" : "libsystem_kernel.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6662926336, "size" : 53244, "uuid" : "9f3b729a-ed04-3e65-adac-d75ad06ebbdc", "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib", "name" : "libsystem_pthread.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4579180544, "size" : 20643840, "uuid" : "ef83a50b-f878-3950-a823-9a6b5c978120", "path" : "\/Applications\/Julia-1.9.app\/Contents\/Resources\/julia\/lib\/julia\/libopenblas64_.dylib", "name" : "libopenblas64_.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6663340032, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.CoreFoundation", "size" : 5079040, "uuid" : "18260df4-69a8-30d3-8175-fb8ae7ae7709", "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation", "name" : "CoreFoundation", "CFBundleVersion" : "1953.300" } ], "sharedCache" : { "base" : 6658965504, "size" : 3447455744, "uuid" : "835716ae-b363-3187-b065-cf94139bfc85" }, "vmSummary" : "ReadOnly portion of Libraries: Total=1.2G resident=0K(0%) swapped_out_or_unallocated=1.2G(100%)\nWritable regions: Total=3.0G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=3.0G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 128K 1 \nActivity Tracing 256K 1 \nCG backing stores 4032K 4 \nCG image 144K 8 \nColorSync 528K 25 \nCoreAnimation 128K 8 \nCoreGraphics 32K 2 \nCoreUI image data 1168K 8 \nFoundation 16K 1 \nKernel Alloc Once 32K 1 \nMALLOC 786.6M 89 \nMALLOC guard page 192K 11 \nMALLOC_MEDIUM (reserved) 1.2G 12 reserved VM address space (unallocated)\nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nMach message 32K 1 \nOpenGL GLSL 384K 5 \nSTACK GUARD 320K 20 \nStack 26.1M 21 \nStack Guard 56.0M 1 \nVM_ALLOCATE 264.4M 781 \nVM_ALLOCATE (reserved) 363.9M 5 reserved VM address space (unallocated)\n__AUTH 684K 176 \n__AUTH_CONST 12.3M 338 \n__CTF 756 1 \n__DATA 531.5M 608 \n__DATA_CONST 23.4M 591 \n__DATA_DIRTY 801K 116 \n__FONT_DATA 2352 1 \n__GLSLBUILTINS 5174K 1 \n__LINKEDIT 813.9M 254 \n__OBJC_CONST 1543K 150 \n__OBJC_RO 65.5M 1 \n__OBJC_RW 1988K 1 \n__TEXT 412.0M 608 \ndyld private memory 512K 2 \nmapped file 188.0M 27 \nshared memory 896K 17 \n=========== ======= ======= \nTOTAL 5.1G 3898 \nTOTAL, minus reserved VM space 3.1G 3898 \n", "legacyInfo" : { "threadTriggered" : { "queue" : "com.apple.main-thread" } }, "trialInfo" : { "rollouts" : [ { "rolloutId" : "6347054113acce15305b7b82", "factorPackIds" : { "SIRI_MEMORY_SYNC_CONFIG" : "634705e78e8be655c1316a6e" }, "deploymentId" : 240000005 }, { "rolloutId" : "6112d17137f5d11121dcd4e2", "factorPackIds" : { }, "deploymentId" : 240000213 } ], "experiments" : [ ] } } Model: Mac14,6, BootROM 8419.80.7, proc 12:8:4 processors, 32 GB, SMC Graphics: Apple M2 Max, Apple M2 Max, Built-In Display: Color LCD, 3456 x 2234 Retina, Main, MirrorOff, Online Memory Module: LPDDR5, Micron AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4388), wl0: Jan 30 2023 18:29:37 version 23.20.22.49.40.50.81 FWID 01-031dd993 Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB31Bus USB Device: USB31Bus USB Device: USB31Bus Thunderbolt Bus: MacBook Pro, Apple Inc. Thunderbolt Bus: MacBook Pro, Apple Inc. Thunderbolt Bus: MacBook Pro, Apple Inc. ```
ffreyer commented 1 year ago

To my understanding things like NSRangeException come from the OS https://developer.apple.com/documentation/foundation/nsrangeexception/ and trigger somewhere in GLFW. Unless adding a try ... catch around GLFW.PollEvents() helps I doubt we can do anything about it.

The tan(x) is probably triggering when setting up camera matrices. That could be fixed by discarding bad window rects (<1 width & height, infinite values) in GLMakie/events.jl. But that only helps if there isn't a hard error in GLFW or below.

Astro-mh commented 1 year ago

On my system (macOS 13.2.1, apple silicon) GLMakie is now unusable due to this issue as it occurs every time I try to interact with the GLMakie window.

I've done some digging and found that there's actually two underlying issues here:

The first is an apparently new macOS exception that generates a warning when using GUI code that hasn't been launched via an app bundle. This occurs in all apps, e.g. it can be triggered by running /System/Applications/Utilities/Console.app/Contents/MacOS/Console from the terminal, however, it is just a warning, and the app should continue to run after the exception is thrown.

The second issue does seem to be with GLMakie, as it crashes when the above exception is thrown rather than continuing. It's not clear to me why this is the case, but from the error messages it kind of looks like macOS is trying to write the backtrace message to the GLMakie window rather than the terminal.

As a test I built the HelloWorld program for glfw to see if the issue was there, but this shows the expected behaviour: the exception is thrown, the backtrace error is written to the terminal and the program continues. Here's the backtrace as captured by lldb:

1   HIToolbox                           0x00000001a5ef45c8 _ZN15MenuBarInstance22EnsureAutoShowObserverEv + 120
2   HIToolbox                           0x00000001a5ef4188 _ZN15MenuBarInstance14EnableAutoShowEv + 60
3   HIToolbox                           0x00000001a5e97310 SetMenuBarObscured + 372
4   HIToolbox                           0x00000001a5e96ee8 _ZN13HIApplication15HandleActivatedEP14OpaqueEventRefhP15OpaqueWindowPtrh + 172
5   HIToolbox                           0x00000001a5e90fcc _ZN13HIApplication13EventObserverEjP14OpaqueEventRefPv + 296
6   HIToolbox                           0x00000001a5e57cd0 _NotifyEventLoopObservers + 176
7   HIToolbox                           0x00000001a5e9096c AcquireEventFromQueue + 432
8   HIToolbox                           0x00000001a5e7fc84 ReceiveNextEventCommon + 320
9   HIToolbox                           0x00000001a5e7fb2c _BlockUntilNextEventMatchingListInModeWithFilter + 72
10  AppKit                              0x000000019fa2584c _DPSNextEvent + 632
11  AppKit                              0x000000019fa249dc -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728
12  glfwTest                            0x000000010000f750 _glfwPlatformPollEvents + 156
13  glfwTest                            0x0000000100002c0c main + 148
14  dyld                                0x000000019c397e50 start + 2544
2023-02-19 14:43:25.044148+0000 glfwTest[6513:200943] [exceptions] WARNING: assertion failed: 'NSRemoteView encountered app without bundle' in describeHostApp on line 1303 of file /AppleInternal/Library/BuildRoots/9e200cfa-7d96-11ed-886f-a23c4f261b56/Library/Caches/com.apple.xbs/Sources/ViewBridge/NSRemoteView.m

Comparing this with the backtrace from GLMakie (Julia 1.8) below and you can see the same references to MenuBarInstance at frames 13 & 14 for GLMakie and frames 1 & 2 for glfw, but then for GLMakie the backtrace shows a SIGABRT occurring while its trying to print the backtrace.

    frame #0: 0x000000019c68a868 libsystem_kernel.dylib`__pthread_kill + 8
    frame #1: 0x000000019c6c1cec libsystem_pthread.dylib`pthread_kill + 288
    frame #2: 0x000000019c5fa2c8 libsystem_c.dylib`abort + 180
    frame #3: 0x000000019c67ab18 libc++abi.dylib`abort_message + 132
    frame #4: 0x000000019c66aa0c libc++abi.dylib`demangling_terminate_handler() + 336
    frame #5: 0x000000019c36f764 libobjc.A.dylib`_objc_terminate() + 144
    frame #6: 0x000000019c679eb4 libc++abi.dylib`std::__terminate(void (*)()) + 20
    frame #7: 0x000000019c67cc2c libc++abi.dylib`__cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*) + 36
    frame #8: 0x000000019c67cbd8 libc++abi.dylib`__cxa_throw + 140
    frame #9: 0x000000019c367008 libobjc.A.dylib`objc_exception_throw + 412
    frame #10: 0x000000019c901c94 CoreFoundation`_CFThrowFormattedException + 108
    frame #11: 0x000000019c78e1ac CoreFoundation`-[NSArray subarrayWithRange:] + 456
    frame #12: 0x00000001a60b7d18 HIToolbox`HIPrintBacktrace + 80
    frame #13: 0x00000001a5ef45c8 HIToolbox`MenuBarInstance::EnsureAutoShowObserver() + 120
    frame #14: 0x00000001a5ef4188 HIToolbox`MenuBarInstance::EnableAutoShow() + 60
    frame #15: 0x00000001a5e97310 HIToolbox`SetMenuBarObscured + 372
    frame #16: 0x00000001a5e96ee8 HIToolbox`HIApplication::HandleActivated(OpaqueEventRef*, unsigned char, OpaqueWindowPtr*, unsigned char) + 172
    frame #17: 0x00000001a5e90fcc HIToolbox`HIApplication::EventObserver(unsigned int, OpaqueEventRef*, void*) + 296
    frame #18: 0x00000001a5e57cd0 HIToolbox`_NotifyEventLoopObservers + 176
    frame #19: 0x00000001a5e9096c HIToolbox`AcquireEventFromQueue + 432
    frame #20: 0x00000001a5e7fc84 HIToolbox`ReceiveNextEventCommon + 320
    frame #21: 0x00000001a5e7fb2c HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 72
    frame #22: 0x000000019fa2584c AppKit`_DPSNextEvent + 632
    frame #23: 0x000000019fa249dc AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728
    frame #24: 0x000000013fd4b1d0 libglfw.3.3.dylib`_glfwPlatformPollEvents + 160
    frame #25: 0x0000000298c981d0
    frame #26: 0x0000000298b90094
    frame #27: 0x0000000101c47668 libjulia-internal.1.8.dylib`start_task + 184
Astro-mh commented 1 year ago

Thanks to this issue python/cpython#101067 I've now got a workaround for this:

The initial exception only occurs if macOS Settings->Desktop & Dock->Menu Bar->Automatically hide and show the menu bar is not set to Never

I had it set to Always, so was always getting a crash, others will have it set to In Full Screen Only so will only see the crash when they go to full screen.

So the workaround is to make sure its set to Never

pbouffard commented 9 months ago

I'm not sure when this stopped being an issue on my system but FYI on 0.19.12 I don't see it anymore.

SimonDanisch commented 9 months ago

Possibly in a MacOS update? I don't think this was ever a Makie specific issue, although some specifics of how the window is created might have triggered this ...

pbouffard commented 9 months ago

Possibly in a MacOS update?

Could be. If nobody else is seeing this and I can no longer reproduce it, I'm content to leave it a mystery.

kbarros commented 5 months ago

I cannot reproduce this either on 12.7.4.

asinghvi17 commented 4 months ago

I can't reproduce this either - closing for now! Please feel free to comment if this does become an issue again.