Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test_tkinter crash on macOS #93042

Closed
ronaldoussoren opened this issue May 21, 2022 · 15 comments
Closed

Test_tkinter crash on macOS #93042

ronaldoussoren opened this issue May 21, 2022 · 15 comments
Labels
3.8 (EOL) end of life 3.9 only security fixes 3.10 only security fixes 3.11 only security fixes OS-mac topic-tkinter type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@ronaldoussoren
Copy link
Contributor

ronaldoussoren commented May 21, 2022

Crash report

With both python 3.10.4 and 3.11b1 I get a hard crash when running the tkinter test suite:

% python3.11 -m unittest discover tkinter.test -v
...
test_tk_setPalette (tkinter.test.test_tkinter.test_misc.MiscTest.test_tk_setPalette) ... ok
test_winfo_rgb (tkinter.test.test_tkinter.test_misc.MiscTest.test_winfo_rgb) ... ok
test_askinteger (tkinter.test.test_tkinter.test_simpledialog.DefaultRootTest.test_askinteger) ... zsh: trace trap  python3.11 -m unittest discover tkinter.test -v

Error messages

Crash dump
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Python [28115]
Path:                  /Library/Frameworks/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python
Identifier:            org.python.python
Version:               3.11.0b1 (3.11.0b1)
Code Type:             ARM-64 (Native)
Parent Process:        zsh [20171]
Responsible:           Terminal [10937]
User ID:               501

Date/Time:             2022-05-21 09:12:27.1896 +0200
OS Version:            macOS 12.4 (21F79)
Report Version:        12
Anonymous UUID:        FC5A8DA1-BFDB-67FB-A26D-C45A92A2E2B9

Sleep/Wake UUID:       158632E1-4766-4865-AB86-B0357794DF84

Time Awake Since Boot: 250000 seconds
Time Since Wake:       3001 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 0x000000000000001c
Exception Codes:       0x0000000000000001, 0x000000000000001c
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [28115]

VM Region Info: 0x1c is not in any region.  Bytes before following region: 105553518919652
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      MALLOC_NANO (reserved)   600018000000-600020000000 [128.0M] rw-/rwx SM=NUL  ...(unallocated)

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib               	       0x180465798 object_isClass + 16
1   Foundation                    	       0x18154ae40 KVO_IS_RETAINING_ALL_OBSERVERS_OF_THIS_OBJECT_IF_IT_CRASHES_AN_OBSERVER_WAS_OVERRELEASED_OR_SMASHED + 48
2   Foundation                    	       0x18154ac28 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] + 284
3   Foundation                    	       0x18155ad4c -[NSObject(NSKeyValueObservingPrivate) _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:] + 816
4   CoreFoundation                	       0x1806668ec -[CFPrefsSource forEachObserver:] + 332
5   CoreFoundation                	       0x1806a6d38 -[CFPrefsSource _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:] + 112
6   CoreFoundation                	       0x1806a6ba4 ___CFPrefsDeliverPendingKVONotificationsGuts_block_invoke + 440
7   CoreFoundation                	       0x1806a69e0 __CFDictionaryApplyFunction_block_invoke + 28
8   CoreFoundation                	       0x18066b740 CFBasicHashApply + 148
9   CoreFoundation                	       0x18065d2ac CFDictionaryApplyFunction + 328
10  CoreFoundation                	       0x1806a6954 _CFPrefsDeliverPendingKVONotificationsGuts + 300
11  CoreFoundation                	       0x18064e1a4 -[_CFXPreferences _deliverPendingKVONotifications] + 96
12  CoreFoundation                	       0x18064eb6c __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 412
13  CoreFoundation                	       0x1807c3394 -[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 384
14  CoreFoundation                	       0x18064e504 -[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:] + 168
15  CoreFoundation                	       0x18064e420 _CFPreferencesCopyAppValueWithContainerAndConfiguration + 128
16  CoreFoundation                	       0x180676364 _CFPreferencesGetAppIntegerValueWithContainer + 56
17  Metal                         	       0x188f10f40 invocation function for block in initWrapperType() + 188
18  libdispatch.dylib             	       0x1804141b4 _dispatch_client_callout + 20
19  libdispatch.dylib             	       0x180415a34 _dispatch_once_callout + 32
20  Metal                         	       0x188f10e60 invocation function for block in MTLDeviceArrayInitialize() + 1292
21  libdispatch.dylib             	       0x1804141b4 _dispatch_client_callout + 20
22  libdispatch.dylib             	       0x180415a34 _dispatch_once_callout + 32
23  Metal                         	       0x188ee81b8 MTLCopyAllDevices + 244
24  CoreImage                     	       0x189882100 CIMetalCopyDefaultDevice + 88
25  CoreImage                     	       0x1899289d4 invocation function for block in can_use_metal() + 40
26  libdispatch.dylib             	       0x1804141b4 _dispatch_client_callout + 20
27  libdispatch.dylib             	       0x180415a34 _dispatch_once_callout + 32
28  CoreImage                     	       0x189885898 -[CIContext initWithOptions:] + 924
29  CoreUI                        	       0x1878b5930 __38+[CUIShapeEffectStack sharedCIContext]_block_invoke + 72
30  libdispatch.dylib             	       0x1804141b4 _dispatch_client_callout + 20
31  libdispatch.dylib             	       0x180415a34 _dispatch_once_callout + 32
32  CoreUI                        	       0x1878b58e4 +[CUIShapeEffectStack sharedCIContext] + 64
33  CoreUI                        	       0x1878cee2c -[CUIShapeEffectStack newFlattenedImageFromShapeCGImage:withScale:cache:] + 212
34  CoreUI                        	       0x1878c7f0c DrawThreePartImageWithOperation + 728
35  CoreUI                        	       0x1878c0bd8 -[CUIThemeFacet _drawSpecificRenditionKey:rendition:inFrame:context:alpha:operation:isFocused:isFlipped:effects:] + 284
36  CoreUI                        	       0x1878c0a90 -[CUIThemeFacet _drawSpecificRenditionKey:inFrame:context:isFocused:isFlipped:effects:] + 192
37  CoreUI                        	       0x1878c998c -[CUIThemeFacet drawInFrame:isFocused:context:effects:] + 140
38  CoreUI                        	       0x18793d210 CUICoreThemeRenderer::DrawPushOrBevelButton(bool, CUIDescriptor const*) + 504
39  CoreUI                        	       0x1878aa8ac CUIRenderer::Draw(CGRect, CGContext*, __CFDictionary const*, __CFDictionary const**) + 1060
40  CoreUI                        	       0x1878aa448 CUIDraw + 224
41  HIToolbox                     	       0x1892d4bdc _HIThemeCUIDrawWithOptions + 184
42  HIToolbox                     	       0x189364b10 _HIThemeDrawButtonInternal(CGRect const*, HIThemeButtonDrawInfo const*, HIThemeButtonDrawInfo const*, ThemeEraseXUPP*, ThemeButtonDrawXUPP*, void*, CGContext*, unsigned int, CGRect*) + 1600
43  HIToolbox                     	       0x1893644c4 HIThemeDrawButton + 32
44  libtk8.6.dylib                	       0x104eb6a94 TkpDisplayButton + 804
45  libtcl8.6.dylib               	       0x1051b49b0 TclServiceIdle + 84
46  libtcl8.6.dylib               	       0x10519906c Tcl_DoOneEvent + 296
47  libtk8.6.dylib                	       0x104ed0d80 -[TKContentView(TKWindowEvent) generateExposeEvents:] + 208
48  libtk8.6.dylib                	       0x104ed0ae4 -[TKContentView(TKWindowEvent) drawRect:] + 180
49  AppKit                        	       0x183363a80 _NSViewDrawRect + 148
50  AppKit                        	       0x183a9c1dc -[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:] + 1308
51  AppKit                        	       0x1833631f4 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 688
52  AppKit                        	       0x183362e88 -[NSView(NSLayerKitGlue) drawLayer:inContext:] + 344
53  QuartzCore                    	       0x18753dbf4 CABackingStoreUpdate_ + 484
54  QuartzCore                    	       0x18759bee0 invocation function for block in CA::Layer::display_() + 64
55  QuartzCore                    	       0x18753cbf8 -[CALayer _display] + 1948
56  QuartzCore                    	       0x18753bc4c CA::Layer::display_if_needed(CA::Transaction*) + 780
57  QuartzCore                    	       0x187687728 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 464
58  QuartzCore                    	       0x18751d44c CA::Transaction::commit() + 704
59  AppKit                        	       0x183374910 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 304
60  AppKit                        	       0x183ad8c1c ___NSRunLoopObserverCreateWithHandler_block_invoke + 64
61  CoreFoundation                	       0x1806a4244 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36
62  CoreFoundation                	       0x1806a4094 __CFRunLoopDoObservers + 592
63  CoreFoundation                	       0x1806a35c8 __CFRunLoopRun + 772
64  CoreFoundation                	       0x1806a2b24 CFRunLoopRunSpecific + 600
65  HIToolbox                     	       0x1892db338 RunCurrentEventLoopInMode + 292
66  HIToolbox                     	       0x1892dafc4 ReceiveNextEventCommon + 324
67  HIToolbox                     	       0x1892dae68 _BlockUntilNextEventMatchingListInModeWithFilter + 72
68  AppKit                        	       0x18320978c _DPSNextEvent + 860
69  AppKit                        	       0x183208084 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1328
70  libtk8.6.dylib                	       0x104ecc900 TkMacOSXEventsSetupProc + 152
71  libtcl8.6.dylib               	       0x105199008 Tcl_DoOneEvent + 196
72  libtk8.6.dylib                	       0x104ed1a10 TkMacOSXHandleMapOrUnmap + 108
73  libtk8.6.dylib                	       0x104ed1b90 TkWmMapWindow + 316
74  libtk8.6.dylib                	       0x104e3adc4 Tk_MapWindow + 152
75  libtk8.6.dylib                	       0x104ed7084 TkpWmSetState + 116
76  libtk8.6.dylib                	       0x104ed44ec Tk_WmObjCmd + 7136
77  libtcl8.6.dylib               	       0x1050eb2a8 TclNRRunCallbacks + 80
78  _tkinter.cpython-311-darwin.so	       0x104bf5348 Tkapp_Call + 336
79  Python                        	       0x105816b7c method_vectorcall_VARARGS + 116
80  Python                        	       0x105925ca4 _PyEval_EvalFrameDefault + 49552
81  Python                        	       0x10592c67c _PyEval_Vector + 156
82  Python                        	       0x105805adc _PyObject_FastCallDictTstate + 96
83  Python                        	       0x105890208 slot_tp_init + 180
84  Python                        	       0x105886c7c type_call + 136
85  Python                        	       0x105806998 _PyObject_Call + 124
86  Python                        	       0x1059289a4 _PyEval_EvalFrameDefault + 61072
87  Python                        	       0x10592c67c _PyEval_Vector + 156
88  Python                        	       0x105809ab8 method_vectorcall + 164
89  Python                        	       0x1059289a4 _PyEval_EvalFrameDefault + 61072
90  Python                        	       0x10592c67c _PyEval_Vector + 156
91  Python                        	       0x105805adc _PyObject_FastCallDictTstate + 96
92  Python                        	       0x10588e84c slot_tp_call + 180
93  Python                        	       0x1058057bc _PyObject_MakeTpCall + 128
94  Python                        	       0x105925fd0 _PyEval_EvalFrameDefault + 50364
95  Python                        	       0x10592c67c _PyEval_Vector + 156
96  Python                        	       0x105809ab8 method_vectorcall + 164
97  Python                        	       0x1059289a4 _PyEval_EvalFrameDefault + 61072
98  Python                        	       0x10592c67c _PyEval_Vector + 156
99  Python                        	       0x105805adc _PyObject_FastCallDictTstate + 96
100 Python                        	       0x10588e84c slot_tp_call + 180
101 Python                        	       0x1058057bc _PyObject_MakeTpCall + 128
102 Python                        	       0x105925fd0 _PyEval_EvalFrameDefault + 50364
103 Python                        	       0x10592c67c _PyEval_Vector + 156
104 Python                        	       0x105809ab8 method_vectorcall + 164
105 Python                        	       0x1059289a4 _PyEval_EvalFrameDefault + 61072
106 Python                        	       0x10592c67c _PyEval_Vector + 156
107 Python                        	       0x105805adc _PyObject_FastCallDictTstate + 96
108 Python                        	       0x10588e84c slot_tp_call + 180
109 Python                        	       0x1058057bc _PyObject_MakeTpCall + 128
110 Python                        	       0x105925fd0 _PyEval_EvalFrameDefault + 50364
111 Python                        	       0x10592c67c _PyEval_Vector + 156
112 Python                        	       0x105809ab8 method_vectorcall + 164
113 Python                        	       0x1059289a4 _PyEval_EvalFrameDefault + 61072
114 Python                        	       0x10592c67c _PyEval_Vector + 156
115 Python                        	       0x105805adc _PyObject_FastCallDictTstate + 96
116 Python                        	       0x10588e84c slot_tp_call + 180
117 Python                        	       0x1058057bc _PyObject_MakeTpCall + 128
118 Python                        	       0x105925fd0 _PyEval_EvalFrameDefault + 50364
119 Python                        	       0x10592c67c _PyEval_Vector + 156
120 Python                        	       0x105805b4c _PyObject_FastCallDictTstate + 208
121 Python                        	       0x105890208 slot_tp_init + 180
122 Python                        	       0x105886c7c type_call + 136
123 Python                        	       0x1058057bc _PyObject_MakeTpCall + 128
124 Python                        	       0x105925fd0 _PyEval_EvalFrameDefault + 50364
125 Python                        	       0x105918900 PyEval_EvalCode + 276
126 Python                        	       0x105913064 builtin_exec + 380
127 Python                        	       0x105867e50 cfunction_vectorcall_FASTCALL_KEYWORDS + 80
128 Python                        	       0x105925ca4 _PyEval_EvalFrameDefault + 49552
129 Python                        	       0x10592c67c _PyEval_Vector + 156
130 Python                        	       0x1059b6784 pymain_run_module + 256
131 Python                        	       0x1059b5f5c pymain_run_python + 192
132 Python                        	       0x1059b5e5c Py_RunMain + 24
133 Python                        	       0x1059b751c pymain_main + 56
134 Python                        	       0x1059b77a4 Py_BytesMain + 40
135 dyld                          	       0x10493108c start + 520

Thread 1:
0   libsystem_pthread.dylib       	       0x1805d3078 start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib       	       0x1805d3078 start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	       0x1805d3078 start_wqthread + 0

Thread 4:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	       0x18059a8b0 mach_msg_trap + 8
1   libsystem_kernel.dylib        	       0x18059ad20 mach_msg + 76
2   CoreFoundation                	       0x1806a52b0 __CFRunLoopServiceMachPort + 372
3   CoreFoundation                	       0x1806a3760 __CFRunLoopRun + 1180
4   CoreFoundation                	       0x1806a2b24 CFRunLoopRunSpecific + 600
5   AppKit                        	       0x183376374 _NSEventThread + 196
6   libsystem_pthread.dylib       	       0x1805d826c _pthread_start + 148
7   libsystem_pthread.dylib       	       0x1805d308c thread_start + 8

Thread 5:
0   libsystem_kernel.dylib        	       0x1805a5598 __select + 8
1   libtcl8.6.dylib               	       0x1051e2754 NotifierThreadProc + 664
2   libsystem_pthread.dylib       	       0x1805d826c _pthread_start + 148
3   libsystem_pthread.dylib       	       0x1805d308c thread_start + 8

Thread 6:
0   libsystem_pthread.dylib       	       0x1805d3078 start_wqthread + 0

Thread 7:
0   libsystem_pthread.dylib       	       0x1805d3078 start_wqthread + 0


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x000000012efe0a40   x1: 0x000000016b876a60   x2: 0x0000000000000002   x3: 0x00000001803e704c
    x4: 0x0000000000000000   x5: 0x7fffffffffffffff   x6: 0x0000000000000000   x7: 0x0000000000000000
    x8: 0x0000000000000000   x9: 0x7cac94a3758400ae  x10: 0x00000000000007fb  x11: 0x00000000000007fd
   x12: 0x000000000000001b  x13: 0x000000009ce46013  x14: 0x000000009d046800  x15: 0x000000000000008d
   x16: 0x0000000180465788  x17: 0x00000001d9cf2b88  x18: 0x0000000000000000  x19: 0x000000016b876a60
   x20: 0x0000000000000001  x21: 0x000000012efe0a40  x22: 0x0000600002022b60  x23: 0x0000000000000000
   x24: 0x0000000000000001  x25: 0x000000016b876a60  x26: 0x000060000205c360  x27: 0x000000016b877030
   x28: 0x0000000000000000   fp: 0x000000016b876a50   lr: 0x000000018154ae40
    sp: 0x000000016b876a30   pc: 0x0000000180465798 cpsr: 0x20001000
   far: 0x000000000000001c  esr: 0x92000006 (Data Abort) byte read Translation fault

Binary Images:
       0x180457000 -        0x180494fff libobjc.A.dylib (*) <6ffccf84-5e0f-34b2-bcbb-bcf98407ea05> /usr/lib/libobjc.A.dylib
       0x181523000 -        0x181914fff com.apple.Foundation (6.9) <a2e534d9-cdf0-397f-a41e-147559c83893> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
       0x180620000 -        0x180b66fff com.apple.CoreFoundation (6.9) <994db908-11a1-3e43-b7df-25c09d51368a> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x188ee6000 -        0x189027fff com.apple.Metal (263.8) <fe2c16e1-6e67-3fc0-a9a0-3479bf97ef68> /System/Library/Frameworks/Metal.framework/Versions/A/Metal
       0x180410000 -        0x180456fff libdispatch.dylib (*) <f9300d47-d3db-3349-8a6d-acb68cd9983b> /usr/lib/system/libdispatch.dylib
       0x189879000 -        0x189bd8fff com.apple.CoreImage (17.0.0) <ed737c16-c4e9-3f22-aa79-04a0d6cd92e2> /System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage
       0x187895000 -        0x1879d2fff com.apple.coreui (2.1) <46de086f-876c-3814-87aa-25fb12ce2b97> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
       0x1892a9000 -        0x1895dcfff com.apple.HIToolbox (2.1.1) <f842b96a-54f3-36f3-9b94-b258fae1b7eb> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
       0x104e08000 -        0x104f07fff libtk8.6.dylib (*) <507d727f-2091-3699-8744-b7727fcd4477> /Library/Frameworks/Python.framework/Versions/3.11/lib/libtk8.6.dylib
       0x1050d8000 -        0x105203fff libtcl8.6.dylib (*) <ba79d3f8-9825-3021-a89f-300cfb1148b4> /Library/Frameworks/Python.framework/Versions/3.11/lib/libtcl8.6.dylib
       0x1831c8000 -        0x18407ffff com.apple.AppKit (6.9) <a773dd23-b1c8-3c9b-9175-9a71d210ace0> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
       0x187517000 -        0x187844fff com.apple.QuartzCore (1.11) <7a5838a0-104b-3896-9c99-66ee81786497> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
       0x104bf4000 -        0x104bfbfff _tkinter.cpython-311-darwin.so (*) <a385127f-a3bb-3ffd-b355-f4ab87275628> /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/lib-dynload/_tkinter.cpython-311-darwin.so
       0x105770000 -        0x105b33fff org.python.python (3.11.0b1, (c) 2001-2021 Python Software Foundation.) <f4113812-803c-38d8-8a44-dc9d08fd5f4e> /Library/Frameworks/Python.framework/Versions/3.11/Python
       0x10492c000 -        0x10498bfff dyld (*) <d9c2a46e-8dc4-3950-9d6a-f799e8ccb683> /usr/lib/dyld
       0x1805d1000 -        0x1805ddfff libsystem_pthread.dylib (*) <42166a2c-89a9-3c38-a215-f028544cea23> /usr/lib/system/libsystem_pthread.dylib
       0x180599000 -        0x1805d0fff libsystem_kernel.dylib (*) <03f48dc5-caa7-3678-af61-1a3c7fa8b06e> /usr/lib/system/libsystem_kernel.dylib
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

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=785.4M resident=0K(0%) swapped_out_or_unallocated=785.4M(100%)
Writable regions: Total=1.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.1G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               256K        2 
Activity Tracing                   256K        1 
CG backing stores                 2176K        4 
CG image                            96K        6 
ColorSync                          528K       26 
CoreAnimation                     2512K       13 
CoreGraphics                        32K        2 
CoreUI image data                 1632K        9 
Foundation                          16K        1 
Kernel Alloc Once                   32K        1 
MALLOC                           241.3M       45 
MALLOC guard page                  192K       10 
MALLOC_MEDIUM (reserved)         480.0M        4         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
STACK GUARD                        128K        8 
Stack                             19.3M        8 
VM_ALLOCATE                       8416K       22 
__AUTH                            1778K      145 
__AUTH_CONST                      9252K      291 
__CTF                               756        1 
__DATA                            9686K      296 
__DATA_CONST                      10.4M      310 
__DATA_DIRTY                       595K      100 
__FONT_DATA                          4K        1 
__LINKEDIT                       580.1M       22 
__OBJC_CONST                      1246K      122 
__OBJC_RO                         83.0M        1 
__OBJC_RW                         3152K        1 
__TEXT                           205.2M      326 
__UNICODE                          592K        1 
dyld private memory               1024K        1 
mapped file                      160.3M       22 
shared memory                      864K       15 
===========                     =======  ======= 
TOTAL                              2.2G     1818 
TOTAL, minus reserved VM space     1.3G     1818 



-----------
Full Report
-----------

{"app_name":"Python","timestamp":"2022-05-21 09:12:27.00 +0200","app_version":"3.11.0b1","slice_uuid":"5ececba5-48da-3d97-8ad2-d6414769e296","build_version":"3.11.0b1","platform":1,"bundleID":"org.python.python","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.4 (21F79)","incident_id":"E5CB931D-DE02-41AC-B0B3-F5082CA1B141","name":"Python"}
{
  "uptime" : 250000,
  "procLaunch" : "2022-05-21 09:12:24.0536 +0200",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro17,1",
  "procStartAbsTime" : 6203136774602,
  "coalitionID" : 1704,
  "osVersion" : {
    "train" : "macOS 12.4",
    "build" : "21F79",
    "releaseType" : "User"
  },
  "captureTime" : "2022-05-21 09:12:27.1896 +0200",
  "incident" : "E5CB931D-DE02-41AC-B0B3-F5082CA1B141",
  "bug_type" : "309",
  "pid" : 28115,
  "procExitAbsTime" : 6203211748365,
  "translated" : false,
  "cpuType" : "ARM-64",
  "procName" : "Python",
  "procPath" : "\/Library\/Frameworks\/Python.framework\/Versions\/3.11\/Resources\/Python.app\/Contents\/MacOS\/Python",
  "bundleInfo" : {"CFBundleShortVersionString":"3.11.0b1","CFBundleVersion":"3.11.0b1","CFBundleIdentifier":"org.python.python"},
  "storeInfo" : {"deviceIdentifierForVendor":"F1BC7687-A2AD-5C23-BC31-8EEBDD07C449","thirdParty":true},
  "parentProc" : "zsh",
  "parentPid" : 20171,
  "coalitionName" : "com.apple.Terminal",
  "crashReporterKey" : "FC5A8DA1-BFDB-67FB-A26D-C45A92A2E2B9",
  "responsiblePid" : 10937,
  "responsibleProc" : "Terminal",
  "wakeTime" : 3001,
  "sleepWakeUUID" : "158632E1-4766-4865-AB86-B0357794DF84",
  "sip" : "enabled",
  "vmRegionInfo" : "0x1c is not in any region.  Bytes before following region: 105553518919652\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      MALLOC_NANO (reserved)   600018000000-600020000000 [128.0M] rw-\/rwx SM=NUL  ...(unallocated)",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000001, 0x000000000000001c","rawCodes":[1,28],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x000000000000001c"},
  "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":28115},
  "vmregioninfo" : "0x1c is not in any region.  Bytes before following region: 105553518919652\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      MALLOC_NANO (reserved)   600018000000-600020000000 [128.0M] rw-\/rwx SM=NUL  ...(unallocated)",
  "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":2554642,"threadState":{"x":[{"value":5083368000},{"value":6099004000},{"value":2},{"value":6446542924,"symbolLocation":0,"symbol":"nanov2_free_definite_size"},{"value":0},{"value":9223372036854775807},{"value":0},{"value":0},{"value":0},{"value":8983718786469462190},{"value":2043},{"value":2045},{"value":27},{"value":2632212499},{"value":2634311680},{"value":141},{"value":6447060872,"symbolLocation":0,"symbol":"object_isClass"},{"value":7949200264},{"value":0},{"value":6099004000},{"value":1},{"value":5083368000},{"value":105553149963104},{"value":0},{"value":1},{"value":6099004000},{"value":105553150198624},{"value":6099005488},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6464777792},"cpsr":{"value":536875008},"fp":{"value":6099003984},"sp":{"value":6099003952},"esr":{"value":2449473542,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":6447060888,"matchesCrashFrame":1},"far":{"value":28}},"queue":"com.apple.main-thread","frames":[{"imageOffset":59288,"symbol":"object_isClass","symbolLocation":16,"imageIndex":0},{"imageOffset":163392,"symbol":"KVO_IS_RETAINING_ALL_OBSERVERS_OF_THIS_OBJECT_IF_IT_CRASHES_AN_OBSERVER_WAS_OVERRELEASED_OR_SMASHED","symbolLocation":48,"imageIndex":1},{"imageOffset":162856,"symbol":"-[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:]","symbolLocation":284,"imageIndex":1},{"imageOffset":228684,"symbol":"-[NSObject(NSKeyValueObservingPrivate) _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:]","symbolLocation":816,"imageIndex":1},{"imageOffset":289004,"symbol":"-[CFPrefsSource forEachObserver:]","symbolLocation":332,"imageIndex":2},{"imageOffset":552248,"symbol":"-[CFPrefsSource _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:]","symbolLocation":112,"imageIndex":2},{"imageOffset":551844,"symbol":"___CFPrefsDeliverPendingKVONotificationsGuts_block_invoke","symbolLocation":440,"imageIndex":2},{"imageOffset":551392,"symbol":"__CFDictionaryApplyFunction_block_invoke","symbolLocation":28,"imageIndex":2},{"imageOffset":309056,"symbol":"CFBasicHashApply","symbolLocation":148,"imageIndex":2},{"imageOffset":250540,"symbol":"CFDictionaryApplyFunction","symbolLocation":328,"imageIndex":2},{"imageOffset":551252,"symbol":"_CFPrefsDeliverPendingKVONotificationsGuts","symbolLocation":300,"imageIndex":2},{"imageOffset":188836,"symbol":"-[_CFXPreferences _deliverPendingKVONotifications]","symbolLocation":96,"imageIndex":2},{"imageOffset":191340,"symbol":"__108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke","symbolLocation":412,"imageIndex":2},{"imageOffset":1717140,"symbol":"-[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:]","symbolLocation":384,"imageIndex":2},{"imageOffset":189700,"symbol":"-[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:]","symbolLocation":168,"imageIndex":2},{"imageOffset":189472,"symbol":"_CFPreferencesCopyAppValueWithContainerAndConfiguration","symbolLocation":128,"imageIndex":2},{"imageOffset":353124,"symbol":"_CFPreferencesGetAppIntegerValueWithContainer","symbolLocation":56,"imageIndex":2},{"imageOffset":175936,"symbol":"invocation function for block in initWrapperType()","symbolLocation":188,"imageIndex":3},{"imageOffset":16820,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":4},{"imageOffset":23092,"symbol":"_dispatch_once_callout","symbolLocation":32,"imageIndex":4},{"imageOffset":175712,"symbol":"invocation function for block in MTLDeviceArrayInitialize()","symbolLocation":1292,"imageIndex":3},{"imageOffset":16820,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":4},{"imageOffset":23092,"symbol":"_dispatch_once_callout","symbolLocation":32,"imageIndex":4},{"imageOffset":8632,"symbol":"MTLCopyAllDevices","symbolLocation":244,"imageIndex":3},{"imageOffset":37120,"symbol":"CIMetalCopyDefaultDevice","symbolLocation":88,"imageIndex":5},{"imageOffset":719316,"symbol":"invocation function for block in can_use_metal()","symbolLocation":40,"imageIndex":5},{"imageOffset":16820,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":4},{"imageOffset":23092,"symbol":"_dispatch_once_callout","symbolLocation":32,"imageIndex":4},{"imageOffset":51352,"symbol":"-[CIContext initWithOptions:]","symbolLocation":924,"imageIndex":5},{"imageOffset":133424,"symbol":"__38+[CUIShapeEffectStack sharedCIContext]_block_invoke","symbolLocation":72,"imageIndex":6},{"imageOffset":16820,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":4},{"imageOffset":23092,"symbol":"_dispatch_once_callout","symbolLocation":32,"imageIndex":4},{"imageOffset":133348,"symbol":"+[CUIShapeEffectStack sharedCIContext]","symbolLocation":64,"imageIndex":6},{"imageOffset":237100,"symbol":"-[CUIShapeEffectStack newFlattenedImageFromShapeCGImage:withScale:cache:]","symbolLocation":212,"imageIndex":6},{"imageOffset":208652,"symbol":"DrawThreePartImageWithOperation","symbolLocation":728,"imageIndex":6},{"imageOffset":179160,"symbol":"-[CUIThemeFacet _drawSpecificRenditionKey:rendition:inFrame:context:alpha:operation:isFocused:isFlipped:effects:]","symbolLocation":284,"imageIndex":6},{"imageOffset":178832,"symbol":"-[CUIThemeFacet _drawSpecificRenditionKey:inFrame:context:isFocused:isFlipped:effects:]","symbolLocation":192,"imageIndex":6},{"imageOffset":215436,"symbol":"-[CUIThemeFacet drawInFrame:isFocused:context:effects:]","symbolLocation":140,"imageIndex":6},{"imageOffset":688656,"symbol":"CUICoreThemeRenderer::DrawPushOrBevelButton(bool, CUIDescriptor const*)","symbolLocation":504,"imageIndex":6},{"imageOffset":88236,"symbol":"CUIRenderer::Draw(CGRect, CGContext*, __CFDictionary const*, __CFDictionary const**)","symbolLocation":1060,"imageIndex":6},{"imageOffset":87112,"symbol":"CUIDraw","symbolLocation":224,"imageIndex":6},{"imageOffset":179164,"symbol":"_HIThemeCUIDrawWithOptions","symbolLocation":184,"imageIndex":7},{"imageOffset":768784,"symbol":"_HIThemeDrawButtonInternal(CGRect const*, HIThemeButtonDrawInfo const*, HIThemeButtonDrawInfo const*, ThemeEraseXUPP*, ThemeButtonDrawXUPP*, void*, CGContext*, unsigned int, CGRect*)","symbolLocation":1600,"imageIndex":7},{"imageOffset":767172,"symbol":"HIThemeDrawButton","symbolLocation":32,"imageIndex":7},{"imageOffset":715412,"symbol":"TkpDisplayButton","symbolLocation":804,"imageIndex":8},{"imageOffset":903600,"symbol":"TclServiceIdle","symbolLocation":84,"imageIndex":9},{"imageOffset":790636,"symbol":"Tcl_DoOneEvent","symbolLocation":296,"imageIndex":9},{"imageOffset":822656,"symbol":"-[TKContentView(TKWindowEvent) generateExposeEvents:]","symbolLocation":208,"imageIndex":8},{"imageOffset":821988,"symbol":"-[TKContentView(TKWindowEvent) drawRect:]","symbolLocation":180,"imageIndex":8},{"imageOffset":1686144,"symbol":"_NSViewDrawRect","symbolLocation":148,"imageIndex":10},{"imageOffset":9257436,"symbol":"-[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:]","symbolLocation":1308,"imageIndex":10},{"imageOffset":1683956,"symbol":"-[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:]","symbolLocation":688,"imageIndex":10},{"imageOffset":1683080,"symbol":"-[NSView(NSLayerKitGlue) drawLayer:inContext:]","symbolLocation":344,"imageIndex":10},{"imageOffset":158708,"symbol":"CABackingStoreUpdate_","symbolLocation":484,"imageIndex":11},{"imageOffset":544480,"symbol":"invocation function for block in CA::Layer::display_()","symbolLocation":64,"imageIndex":11},{"imageOffset":154616,"symbol":"-[CALayer _display]","symbolLocation":1948,"imageIndex":11},{"imageOffset":150604,"symbol":"CA::Layer::display_if_needed(CA::Transaction*)","symbolLocation":780,"imageIndex":11},{"imageOffset":1509160,"symbol":"CA::Context::commit_transaction(CA::Transaction*, double, double*)","symbolLocation":464,"imageIndex":11},{"imageOffset":25676,"symbol":"CA::Transaction::commit()","symbolLocation":704,"imageIndex":11},{"imageOffset":1755408,"symbol":"__62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke","symbolLocation":304,"imageIndex":10},{"imageOffset":9505820,"symbol":"___NSRunLoopObserverCreateWithHandler_block_invoke","symbolLocation":64,"imageIndex":10},{"imageOffset":541252,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__","symbolLocation":36,"imageIndex":2},{"imageOffset":540820,"symbol":"__CFRunLoopDoObservers","symbolLocation":592,"imageIndex":2},{"imageOffset":538056,"symbol":"__CFRunLoopRun","symbolLocation":772,"imageIndex":2},{"imageOffset":535332,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":2},{"imageOffset":205624,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":7},{"imageOffset":204740,"symbol":"ReceiveNextEventCommon","symbolLocation":324,"imageIndex":7},{"imageOffset":204392,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":72,"imageIndex":7},{"imageOffset":268172,"symbol":"_DPSNextEvent","symbolLocation":860,"imageIndex":10},{"imageOffset":262276,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":1328,"imageIndex":10},{"imageOffset":805120,"symbol":"TkMacOSXEventsSetupProc","symbolLocation":152,"imageIndex":8},{"imageOffset":790536,"symbol":"Tcl_DoOneEvent","symbolLocation":196,"imageIndex":9},{"imageOffset":825872,"symbol":"TkMacOSXHandleMapOrUnmap","symbolLocation":108,"imageIndex":8},{"imageOffset":826256,"symbol":"TkWmMapWindow","symbolLocation":316,"imageIndex":8},{"imageOffset":208324,"symbol":"Tk_MapWindow","symbolLocation":152,"imageIndex":8},{"imageOffset":848004,"symbol":"TkpWmSetState","symbolLocation":116,"imageIndex":8},{"imageOffset":836844,"symbol":"Tk_WmObjCmd","symbolLocation":7136,"imageIndex":8},{"imageOffset":78504,"symbol":"TclNRRunCallbacks","symbolLocation":80,"imageIndex":9},{"imageOffset":4936,"symbol":"Tkapp_Call","symbolLocation":336,"imageIndex":12},{"imageOffset":682876,"symbol":"method_vectorcall_VARARGS","symbolLocation":116,"imageIndex":13},{"imageOffset":1793188,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":49552,"imageIndex":13},{"imageOffset":1820284,"symbol":"_PyEval_Vector","symbolLocation":156,"imageIndex":13},{"imageOffset":613084,"symbol":"_PyObject_FastCallDictTstate","symbolLocation":96,"imageIndex":13},{"imageOffset":1180168,"symbol":"slot_tp_init","symbolLocation":180,"imageIndex":13},{"imageOffset":1141884,"symbol":"type_call","symbolLocation":136,"imageIndex":13},{"imageOffset":616856,"symbol":"_PyObject_Call","symbolLocation":124,"imageIndex":13},{"imageOffset":1804708,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":61072,"imageIndex":13},{"imageOffset":1820284,"symbol":"_PyEval_Vector","symbolLocation":156,"imageIndex":13},{"imageOffset":629432,"symbol":"method_vectorcall","symbolLocation":164,"imageIndex":13},{"imageOffset":1804708,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":61072,"imageIndex":13},{"imageOffset":1820284,"symbol":"_PyEval_Vector","symbolLocation":156,"imageIndex":13},{"imageOffset":613084,"symbol":"_PyObject_FastCallDictTstate","symbolLocation":96,"imageIndex":13},{"imageOffset":1173580,"symbol":"slot_tp_call","symbolLocation":180,"imageIndex":13},{"imageOffset":612284,"symbol":"_PyObject_MakeTpCall","symbolLocation":128,"imageIndex":13},{"imageOffset":1794000,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":50364,"imageIndex":13},{"imageOffset":1820284,"symbol":"_PyEval_Vector","symbolLocation":156,"imageIndex":13},{"imageOffset":629432,"symbol":"method_vectorcall","symbolLocation":164,"imageIndex":13},{"imageOffset":1804708,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":61072,"imageIndex":13},{"imageOffset":1820284,"symbol":"_PyEval_Vector","symbolLocation":156,"imageIndex":13},{"imageOffset":613084,"symbol":"_PyObject_FastCallDictTstate","symbolLocation":96,"imageIndex":13},{"imageOffset":1173580,"symbol":"slot_tp_call","symbolLocation":180,"imageIndex":13},{"imageOffset":612284,"symbol":"_PyObject_MakeTpCall","symbolLocation":128,"imageIndex":13},{"imageOffset":1794000,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":50364,"imageIndex":13},{"imageOffset":1820284,"symbol":"_PyEval_Vector","symbolLocation":156,"imageIndex":13},{"imageOffset":629432,"symbol":"method_vectorcall","symbolLocation":164,"imageIndex":13},{"imageOffset":1804708,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":61072,"imageIndex":13},{"imageOffset":1820284,"symbol":"_PyEval_Vector","symbolLocation":156,"imageIndex":13},{"imageOffset":613084,"symbol":"_PyObject_FastCallDictTstate","symbolLocation":96,"imageIndex":13},{"imageOffset":1173580,"symbol":"slot_tp_call","symbolLocation":180,"imageIndex":13},{"imageOffset":612284,"symbol":"_PyObject_MakeTpCall","symbolLocation":128,"imageIndex":13},{"imageOffset":1794000,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":50364,"imageIndex":13},{"imageOffset":1820284,"symbol":"_PyEval_Vector","symbolLocation":156,"imageIndex":13},{"imageOffset":629432,"symbol":"method_vectorcall","symbolLocation":164,"imageIndex":13},{"imageOffset":1804708,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":61072,"imageIndex":13},{"imageOffset":1820284,"symbol":"_PyEval_Vector","symbolLocation":156,"imageIndex":13},{"imageOffset":613084,"symbol":"_PyObject_FastCallDictTstate","symbolLocation":96,"imageIndex":13},{"imageOffset":1173580,"symbol":"slot_tp_call","symbolLocation":180,"imageIndex":13},{"imageOffset":612284,"symbol":"_PyObject_MakeTpCall","symbolLocation":128,"imageIndex":13},{"imageOffset":1794000,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":50364,"imageIndex":13},{"imageOffset":1820284,"symbol":"_PyEval_Vector","symbolLocation":156,"imageIndex":13},{"imageOffset":613196,"symbol":"_PyObject_FastCallDictTstate","symbolLocation":208,"imageIndex":13},{"imageOffset":1180168,"symbol":"slot_tp_init","symbolLocation":180,"imageIndex":13},{"imageOffset":1141884,"symbol":"type_call","symbolLocation":136,"imageIndex":13},{"imageOffset":612284,"symbol":"_PyObject_MakeTpCall","symbolLocation":128,"imageIndex":13},{"imageOffset":1794000,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":50364,"imageIndex":13},{"imageOffset":1739008,"symbol":"PyEval_EvalCode","symbolLocation":276,"imageIndex":13},{"imageOffset":1716324,"symbol":"builtin_exec","symbolLocation":380,"imageIndex":13},{"imageOffset":1015376,"symbol":"cfunction_vectorcall_FASTCALL_KEYWORDS","symbolLocation":80,"imageIndex":13},{"imageOffset":1793188,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":49552,"imageIndex":13},{"imageOffset":1820284,"symbol":"_PyEval_Vector","symbolLocation":156,"imageIndex":13},{"imageOffset":2385796,"symbol":"pymain_run_module","symbolLocation":256,"imageIndex":13},{"imageOffset":2383708,"symbol":"pymain_run_python","symbolLocation":192,"imageIndex":13},{"imageOffset":2383452,"symbol":"Py_RunMain","symbolLocation":24,"imageIndex":13},{"imageOffset":2389276,"symbol":"pymain_main","symbolLocation":56,"imageIndex":13},{"imageOffset":2389924,"symbol":"Py_BytesMain","symbolLocation":40,"imageIndex":13},{"imageOffset":20620,"symbol":"start","symbolLocation":520,"imageIndex":14}]},{"id":2554644,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"id":2554648,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"id":2554657,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"id":2554667,"name":"com.apple.NSEventThread","frames":[{"imageOffset":6320,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":16},{"imageOffset":7456,"symbol":"mach_msg","symbolLocation":76,"imageIndex":16},{"imageOffset":545456,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":372,"imageIndex":2},{"imageOffset":538464,"symbol":"__CFRunLoopRun","symbolLocation":1180,"imageIndex":2},{"imageOffset":535332,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":2},{"imageOffset":1762164,"symbol":"_NSEventThread","symbolLocation":196,"imageIndex":10},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":15},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":15}]},{"id":2554668,"frames":[{"imageOffset":50584,"symbol":"__select","symbolLocation":8,"imageIndex":16},{"imageOffset":1091412,"symbol":"NotifierThreadProc","symbolLocation":664,"imageIndex":9},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":15},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":15}]},{"id":2554669,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"id":2554675,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6447001600,
    "size" : 253952,
    "uuid" : "6ffccf84-5e0f-34b2-bcbb-bcf98407ea05",
    "path" : "\/usr\/lib\/libobjc.A.dylib",
    "name" : "libobjc.A.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6464614400,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 4136960,
    "uuid" : "a2e534d9-cdf0-397f-a41e-147559c83893",
    "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "1863"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6448873472,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5533696,
    "uuid" : "994db908-11a1-3e43-b7df-25c09d51368a",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1863"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6592290816,
    "CFBundleShortVersionString" : "263.8",
    "CFBundleIdentifier" : "com.apple.Metal",
    "size" : 1318912,
    "uuid" : "fe2c16e1-6e67-3fc0-a9a0-3479bf97ef68",
    "path" : "\/System\/Library\/Frameworks\/Metal.framework\/Versions\/A\/Metal",
    "name" : "Metal",
    "CFBundleVersion" : "263.8"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6446710784,
    "size" : 290816,
    "uuid" : "f9300d47-d3db-3349-8a6d-acb68cd9983b",
    "path" : "\/usr\/lib\/system\/libdispatch.dylib",
    "name" : "libdispatch.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6602330112,
    "CFBundleShortVersionString" : "17.0.0",
    "CFBundleIdentifier" : "com.apple.CoreImage",
    "size" : 3538944,
    "uuid" : "ed737c16-c4e9-3f22-aa79-04a0d6cd92e2",
    "path" : "\/System\/Library\/Frameworks\/CoreImage.framework\/Versions\/A\/CoreImage",
    "name" : "CoreImage",
    "CFBundleVersion" : "1240.7"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6568890368,
    "CFBundleShortVersionString" : "2.1",
    "CFBundleIdentifier" : "com.apple.coreui",
    "size" : 1302528,
    "uuid" : "46de086f-876c-3814-87aa-25fb12ce2b97",
    "path" : "\/System\/Library\/PrivateFrameworks\/CoreUI.framework\/Versions\/A\/CoreUI",
    "name" : "CoreUI",
    "CFBundleVersion" : "738.1"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6596235264,
    "CFBundleShortVersionString" : "2.1.1",
    "CFBundleIdentifier" : "com.apple.HIToolbox",
    "size" : 3358720,
    "uuid" : "f842b96a-54f3-36f3-9b94-b258fae1b7eb",
    "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox",
    "name" : "HIToolbox"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4376788992,
    "size" : 1048576,
    "uuid" : "507d727f-2091-3699-8744-b7727fcd4477",
    "path" : "\/Library\/Frameworks\/Python.framework\/Versions\/3.11\/lib\/libtk8.6.dylib",
    "name" : "libtk8.6.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4379738112,
    "size" : 1228800,
    "uuid" : "ba79d3f8-9825-3021-a89f-300cfb1148b4",
    "path" : "\/Library\/Frameworks\/Python.framework\/Versions\/3.11\/lib\/libtcl8.6.dylib",
    "name" : "libtcl8.6.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6494650368,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 15433728,
    "uuid" : "a773dd23-b1c8-3c9b-9175-9a71d210ace0",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2113.50.132"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6565228544,
    "CFBundleShortVersionString" : "1.11",
    "CFBundleIdentifier" : "com.apple.QuartzCore",
    "size" : 3334144,
    "uuid" : "7a5838a0-104b-3896-9c99-66ee81786497",
    "path" : "\/System\/Library\/Frameworks\/QuartzCore.framework\/Versions\/A\/QuartzCore",
    "name" : "QuartzCore",
    "CFBundleVersion" : "964.28"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4374609920,
    "size" : 32768,
    "uuid" : "a385127f-a3bb-3ffd-b355-f4ab87275628",
    "path" : "\/Library\/Frameworks\/Python.framework\/Versions\/3.11\/lib\/python3.11\/lib-dynload\/_tkinter.cpython-311-darwin.so",
    "name" : "_tkinter.cpython-311-darwin.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4386652160,
    "CFBundleShortVersionString" : "3.11.0b1, (c) 2001-2021 Python Software Foundation.",
    "CFBundleIdentifier" : "org.python.python",
    "size" : 3948544,
    "uuid" : "f4113812-803c-38d8-8a44-dc9d08fd5f4e",
    "path" : "\/Library\/Frameworks\/Python.framework\/Versions\/3.11\/Python",
    "name" : "Python",
    "CFBundleVersion" : "3.11.0b1"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4371693568,
    "size" : 393216,
    "uuid" : "d9c2a46e-8dc4-3950-9d6a-f799e8ccb683",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6448549888,
    "size" : 53248,
    "uuid" : "42166a2c-89a9-3c38-a215-f028544cea23",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6448320512,
    "size" : 229376,
    "uuid" : "03f48dc5-caa7-3678-af61-1a3c7fa8b06e",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "sharedCache" : {
  "base" : 6445252608,
  "size" : 3136077824,
  "uuid" : "513553bb-5ca5-3b9e-a613-b0603ffe3038"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=785.4M resident=0K(0%) swapped_out_or_unallocated=785.4M(100%)\nWritable regions: Total=1.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.1G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework               256K        2 \nActivity Tracing                   256K        1 \nCG backing stores                 2176K        4 \nCG image                            96K        6 \nColorSync                          528K       26 \nCoreAnimation                     2512K       13 \nCoreGraphics                        32K        2 \nCoreUI image data                 1632K        9 \nFoundation                          16K        1 \nKernel Alloc Once                   32K        1 \nMALLOC                           241.3M       45 \nMALLOC guard page                  192K       10 \nMALLOC_MEDIUM (reserved)         480.0M        4         reserved VM address space (unallocated)\nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSTACK GUARD                        128K        8 \nStack                             19.3M        8 \nVM_ALLOCATE                       8416K       22 \n__AUTH                            1778K      145 \n__AUTH_CONST                      9252K      291 \n__CTF                               756        1 \n__DATA                            9686K      296 \n__DATA_CONST                      10.4M      310 \n__DATA_DIRTY                       595K      100 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       580.1M       22 \n__OBJC_CONST                      1246K      122 \n__OBJC_RO                         83.0M        1 \n__OBJC_RW                         3152K        1 \n__TEXT                           205.2M      326 \n__UNICODE                          592K        1 \ndyld private memory               1024K        1 \nmapped file                      160.3M       22 \nshared memory                      864K       15 \n===========                     =======  ======= \nTOTAL                              2.2G     1818 \nTOTAL, minus reserved VM space     1.3G     1818 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "607844aa04477260f58a8077",
      "factorPackIds" : {
        "SIRI_MORPHUN_ASSETS" : "6103050cbfe6dc472e1c982a"
      },
      "deploymentId" : 240000066
    },
    {
      "rolloutId" : "6112dda2fc54bc3389840642",
      "factorPackIds" : {
        "SIRI_DICTATION_ASSETS" : "6282ae4d1c37370f2c077008"
      },
      "deploymentId" : 240000128
    }
  ],
  "experiments" : [

  ]
}
}

Your environment

  • CPython versions tested on: 3.10.4, 3.11b1
  • Operating system and architecture: macOS 12.4, arm64 (M1 system)

Both python versions were installed using the installer on www.python.org.

Tk info from test.pytoninfo:

tkinter.TCL_VERSION: 8.6
tkinter.TK_VERSION: 8.6
tkinter.info_patchlevel: 8.6.12
@ronaldoussoren ronaldoussoren added type-crash A hard crash of the interpreter, possibly with a core dump OS-mac topic-tkinter 3.11 only security fixes 3.10 only security fixes labels May 21, 2022
@erlend-aasland
Copy link
Contributor

erlend-aasland commented Jul 26, 2022

I can reproduce this with 3.11b5 on my 2019 Intel MacBook Pro, running macOS 12.2.1.

Tk info:

tkinter.TCL_VERSION: 8.6
tkinter.TK_VERSION: 8.6
tkinter.info_patchlevel: 8.6.12
Full report
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Python [98887]
Path:                  /Library/Frameworks/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python
Identifier:            org.python.python
Version:               3.11.0b5 (3.11.0b5)
Code Type:             X86-64 (Native)
Parent Process:        zsh [87178]
Responsible:           Terminal [1586]
User ID:               501

Date/Time:             2022-07-26 14:33:38.9117 +0200
OS Version:            macOS 12.2.1 (21D62)
Report Version:        12
Bridge OS Version:     6.2 (19P744)
Anonymous UUID:        6AB86F96-0495-EF74-ED8D-33E2E9EA076D

Sleep/Wake UUID:       A5106690-9BC3-4F06-A6C9-2D54E2FF198D

Time Awake Since Boot: 2600000 seconds
Time Since Wake:       2278 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 0x0000006500000070
Exception Codes:       0x0000000000000001, 0x0000006500000070
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [98887]

VM Region Info: 0x6500000070 is not in any region.  Bytes after previous region: 429272748145  Bytes before following region: 105119324569488
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      CoreUI image data           10d54c000-10d59b000    [  316K] r--/r-- SM=PRV  
--->  GAP OF 0x5ffef2a65000 BYTES
      MALLOC_NANO              600000000000-600008000000 [128.0M] rw-/rwx SM=PRV  

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib               	    0x7ff8068c4ab8 class_getMethodImplementation + 39
1   Foundation                    	    0x7ff80790b1a1 _NSKVONotifyingOriginalClassForIsa + 21
2   Foundation                    	    0x7ff80792c7df _NSKeyValueObservationInfoGetObservances + 263
3   Foundation                    	    0x7ff80791d5dd -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] + 260
4   Foundation                    	    0x7ff80792c4ec -[NSObject(NSKeyValueObservingPrivate) _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:] + 998
5   CoreFoundation                	    0x7ff806ab73b3 -[CFPrefsSource forEachObserver:] + 280
6   CoreFoundation                	    0x7ff806af3235 -[CFPrefsSource _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:] + 83
7   CoreFoundation                	    0x7ff806af30d8 ___CFPrefsDeliverPendingKVONotificationsGuts_block_invoke + 374
8   CoreFoundation                	    0x7ff806af2f4e __CFDictionaryApplyFunction_block_invoke + 22
9   CoreFoundation                	    0x7ff806abba3e CFBasicHashApply + 110
10  CoreFoundation                	    0x7ff806aae75b CFDictionaryApplyFunction + 131
11  CoreFoundation                	    0x7ff806af2ec2 _CFPrefsDeliverPendingKVONotificationsGuts + 262
12  CoreFoundation                	    0x7ff806a9f495 -[_CFXPreferences _deliverPendingKVONotifications] + 90
13  CoreFoundation                	    0x7ff806a9fd11 __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 402
14  CoreFoundation                	    0x7ff806bfab6f -[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 372
15  CoreFoundation                	    0x7ff806a9f777 -[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:] + 137
16  CoreFoundation                	    0x7ff806a9f6b3 _CFPreferencesCopyAppValueWithContainerAndConfiguration + 101
17  CoreFoundation                	    0x7ff806ac6127 _CFPreferencesGetAppIntegerValueWithContainer + 40
18  Metal                         	    0x7ff80f38e0f7 invocation function for block in initWrapperType() + 179
19  libdispatch.dylib             	    0x7ff806873cc9 _dispatch_client_callout + 8
20  libdispatch.dylib             	    0x7ff806874ec1 _dispatch_once_callout + 20
21  Metal                         	    0x7ff80f38e004 invocation function for block in MTLDeviceArrayInitialize() + 1268
22  libdispatch.dylib             	    0x7ff806873cc9 _dispatch_client_callout + 8
23  libdispatch.dylib             	    0x7ff806874ec1 _dispatch_once_callout + 20
24  Metal                         	    0x7ff80f3634cd MTLCopyAllDevices + 189
25  CoreImage                     	    0x7ff80fc8c479 CIMetalCopyDefaultDevice + 72
26  CoreImage                     	    0x7ff80fd1cae2 invocation function for block in can_use_metal() + 27
27  libdispatch.dylib             	    0x7ff806873cc9 _dispatch_client_callout + 8
28  libdispatch.dylib             	    0x7ff806874ec1 _dispatch_once_callout + 20
29  CoreImage                     	    0x7ff80fc8fb35 -[CIContext initWithOptions:] + 1154
30  CoreUI                        	    0x7ff80dec219f __38+[CUIShapeEffectStack sharedCIContext]_block_invoke + 70
31  libdispatch.dylib             	    0x7ff806873cc9 _dispatch_client_callout + 8
32  libdispatch.dylib             	    0x7ff806874ec1 _dispatch_once_callout + 20
33  CoreUI                        	    0x7ff80dec2157 +[CUIShapeEffectStack sharedCIContext] + 42
34  CoreUI                        	    0x7ff80dedef6c -[CUIShapeEffectStack newFlattenedImageFromShapeCGImage:withScale:cache:] + 220
35  CoreUI                        	    0x7ff80ded6f28 DrawThreePartImageWithOperation + 1616
36  CoreUI                        	    0x7ff80ded68c9 DrawThreePartElementFromRenditionWithOperation + 228
37  CoreUI                        	    0x7ff80dece9a8 -[CUIThemeFacet _drawSpecificRenditionKey:rendition:inFrame:context:alpha:operation:isFocused:isFlipped:effects:] + 298
38  CoreUI                        	    0x7ff80dece86f -[CUIThemeFacet _drawSpecificRenditionKey:inFrame:context:isFocused:isFlipped:effects:] + 164
39  CoreUI                        	    0x7ff80ded8b05 -[CUIThemeFacet drawInFrame:isFocused:context:effects:] + 106
40  CoreUI                        	    0x7ff80df4d428 CUICoreThemeRenderer::DrawPushOrBevelButton(bool, CUIDescriptor const*) + 568
41  CoreUI                        	    0x7ff80deb6496 CUIRenderer::Draw(CGRect, CGContext*, __CFDictionary const*, __CFDictionary const**) + 1622
42  CoreUI                        	    0x7ff80deb5e09 CUIDraw + 154
43  HIToolbox                     	    0x7ff80f72586a _HIThemeCUIDrawWithOptions + 179
44  HIToolbox                     	    0x7ff80f7b1d4b _HIThemeDrawButtonInternal(CGRect const*, HIThemeButtonDrawInfo const*, HIThemeButtonDrawInfo const*, ThemeEraseXUPP*, ThemeButtonDrawXUPP*, void*, CGContext*, unsigned int, CGRect*) + 2634
45  HIToolbox                     	    0x7ff80f7b12fb HIThemeDrawButton + 17
46  libtk8.6.dylib                	       0x1022caab8 TkpDisplayButton + 997
47  libtcl8.6.dylib               	       0x1025be171 TclServiceIdle + 75
48  libtcl8.6.dylib               	       0x1025a2796 Tcl_DoOneEvent + 341
49  libtk8.6.dylib                	       0x1022e5d2c -[TKContentView(TKWindowEvent) generateExposeEvents:] + 237
50  libtk8.6.dylib                	       0x1022e5a5e -[TKContentView(TKWindowEvent) drawRect:] + 152
51  AppKit                        	    0x7ff80967b2b3 _NSViewDrawRect + 121
52  AppKit                        	    0x7ff809d97cec -[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:] + 1832
53  AppKit                        	    0x7ff80967a9b1 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 747
54  AppKit                        	    0x7ff80967a5f0 -[NSView(NSLayerKitGlue) drawLayer:inContext:] + 290
55  QuartzCore                    	    0x7ff80db8e30e CABackingStoreUpdate_ + 613
56  QuartzCore                    	    0x7ff80dbf33bd invocation function for block in CA::Layer::display_() + 53
57  QuartzCore                    	    0x7ff80db8d6a0 -[CALayer _display] + 2268
58  QuartzCore                    	    0x7ff80db8c619 CA::Layer::display_if_needed(CA::Transaction*) + 867
59  QuartzCore                    	    0x7ff80dcdc72b CA::Context::commit_transaction(CA::Transaction*, double, double*) + 717
60  QuartzCore                    	    0x7ff80db6e24a CA::Transaction::commit() + 704
61  AppKit                        	    0x7ff80968b7d2 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 285
62  AppKit                        	    0x7ff809dd40d4 ___NSRunLoopObserverCreateWithHandler_block_invoke + 41
63  CoreFoundation                	    0x7ff806af0cb7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
64  CoreFoundation                	    0x7ff806af0b54 __CFRunLoopDoObservers + 543
65  CoreFoundation                	    0x7ff806aeffe7 __CFRunLoopRun + 841
66  CoreFoundation                	    0x7ff806aef5dd CFRunLoopRunSpecific + 563
67  HIToolbox                     	    0x7ff80f72c4f1 RunCurrentEventLoopInMode + 292
68  HIToolbox                     	    0x7ff80f72c118 ReceiveNextEventCommon + 284
69  HIToolbox                     	    0x7ff80f72bfe5 _BlockUntilNextEventMatchingListInModeWithFilter + 70
70  AppKit                        	    0x7ff80951ed88 _DPSNextEvent + 886
71  AppKit                        	    0x7ff80951d3f4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1411
72  libtk8.6.dylib                	       0x1022e15e0 TkMacOSXEventsSetupProc + 155
73  libtcl8.6.dylib               	       0x1025a2728 Tcl_DoOneEvent + 231
74  libtk8.6.dylib                	       0x1022e6b1b TkMacOSXHandleMapOrUnmap + 97
75  libtk8.6.dylib                	       0x1022e6cb5 TkWmMapWindow + 353
76  libtk8.6.dylib                	       0x10224c125 Tk_MapWindow + 158
77  libtk8.6.dylib                	       0x1022ed31f TkpWmSetState + 132
78  libtk8.6.dylib                	       0x1022ea17a Tk_WmObjCmd + 9645
79  libtcl8.6.dylib               	       0x1024f9c71 TclNRRunCallbacks + 79
80  _tkinter.cpython-311-darwin.so	       0x102010ba5 Tkapp_Call + 389
81  Python                        	       0x1029e0169 method_vectorcall_VARARGS + 121
82  Python                        	       0x102afbc06 _PyEval_EvalFrameDefault + 59334
83  Python                        	       0x102b026c0 _PyEval_Vector + 128
84  Python                        	       0x1029ce750 _PyObject_FastCallDictTstate + 96
85  Python                        	       0x102a5c7e5 slot_tp_init + 181
86  Python                        	       0x102a52a7a type_call + 122
87  Python                        	       0x1029cf44b _PyObject_Call + 107
88  Python                        	       0x102aff0fa _PyEval_EvalFrameDefault + 72890
89  Python                        	       0x102b026c0 _PyEval_Vector + 128
90  Python                        	       0x1029d280f method_vectorcall + 207
91  Python                        	       0x102aff0fa _PyEval_EvalFrameDefault + 72890
92  Python                        	       0x102b026c0 _PyEval_Vector + 128
93  Python                        	       0x1029ce750 _PyObject_FastCallDictTstate + 96
94  Python                        	       0x102a5b0e5 slot_tp_call + 181
95  Python                        	       0x1029ce491 _PyObject_MakeTpCall + 129
96  Python                        	       0x102afbcff _PyEval_EvalFrameDefault + 59583
97  Python                        	       0x102b026c0 _PyEval_Vector + 128
98  Python                        	       0x1029d280f method_vectorcall + 207
99  Python                        	       0x102aff0fa _PyEval_EvalFrameDefault + 72890
100 Python                        	       0x102b026c0 _PyEval_Vector + 128
101 Python                        	       0x1029ce750 _PyObject_FastCallDictTstate + 96
102 Python                        	       0x102a5b0e5 slot_tp_call + 181
103 Python                        	       0x1029ce491 _PyObject_MakeTpCall + 129
104 Python                        	       0x102afbcff _PyEval_EvalFrameDefault + 59583
105 Python                        	       0x102b026c0 _PyEval_Vector + 128
106 Python                        	       0x1029d280f method_vectorcall + 207
107 Python                        	       0x102aff0fa _PyEval_EvalFrameDefault + 72890
108 Python                        	       0x102b026c0 _PyEval_Vector + 128
109 Python                        	       0x1029ce750 _PyObject_FastCallDictTstate + 96
110 Python                        	       0x102a5b0e5 slot_tp_call + 181
111 Python                        	       0x1029ce491 _PyObject_MakeTpCall + 129
112 Python                        	       0x102afbcff _PyEval_EvalFrameDefault + 59583
113 Python                        	       0x102b026c0 _PyEval_Vector + 128
114 Python                        	       0x1029d280f method_vectorcall + 207
115 Python                        	       0x102aff0fa _PyEval_EvalFrameDefault + 72890
116 Python                        	       0x102b026c0 _PyEval_Vector + 128
117 Python                        	       0x1029ce750 _PyObject_FastCallDictTstate + 96
118 Python                        	       0x102a5b0e5 slot_tp_call + 181
119 Python                        	       0x1029ce491 _PyObject_MakeTpCall + 129
120 Python                        	       0x102afbcff _PyEval_EvalFrameDefault + 59583
121 Python                        	       0x102b026c0 _PyEval_Vector + 128
122 Python                        	       0x1029ce7c6 _PyObject_FastCallDictTstate + 214
123 Python                        	       0x102a5c7e5 slot_tp_init + 181
124 Python                        	       0x102a52a7a type_call + 122
125 Python                        	       0x1029ce491 _PyObject_MakeTpCall + 129
126 Python                        	       0x102afbcff _PyEval_EvalFrameDefault + 59583
127 Python                        	       0x102aec14a PyEval_EvalCode + 282
128 Python                        	       0x102ae6b13 builtin_exec + 483
129 Python                        	       0x102a33f04 cfunction_vectorcall_FASTCALL_KEYWORDS + 68
130 Python                        	       0x102afbc06 _PyEval_EvalFrameDefault + 59334
131 Python                        	       0x102b026c0 _PyEval_Vector + 128
132 Python                        	       0x102b9977d pymain_run_module + 253
133 Python                        	       0x102b99241 Py_RunMain + 2225
134 Python                        	       0x102b9a1fb pymain_main + 43
135 Python                        	       0x102b9ad1a Py_BytesMain + 42
136 dyld                          	       0x104bde4fe start + 462

Thread 1:
0   libsystem_pthread.dylib       	    0x7ff806a25fec start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib       	    0x7ff806a25fec start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	    0x7ff806a25fec start_wqthread + 0

Thread 4:
0   libsystem_pthread.dylib       	    0x7ff806a25fec start_wqthread + 0

Thread 5:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	    0x7ff8069edaba mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7ff8069ede2b mach_msg + 59
2   CoreFoundation                	    0x7ff806af1af2 __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7ff806af01cb __CFRunLoopRun + 1325
4   CoreFoundation                	    0x7ff806aef5dd CFRunLoopRunSpecific + 563
5   AppKit                        	    0x7ff80968cfd8 _NSEventThread + 132
6   libsystem_pthread.dylib       	    0x7ff806a2a4f4 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff806a2600f thread_start + 15

Thread 6:
0   libsystem_kernel.dylib        	    0x7ff8069f5e4a __select + 10
1   libtcl8.6.dylib               	       0x1025ea8b8 NotifierThreadProc + 880
2   libsystem_pthread.dylib       	    0x7ff806a2a4f4 _pthread_start + 125
3   libsystem_pthread.dylib       	    0x7ff806a2600f thread_start + 15

Thread 7:
0   libsystem_pthread.dylib       	    0x7ff806a25fec start_wqthread + 0

Thread 8:
0   libsystem_pthread.dylib       	    0x7ff806a25fec start_wqthread + 0

Thread 9:
0   libsystem_pthread.dylib       	    0x7ff806a25fec start_wqthread + 0

Thread 10:
0   libsystem_pthread.dylib       	    0x7ff806a25fec start_wqthread + 0

Thread 11:
0   libsystem_pthread.dylib       	    0x7ff806a25fec start_wqthread + 0


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x00007ffffffffff8  rbx: 0x0000006500000070  rcx: 0x00007ff7be47b880  rdx: 0x00007ff7be47b810
  rdi: 0x0000006500000070  rsi: 0x00007ff82120891d  rbp: 0x00007ff7be47b7e0  rsp: 0x00007ff7be47b7d0
   r8: 0x0000000000000001   r9: 0x0000000000000000  r10: 0x00007ff8480b44c0  r11: 0x00007ff806ae0ff2
  r12: 0x00007ff8480dc160  r13: 0x0000000000000001  r14: 0x00007ff82120891d  r15: 0x0000600003ada430
  rip: 0x00007ff8068c4ab8  rfl: 0x0000000000010206  cr2: 0x0000006500000070
  
Logical CPU:     4
Error Code:      0x00000004 (no mapping for user data read)
Trap Number:     14

Thread 0 instruction stream:
  48 8d 0d 61 c4 96 41 48-8b 04 c1 48 8d 0d 2e c3  H..a..AH...H....
  96 41 48 39 c8 74 01 c3-48 d1 ef 81 e7 f8 07 00  .AH9.t..H.......
  00 48 8d 05 c0 c4 96 41-48 8b 04 38 c3 90 90 90  .H.....AH..8....
  90 90 90 90 90 90 90 90-90 55 48 89 e5 41 56 53  .........UH..AVS
  31 c0 48 85 ff 0f 84 81-00 00 00 49 89 f6 48 85  1.H........I..H.
  f6 74 79 48 89 fb 48 b8-f8 ff ff ff ff 7f 00 00  .tyH..H.........
 [48]8b 0f 48 8d 51 ff 48-83 fa 0f 72 0e 48 8b 53  H..H.Q.H...r.H.S	<==
  20 48 21 c2 8b 12 f6 c2-01 75 09 48 21 c1 48 23   H!......u.H!.H#
  41 20 8b 10 0f ba e2 1d-73 24 48 89 df 4c 89 f6  A ......s$H..L..
  31 d2 e8 c1 94 ff ff 48-85 c0 74 12 48 89 c1 31  1......H..t.H..1
  c0 48 3b 0d d8 82 e6 3f-48 0f 45 c1 eb 12 31 ff  .H;....?H.E...1.
  4c 89 f6 48 89 da b9 07-00 00 00 e8 76 a6 ff ff  L..H........v...

Binary Images:
    0x7ff8068b8000 -     0x7ff8068f1fff libobjc.A.dylib (*) <33f2dc54-09f1-377f-9273-5da971aaa102> /usr/lib/libobjc.A.dylib
    0x7ff8078f7000 -     0x7ff807cb1fff com.apple.Foundation (6.9) <bf00b016-c645-3574-b74f-4386750fb009> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7ff806a71000 -     0x7ff806f73fff com.apple.CoreFoundation (6.9) <9b112884-be6c-3c7f-9a2a-a47c491105db> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7ff80f362000 -     0x7ff80f498fff com.apple.Metal (258.18) <6aeb880f-160b-3b92-88b7-26fc516b8eeb> /System/Library/Frameworks/Metal.framework/Versions/A/Metal
    0x7ff806871000 -     0x7ff8068b7fff libdispatch.dylib (*) <67d92c93-aa68-34c2-964b-23e8a8d32098> /usr/lib/system/libdispatch.dylib
    0x7ff80fc83000 -     0x7ff80fffbfff com.apple.CoreImage (17.0.0) <9f9f8473-387c-31b3-b074-247e520e51a7> /System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage
    0x7ff80de9f000 -     0x7ff80dfe4fff com.apple.coreui (2.1) <204c0db0-9aca-3246-86ba-504685abc48b> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
    0x7ff80f6fa000 -     0x7ff80f9f1fff com.apple.HIToolbox (2.1.1) <c538aa78-7afd-3f8a-8fdb-1fc2acde6b3f> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
       0x102217000 -        0x10231efff libtk8.6.dylib (*) <31da200f-d034-3bee-9673-53da7054631b> /Library/Frameworks/Python.framework/Versions/3.11/lib/libtk8.6.dylib
       0x1024e7000 -        0x10260afff libtcl8.6.dylib (*) <0cf0f829-43bc-3847-86e5-aa783391c315> /Library/Frameworks/Python.framework/Versions/3.11/lib/libtcl8.6.dylib
    0x7ff8094e0000 -     0x7ff80a371fff com.apple.AppKit (6.9) <9d3ab204-4858-3120-b002-5c38b02edec4> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7ff80db6c000 -     0x7ff80de54fff com.apple.QuartzCore (1.11) <9e727a38-d1d3-3d6a-940c-0ebfa61e28e6> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
       0x10200f000 -        0x102016fff _tkinter.cpython-311-darwin.so (*) <c35567f7-799d-34af-850c-fca59f57f0d7> /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/lib-dynload/_tkinter.cpython-311-darwin.so
       0x10292b000 -        0x102d0afff org.python.python (3.11.0b5, (c) 2001-2021 Python Software Foundation.) <08b9e6ed-d12f-3427-af93-bd9c36d00a6c> /Library/Frameworks/Python.framework/Versions/3.11/Python
       0x104bd9000 -        0x104c44fff dyld (*) <7de33963-bbc5-3996-ba6e-f1d562c17c95> /usr/lib/dyld
    0x7ff806a24000 -     0x7ff806a2ffff libsystem_pthread.dylib (*) <ee564342-d8f2-396d-b642-40092cf34d82> /usr/lib/system/libsystem_pthread.dylib
    0x7ff8069ed000 -     0x7ff806a23fff libsystem_kernel.dylib (*) <c1d58a50-5a4d-3bcb-a1fc-ec0902ce34d3> /usr/lib/system/libsystem_kernel.dylib
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

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: 202
    thread_create: 0
    thread_set_state: 7015

VM Region Summary:
ReadOnly portion of Libraries: Total=853.2M resident=0K(0%) swapped_out_or_unallocated=853.2M(100%)
Writable regions: Total=2.0G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=2.0G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               256K        2 
Activity Tracing                   256K        1 
CG backing stores                 2528K        4 
CG image                            72K        3 
ColorSync                          232K       26 
CoreAnimation                     1148K       12 
CoreGraphics                        12K        2 
CoreServices                        64K        1 
CoreUI image data                 1216K        8 
Foundation                          16K        1 
Kernel Alloc Once                    8K        1 
MALLOC                           339.4M       63 
MALLOC guard page                   48K       10 
MALLOC_MEDIUM (reserved)           1.3G       11         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
STACK GUARD                         48K       12 
Stack                             21.1M       12 
VM_ALLOCATE                       8280K       25 
__DATA                            19.3M      307 
__DATA_CONST                      11.9M      169 
__DATA_DIRTY                       535K       98 
__FONT_DATA                          4K        1 
__LINKEDIT                       644.0M       27 
__OBJC_RO                         81.8M        1 
__OBJC_RW                         3136K        2 
__TEXT                           209.2M      325 
__UNICODE                          588K        1 
dyld private memory               1024K        1 
mapped file                      157.1M       22 
shared memory                     1284K       16 
===========                     =======  ======= 
TOTAL                              3.1G     1165 
TOTAL, minus reserved VM space     1.5G     1165 



-----------
Full Report
-----------

{"app_name":"Python","timestamp":"2022-07-26 14:33:39.00 +0200","app_version":"3.11.0b5","slice_uuid":"e55bc9d8-0a09-3bcc-bb53-5fbf344e5ddf","build_version":"3.11.0b5","platform":1,"bundleID":"org.python.python","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.2.1 (21D62)","incident_id":"8BA929D4-39D1-4BC6-9792-08D42DB748BE","name":"Python"}
{
  "uptime" : 2600000,
  "procLaunch" : "2022-07-26 14:33:35.0160 +0200",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro15,1",
  "procStartAbsTime" : 2667405792134709,
  "coalitionID" : 1477,
  "osVersion" : {
    "train" : "macOS 12.2.1",
    "build" : "21D62",
    "releaseType" : "User"
  },
  "captureTime" : "2022-07-26 14:33:38.9117 +0200",
  "incident" : "8BA929D4-39D1-4BC6-9792-08D42DB748BE",
  "bug_type" : "309",
  "pid" : 98887,
  "procExitAbsTime" : 2667409686994297,
  "cpuType" : "X86-64",
  "procName" : "Python",
  "procPath" : "\/Library\/Frameworks\/Python.framework\/Versions\/3.11\/Resources\/Python.app\/Contents\/MacOS\/Python",
  "bundleInfo" : {"CFBundleShortVersionString":"3.11.0b5","CFBundleVersion":"3.11.0b5","CFBundleIdentifier":"org.python.python"},
  "storeInfo" : {"deviceIdentifierForVendor":"46B2009B-B906-55EB-9DDF-76D8E55952E2","thirdParty":true},
  "parentProc" : "zsh",
  "parentPid" : 87178,
  "coalitionName" : "com.apple.Terminal",
  "crashReporterKey" : "6AB86F96-0495-EF74-ED8D-33E2E9EA076D",
  "responsiblePid" : 1586,
  "responsibleProc" : "Terminal",
  "wakeTime" : 2278,
  "bridgeVersion" : {"build":"19P744","train":"6.2"},
  "sleepWakeUUID" : "A5106690-9BC3-4F06-A6C9-2D54E2FF198D",
  "sip" : "enabled",
  "vmRegionInfo" : "0x6500000070 is not in any region.  Bytes after previous region: 429272748145  Bytes before following region: 105119324569488\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      CoreUI image data           10d54c000-10d59b000    [  316K] r--\/r-- SM=PRV  \n--->  GAP OF 0x5ffef2a65000 BYTES\n      MALLOC_NANO              600000000000-600008000000 [128.0M] rw-\/rwx SM=PRV  ",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000001, 0x0000006500000070","rawCodes":[1,433791697008],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000006500000070"},
  "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":98887},
  "vmregioninfo" : "0x6500000070 is not in any region.  Bytes after previous region: 429272748145  Bytes before following region: 105119324569488\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      CoreUI image data           10d54c000-10d59b000    [  316K] r--\/r-- SM=PRV  \n--->  GAP OF 0x5ffef2a65000 BYTES\n      MALLOC_NANO              600000000000-600008000000 [128.0M] rw-\/rwx SM=PRV  ",
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":7015,"task_for_pid":202},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":34813265,"instructionState":{"instructionStream":{"bytes":[72,141,13,97,196,150,65,72,139,4,193,72,141,13,46,195,150,65,72,57,200,116,1,195,72,209,239,129,231,248,7,0,0,72,141,5,192,196,150,65,72,139,4,56,195,144,144,144,144,144,144,144,144,144,144,144,144,85,72,137,229,65,86,83,49,192,72,133,255,15,132,129,0,0,0,73,137,246,72,133,246,116,121,72,137,251,72,184,248,255,255,255,255,127,0,0,72,139,15,72,141,81,255,72,131,250,15,114,14,72,139,83,32,72,33,194,139,18,246,194,1,117,9,72,33,193,72,35,65,32,139,16,15,186,226,29,115,36,72,137,223,76,137,246,49,210,232,193,148,255,255,72,133,192,116,18,72,137,193,49,192,72,59,13,216,130,230,63,72,15,69,193,235,18,49,255,76,137,246,72,137,218,185,7,0,0,0,232,118,166,255,255],"offset":96}},"threadState":{"r13":{"value":1},"rax":{"value":140737488355320},"rflags":{"value":66054},"cpu":{"value":4},"r14":{"value":140703684397341,"objc-selector":"_isKVOA"},"rsi":{"value":140703684397341,"objc-selector":"_isKVOA"},"r8":{"value":1},"cr2":{"value":433791697008},"rdx":{"value":140702026020880},"r10":{"value":140704337315008,"symbolLocation":0,"symbol":"OBJC_CLASS_$___NSSingleObjectArrayI"},"r9":{"value":0},"r15":{"value":105553177977904},"rbx":{"value":433791697008},"trap":{"value":14,"description":"(no mapping for user data read)"},"err":{"value":4},"r11":{"value":140703240687602,"symbolLocation":0,"symbol":"-[__NSSingleObjectArrayI getObjects:range:]"},"rip":{"value":140703238474424,"matchesCrashFrame":1},"rbp":{"value":140702026020832},"rsp":{"value":140702026020816},"r12":{"value":140704337477984,"symbolLocation":0,"symbol":"OBJC_CLASS_$_NSKeyValueObservance"},"rcx":{"value":140702026020992},"flavor":"x86_THREAD_STATE","rdi":{"value":433791697008}},"queue":"com.apple.main-thread","frames":[{"imageOffset":51896,"symbol":"class_getMethodImplementation","symbolLocation":39,"imageIndex":0},{"imageOffset":82337,"symbol":"_NSKVONotifyingOriginalClassForIsa","symbolLocation":21,"imageIndex":1},{"imageOffset":219103,"symbol":"_NSKeyValueObservationInfoGetObservances","symbolLocation":263,"imageIndex":1},{"imageOffset":157149,"symbol":"-[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:]","symbolLocation":260,"imageIndex":1},{"imageOffset":218348,"symbol":"-[NSObject(NSKeyValueObservingPrivate) _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:]","symbolLocation":998,"imageIndex":1},{"imageOffset":287667,"symbol":"-[CFPrefsSource forEachObserver:]","symbolLocation":280,"imageIndex":2},{"imageOffset":533045,"symbol":"-[CFPrefsSource _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:]","symbolLocation":83,"imageIndex":2},{"imageOffset":532696,"symbol":"___CFPrefsDeliverPendingKVONotificationsGuts_block_invoke","symbolLocation":374,"imageIndex":2},{"imageOffset":532302,"symbol":"__CFDictionaryApplyFunction_block_invoke","symbolLocation":22,"imageIndex":2},{"imageOffset":305726,"symbol":"CFBasicHashApply","symbolLocation":110,"imageIndex":2},{"imageOffset":251739,"symbol":"CFDictionaryApplyFunction","symbolLocation":131,"imageIndex":2},{"imageOffset":532162,"symbol":"_CFPrefsDeliverPendingKVONotificationsGuts","symbolLocation":262,"imageIndex":2},{"imageOffset":189589,"symbol":"-[_CFXPreferences _deliverPendingKVONotifications]","symbolLocation":90,"imageIndex":2},{"imageOffset":191761,"symbol":"__108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke","symbolLocation":402,"imageIndex":2},{"imageOffset":1612655,"symbol":"-[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:]","symbolLocation":372,"imageIndex":2},{"imageOffset":190327,"symbol":"-[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:]","symbolLocation":137,"imageIndex":2},{"imageOffset":190131,"symbol":"_CFPreferencesCopyAppValueWithContainerAndConfiguration","symbolLocation":101,"imageIndex":2},{"imageOffset":348455,"symbol":"_CFPreferencesGetAppIntegerValueWithContainer","symbolLocation":40,"imageIndex":2},{"imageOffset":180471,"symbol":"invocation function for block in initWrapperType()","symbolLocation":179,"imageIndex":3},{"imageOffset":11465,"symbol":"_dispatch_client_callout","symbolLocation":8,"imageIndex":4},{"imageOffset":16065,"symbol":"_dispatch_once_callout","symbolLocation":20,"imageIndex":4},{"imageOffset":180228,"symbol":"invocation function for block in MTLDeviceArrayInitialize()","symbolLocation":1268,"imageIndex":3},{"imageOffset":11465,"symbol":"_dispatch_client_callout","symbolLocation":8,"imageIndex":4},{"imageOffset":16065,"symbol":"_dispatch_once_callout","symbolLocation":20,"imageIndex":4},{"imageOffset":5325,"symbol":"MTLCopyAllDevices","symbolLocation":189,"imageIndex":3},{"imageOffset":38009,"symbol":"CIMetalCopyDefaultDevice","symbolLocation":72,"imageIndex":5},{"imageOffset":629474,"symbol":"invocation function for block in can_use_metal()","symbolLocation":27,"imageIndex":5},{"imageOffset":11465,"symbol":"_dispatch_client_callout","symbolLocation":8,"imageIndex":4},{"imageOffset":16065,"symbol":"_dispatch_once_callout","symbolLocation":20,"imageIndex":4},{"imageOffset":52021,"symbol":"-[CIContext initWithOptions:]","symbolLocation":1154,"imageIndex":5},{"imageOffset":143775,"symbol":"__38+[CUIShapeEffectStack sharedCIContext]_block_invoke","symbolLocation":70,"imageIndex":6},{"imageOffset":11465,"symbol":"_dispatch_client_callout","symbolLocation":8,"imageIndex":4},{"imageOffset":16065,"symbol":"_dispatch_once_callout","symbolLocation":20,"imageIndex":4},{"imageOffset":143703,"symbol":"+[CUIShapeEffectStack sharedCIContext]","symbolLocation":42,"imageIndex":6},{"imageOffset":261996,"symbol":"-[CUIShapeEffectStack newFlattenedImageFromShapeCGImage:withScale:cache:]","symbolLocation":220,"imageIndex":6},{"imageOffset":229160,"symbol":"DrawThreePartImageWithOperation","symbolLocation":1616,"imageIndex":6},{"imageOffset":227529,"symbol":"DrawThreePartElementFromRenditionWithOperation","symbolLocation":228,"imageIndex":6},{"imageOffset":194984,"symbol":"-[CUIThemeFacet _drawSpecificRenditionKey:rendition:inFrame:context:alpha:operation:isFocused:isFlipped:effects:]","symbolLocation":298,"imageIndex":6},{"imageOffset":194671,"symbol":"-[CUIThemeFacet _drawSpecificRenditionKey:inFrame:context:isFocused:isFlipped:effects:]","symbolLocation":164,"imageIndex":6},{"imageOffset":236293,"symbol":"-[CUIThemeFacet drawInFrame:isFocused:context:effects:]","symbolLocation":106,"imageIndex":6},{"imageOffset":713768,"symbol":"CUICoreThemeRenderer::DrawPushOrBevelButton(bool, CUIDescriptor const*)","symbolLocation":568,"imageIndex":6},{"imageOffset":95382,"symbol":"CUIRenderer::Draw(CGRect, CGContext*, __CFDictionary const*, __CFDictionary const**)","symbolLocation":1622,"imageIndex":6},{"imageOffset":93705,"symbol":"CUIDraw","symbolLocation":154,"imageIndex":6},{"imageOffset":178282,"symbol":"_HIThemeCUIDrawWithOptions","symbolLocation":179,"imageIndex":7},{"imageOffset":752971,"symbol":"_HIThemeDrawButtonInternal(CGRect const*, HIThemeButtonDrawInfo const*, HIThemeButtonDrawInfo const*, ThemeEraseXUPP*, ThemeButtonDrawXUPP*, void*, CGContext*, unsigned int, CGRect*)","symbolLocation":2634,"imageIndex":7},{"imageOffset":750331,"symbol":"HIThemeDrawButton","symbolLocation":17,"imageIndex":7},{"imageOffset":735928,"symbol":"TkpDisplayButton","symbolLocation":997,"imageIndex":8},{"imageOffset":881009,"symbol":"TclServiceIdle","symbolLocation":75,"imageIndex":9},{"imageOffset":767894,"symbol":"Tcl_DoOneEvent","symbolLocation":341,"imageIndex":9},{"imageOffset":847148,"symbol":"-[TKContentView(TKWindowEvent) generateExposeEvents:]","symbolLocation":237,"imageIndex":8},{"imageOffset":846430,"symbol":"-[TKContentView(TKWindowEvent) drawRect:]","symbolLocation":152,"imageIndex":8},{"imageOffset":1684147,"symbol":"_NSViewDrawRect","symbolLocation":121,"imageIndex":10},{"imageOffset":9141484,"symbol":"-[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:]","symbolLocation":1832,"imageIndex":10},{"imageOffset":1681841,"symbol":"-[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:]","symbolLocation":747,"imageIndex":10},{"imageOffset":1680880,"symbol":"-[NSView(NSLayerKitGlue) drawLayer:inContext:]","symbolLocation":290,"imageIndex":10},{"imageOffset":140046,"symbol":"CABackingStoreUpdate_","symbolLocation":613,"imageIndex":11},{"imageOffset":553917,"symbol":"invocation function for block in CA::Layer::display_()","symbolLocation":53,"imageIndex":11},{"imageOffset":136864,"symbol":"-[CALayer _display]","symbolLocation":2268,"imageIndex":11},{"imageOffset":132633,"symbol":"CA::Layer::display_if_needed(CA::Transaction*)","symbolLocation":867,"imageIndex":11},{"imageOffset":1509163,"symbol":"CA::Context::commit_transaction(CA::Transaction*, double, double*)","symbolLocation":717,"imageIndex":11},{"imageOffset":8778,"symbol":"CA::Transaction::commit()","symbolLocation":704,"imageIndex":11},{"imageOffset":1750994,"symbol":"__62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke","symbolLocation":285,"imageIndex":10},{"imageOffset":9388244,"symbol":"___NSRunLoopObserverCreateWithHandler_block_invoke","symbolLocation":41,"imageIndex":10},{"imageOffset":523447,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__","symbolLocation":23,"imageIndex":2},{"imageOffset":523092,"symbol":"__CFRunLoopDoObservers","symbolLocation":543,"imageIndex":2},{"imageOffset":520167,"symbol":"__CFRunLoopRun","symbolLocation":841,"imageIndex":2},{"imageOffset":517597,"symbol":"CFRunLoopRunSpecific","symbolLocation":563,"imageIndex":2},{"imageOffset":206065,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":7},{"imageOffset":205080,"symbol":"ReceiveNextEventCommon","symbolLocation":284,"imageIndex":7},{"imageOffset":204773,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":70,"imageIndex":7},{"imageOffset":257416,"symbol":"_DPSNextEvent","symbolLocation":886,"imageIndex":10},{"imageOffset":250868,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":1411,"imageIndex":10},{"imageOffset":828896,"symbol":"TkMacOSXEventsSetupProc","symbolLocation":155,"imageIndex":8},{"imageOffset":767784,"symbol":"Tcl_DoOneEvent","symbolLocation":231,"imageIndex":9},{"imageOffset":850715,"symbol":"TkMacOSXHandleMapOrUnmap","symbolLocation":97,"imageIndex":8},{"imageOffset":851125,"symbol":"TkWmMapWindow","symbolLocation":353,"imageIndex":8},{"imageOffset":217381,"symbol":"Tk_MapWindow","symbolLocation":158,"imageIndex":8},{"imageOffset":877343,"symbol":"TkpWmSetState","symbolLocation":132,"imageIndex":8},{"imageOffset":864634,"symbol":"Tk_WmObjCmd","symbolLocation":9645,"imageIndex":8},{"imageOffset":76913,"symbol":"TclNRRunCallbacks","symbolLocation":79,"imageIndex":9},{"imageOffset":7077,"symbol":"Tkapp_Call","symbolLocation":389,"imageIndex":12},{"imageOffset":741737,"symbol":"method_vectorcall_VARARGS","symbolLocation":121,"imageIndex":13},{"imageOffset":1903622,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":59334,"imageIndex":13},{"imageOffset":1930944,"symbol":"_PyEval_Vector","symbolLocation":128,"imageIndex":13},{"imageOffset":669520,"symbol":"_PyObject_FastCallDictTstate","symbolLocation":96,"imageIndex":13},{"imageOffset":1251301,"symbol":"slot_tp_init","symbolLocation":181,"imageIndex":13},{"imageOffset":1211002,"symbol":"type_call","symbolLocation":122,"imageIndex":13},{"imageOffset":672843,"symbol":"_PyObject_Call","symbolLocation":107,"imageIndex":13},{"imageOffset":1917178,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":72890,"imageIndex":13},{"imageOffset":1930944,"symbol":"_PyEval_Vector","symbolLocation":128,"imageIndex":13},{"imageOffset":686095,"symbol":"method_vectorcall","symbolLocation":207,"imageIndex":13},{"imageOffset":1917178,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":72890,"imageIndex":13},{"imageOffset":1930944,"symbol":"_PyEval_Vector","symbolLocation":128,"imageIndex":13},{"imageOffset":669520,"symbol":"_PyObject_FastCallDictTstate","symbolLocation":96,"imageIndex":13},{"imageOffset":1245413,"symbol":"slot_tp_call","symbolLocation":181,"imageIndex":13},{"imageOffset":668817,"symbol":"_PyObject_MakeTpCall","symbolLocation":129,"imageIndex":13},{"imageOffset":1903871,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":59583,"imageIndex":13},{"imageOffset":1930944,"symbol":"_PyEval_Vector","symbolLocation":128,"imageIndex":13},{"imageOffset":686095,"symbol":"method_vectorcall","symbolLocation":207,"imageIndex":13},{"imageOffset":1917178,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":72890,"imageIndex":13},{"imageOffset":1930944,"symbol":"_PyEval_Vector","symbolLocation":128,"imageIndex":13},{"imageOffset":669520,"symbol":"_PyObject_FastCallDictTstate","symbolLocation":96,"imageIndex":13},{"imageOffset":1245413,"symbol":"slot_tp_call","symbolLocation":181,"imageIndex":13},{"imageOffset":668817,"symbol":"_PyObject_MakeTpCall","symbolLocation":129,"imageIndex":13},{"imageOffset":1903871,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":59583,"imageIndex":13},{"imageOffset":1930944,"symbol":"_PyEval_Vector","symbolLocation":128,"imageIndex":13},{"imageOffset":686095,"symbol":"method_vectorcall","symbolLocation":207,"imageIndex":13},{"imageOffset":1917178,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":72890,"imageIndex":13},{"imageOffset":1930944,"symbol":"_PyEval_Vector","symbolLocation":128,"imageIndex":13},{"imageOffset":669520,"symbol":"_PyObject_FastCallDictTstate","symbolLocation":96,"imageIndex":13},{"imageOffset":1245413,"symbol":"slot_tp_call","symbolLocation":181,"imageIndex":13},{"imageOffset":668817,"symbol":"_PyObject_MakeTpCall","symbolLocation":129,"imageIndex":13},{"imageOffset":1903871,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":59583,"imageIndex":13},{"imageOffset":1930944,"symbol":"_PyEval_Vector","symbolLocation":128,"imageIndex":13},{"imageOffset":686095,"symbol":"method_vectorcall","symbolLocation":207,"imageIndex":13},{"imageOffset":1917178,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":72890,"imageIndex":13},{"imageOffset":1930944,"symbol":"_PyEval_Vector","symbolLocation":128,"imageIndex":13},{"imageOffset":669520,"symbol":"_PyObject_FastCallDictTstate","symbolLocation":96,"imageIndex":13},{"imageOffset":1245413,"symbol":"slot_tp_call","symbolLocation":181,"imageIndex":13},{"imageOffset":668817,"symbol":"_PyObject_MakeTpCall","symbolLocation":129,"imageIndex":13},{"imageOffset":1903871,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":59583,"imageIndex":13},{"imageOffset":1930944,"symbol":"_PyEval_Vector","symbolLocation":128,"imageIndex":13},{"imageOffset":669638,"symbol":"_PyObject_FastCallDictTstate","symbolLocation":214,"imageIndex":13},{"imageOffset":1251301,"symbol":"slot_tp_init","symbolLocation":181,"imageIndex":13},{"imageOffset":1211002,"symbol":"type_call","symbolLocation":122,"imageIndex":13},{"imageOffset":668817,"symbol":"_PyObject_MakeTpCall","symbolLocation":129,"imageIndex":13},{"imageOffset":1903871,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":59583,"imageIndex":13},{"imageOffset":1839434,"symbol":"PyEval_EvalCode","symbolLocation":282,"imageIndex":13},{"imageOffset":1817363,"symbol":"builtin_exec","symbolLocation":483,"imageIndex":13},{"imageOffset":1085188,"symbol":"cfunction_vectorcall_FASTCALL_KEYWORDS","symbolLocation":68,"imageIndex":13},{"imageOffset":1903622,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":59334,"imageIndex":13},{"imageOffset":1930944,"symbol":"_PyEval_Vector","symbolLocation":128,"imageIndex":13},{"imageOffset":2549629,"symbol":"pymain_run_module","symbolLocation":253,"imageIndex":13},{"imageOffset":2548289,"symbol":"Py_RunMain","symbolLocation":2225,"imageIndex":13},{"imageOffset":2552315,"symbol":"pymain_main","symbolLocation":43,"imageIndex":13},{"imageOffset":2555162,"symbol":"Py_BytesMain","symbolLocation":42,"imageIndex":13},{"imageOffset":21758,"symbol":"start","symbolLocation":462,"imageIndex":14}]},{"id":34813266,"frames":[{"imageOffset":8172,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"id":34813268,"frames":[{"imageOffset":8172,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"id":34813276,"frames":[{"imageOffset":8172,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"id":34813288,"frames":[{"imageOffset":8172,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"id":34813293,"name":"com.apple.NSEventThread","frames":[{"imageOffset":2746,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":16},{"imageOffset":3627,"symbol":"mach_msg","symbolLocation":59,"imageIndex":16},{"imageOffset":527090,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":2},{"imageOffset":520651,"symbol":"__CFRunLoopRun","symbolLocation":1325,"imageIndex":2},{"imageOffset":517597,"symbol":"CFRunLoopRunSpecific","symbolLocation":563,"imageIndex":2},{"imageOffset":1757144,"symbol":"_NSEventThread","symbolLocation":132,"imageIndex":10},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":15},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":15}]},{"id":34813294,"frames":[{"imageOffset":36426,"symbol":"__select","symbolLocation":10,"imageIndex":16},{"imageOffset":1063096,"symbol":"NotifierThreadProc","symbolLocation":880,"imageIndex":9},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":15},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":15}]},{"id":34813298,"frames":[{"imageOffset":8172,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"id":34813343,"frames":[{"imageOffset":8172,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"id":34813344,"frames":[{"imageOffset":8172,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"id":34813345,"frames":[{"imageOffset":8172,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"id":34813346,"frames":[{"imageOffset":8172,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64h",
    "base" : 140703238422528,
    "size" : 237568,
    "uuid" : "33f2dc54-09f1-377f-9273-5da971aaa102",
    "path" : "\/usr\/lib\/libobjc.A.dylib",
    "name" : "libobjc.A.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703255457792,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 3911680,
    "uuid" : "bf00b016-c645-3574-b74f-4386750fb009",
    "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "1856.107"
  },
  {
    "source" : "P",
    "arch" : "x86_64h",
    "base" : 140703240228864,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5255168,
    "uuid" : "9b112884-be6c-3c7f-9a2a-a47c491105db",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1856.107"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703383822336,
    "CFBundleShortVersionString" : "258.18",
    "CFBundleIdentifier" : "com.apple.Metal",
    "size" : 1273856,
    "uuid" : "6aeb880f-160b-3b92-88b7-26fc516b8eeb",
    "path" : "\/System\/Library\/Frameworks\/Metal.framework\/Versions\/A\/Metal",
    "name" : "Metal",
    "CFBundleVersion" : "258.18"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703238131712,
    "size" : 290816,
    "uuid" : "67d92c93-aa68-34c2-964b-23e8a8d32098",
    "path" : "\/usr\/lib\/system\/libdispatch.dylib",
    "name" : "libdispatch.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703393394688,
    "CFBundleShortVersionString" : "17.0.0",
    "CFBundleIdentifier" : "com.apple.CoreImage",
    "size" : 3641344,
    "uuid" : "9f9f8473-387c-31b3-b074-247e520e51a7",
    "path" : "\/System\/Library\/Frameworks\/CoreImage.framework\/Versions\/A\/CoreImage",
    "name" : "CoreImage",
    "CFBundleVersion" : "1210.4"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703362052096,
    "CFBundleShortVersionString" : "2.1",
    "CFBundleIdentifier" : "com.apple.coreui",
    "size" : 1335296,
    "uuid" : "204c0db0-9aca-3246-86ba-504685abc48b",
    "path" : "\/System\/Library\/PrivateFrameworks\/CoreUI.framework\/Versions\/A\/CoreUI",
    "name" : "CoreUI",
    "CFBundleVersion" : "737.2"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703387590656,
    "CFBundleShortVersionString" : "2.1.1",
    "CFBundleIdentifier" : "com.apple.HIToolbox",
    "size" : 3112960,
    "uuid" : "c538aa78-7afd-3f8a-8fdb-1fc2acde6b3f",
    "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox",
    "name" : "HIToolbox"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4330713088,
    "size" : 1081344,
    "uuid" : "31da200f-d034-3bee-9673-53da7054631b",
    "path" : "\/Library\/Frameworks\/Python.framework\/Versions\/3.11\/lib\/libtk8.6.dylib",
    "name" : "libtk8.6.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4333662208,
    "size" : 1196032,
    "uuid" : "0cf0f829-43bc-3847-86e5-aa783391c315",
    "path" : "\/Library\/Frameworks\/Python.framework\/Versions\/3.11\/lib\/libtcl8.6.dylib",
    "name" : "libtcl8.6.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703284723712,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 15278080,
    "uuid" : "9d3ab204-4858-3120-b002-5c38b02edec4",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2113.30.116"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703358697472,
    "CFBundleShortVersionString" : "1.11",
    "CFBundleIdentifier" : "com.apple.QuartzCore",
    "size" : 3051520,
    "uuid" : "9e727a38-d1d3-3d6a-940c-0ebfa61e28e6",
    "path" : "\/System\/Library\/Frameworks\/QuartzCore.framework\/Versions\/A\/QuartzCore",
    "name" : "QuartzCore",
    "CFBundleVersion" : "962.63"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4328583168,
    "size" : 32768,
    "uuid" : "c35567f7-799d-34af-850c-fca59f57f0d7",
    "path" : "\/Library\/Frameworks\/Python.framework\/Versions\/3.11\/lib\/python3.11\/lib-dynload\/_tkinter.cpython-311-darwin.so",
    "name" : "_tkinter.cpython-311-darwin.so"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4338135040,
    "CFBundleShortVersionString" : "3.11.0b5, (c) 2001-2021 Python Software Foundation.",
    "CFBundleIdentifier" : "org.python.python",
    "size" : 4063232,
    "uuid" : "08b9e6ed-d12f-3427-af93-bd9c36d00a6c",
    "path" : "\/Library\/Frameworks\/Python.framework\/Versions\/3.11\/Python",
    "name" : "Python",
    "CFBundleVersion" : "3.11.0b5"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4374499328,
    "size" : 442368,
    "uuid" : "7de33963-bbc5-3996-ba6e-f1d562c17c95",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703239913472,
    "size" : 49152,
    "uuid" : "ee564342-d8f2-396d-b642-40092cf34d82",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703239688192,
    "size" : 225280,
    "uuid" : "c1d58a50-5a4d-3bcb-a1fc-ec0902ce34d3",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "sharedCache" : {
  "base" : 140703236681728,
  "size" : 15216836608,
  "uuid" : "0939015d-8308-3e69-b095-bd928f835202"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=853.2M resident=0K(0%) swapped_out_or_unallocated=853.2M(100%)\nWritable regions: Total=2.0G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=2.0G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework               256K        2 \nActivity Tracing                   256K        1 \nCG backing stores                 2528K        4 \nCG image                            72K        3 \nColorSync                          232K       26 \nCoreAnimation                     1148K       12 \nCoreGraphics                        12K        2 \nCoreServices                        64K        1 \nCoreUI image data                 1216K        8 \nFoundation                          16K        1 \nKernel Alloc Once                    8K        1 \nMALLOC                           339.4M       63 \nMALLOC guard page                   48K       10 \nMALLOC_MEDIUM (reserved)           1.3G       11         reserved VM address space (unallocated)\nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSTACK GUARD                         48K       12 \nStack                             21.1M       12 \nVM_ALLOCATE                       8280K       25 \n__DATA                            19.3M      307 \n__DATA_CONST                      11.9M      169 \n__DATA_DIRTY                       535K       98 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       644.0M       27 \n__OBJC_RO                         81.8M        1 \n__OBJC_RW                         3136K        2 \n__TEXT                           209.2M      325 \n__UNICODE                          588K        1 \ndyld private memory               1024K        1 \nmapped file                      157.1M       22 \nshared memory                     1284K       16 \n===========                     =======  ======= \nTOTAL                              3.1G     1165 \nTOTAL, minus reserved VM space     1.5G     1165 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "607844aa04477260f58a8077",
      "factorPackIds" : {
        "SIRI_MORPHUN_ASSETS" : "6103050cbfe6dc472e1c982a"
      },
      "deploymentId" : 240000066
    },
    {
      "rolloutId" : "60da5e84ab0ca017dace9abf",
      "factorPackIds" : {

      },
      "deploymentId" : 240000008
    },
    {
      "rolloutId" : "602ad4dac86151000cf27e46",
      "factorPackIds" : {
        "SIRI_DICTATION_ASSETS" : "6193d03f2171a2330e561dfc"
      },
      "deploymentId" : 240000303
    },
    {
      "rolloutId" : "601d9415f79519000ccd4b69",
      "factorPackIds" : {
        "SIRI_TEXT_TO_SPEECH" : "622657ce37186c771d5404ad"
      },
      "deploymentId" : 240000416
    },
    {
      "rolloutId" : "5fb4245a1bbfe8005e33a1e1",
      "factorPackIds" : {

      },
      "deploymentId" : 240000015
    },
    {
      "rolloutId" : "60186475825c62000ccf5450",
      "factorPackIds" : {
        "SIRI_VALUE_INFERENCE_CONTACT_RESOLUTION" : "62bdc4218fe09c1632d841e9"
      },
      "deploymentId" : 240000023
    },
    {
      "rolloutId" : "5ffde50ce2aacd000d47a95f",
      "factorPackIds" : {

      },
      "deploymentId" : 240000171
    },
    {
      "rolloutId" : "5fc94383418129005b4e9ae0",
      "factorPackIds" : {

      },
      "deploymentId" : 240000413
    }
  ],
  "experiments" : [

  ]
}
}

@erlend-aasland
Copy link
Contributor

(Ronald, I took the liberty to collapse your crash dump inside a <details> tag, for improved readability.)

@erlend-aasland
Copy link
Contributor

erlend-aasland commented Jul 26, 2022

If I use my Homebrew supplied Tcl/Tk, this all works swell1. So, this is so far only an issue encountered with the python.org binaries.

FTR, the Tk info is equal to that from the python.org binary. Tcl 8.6, Tk 8.6, patchlevel 8.6.12.

UPDATE: I can get a segfault with Homebrew supplied Tcl/Tk as well.

Footnotes

  1. Note, I need to manually tweak test.support._is_gui_available in order to have it accept Homebrew Tcl/Tk; that's another issue though.

@erlend-aasland
Copy link
Contributor

FTR, it also crashes with python.org supplied 3.9 and 3.8.

@erlend-aasland
Copy link
Contributor

erlend-aasland commented Jul 26, 2022

It is not deterministic; it mostly segfaults right after the first askinteger call, but not always. There's a race somewhere.

Also, test_askinteger does not segfault if run solo; it only segfaults if run after another test (seemingly any of them).

@erlend-aasland erlend-aasland added 3.9 only security fixes 3.8 (EOL) end of life labels Jul 27, 2022
@ronaldoussoren
Copy link
Contributor Author

This could be a bug in Tcl/Tk, not the KVO_IS_RETAINING_ALL_OBSERVERS_OF_THIS_OBJECT_IF_IT_CRASHES_AN_OBSERVER_WAS_OVERRELEASED_OR_SMASHED message at the start of the crash log.

That said, I haven't tried debugging this and it is far from sure at this time what the bug is.

@novialriptide
Copy link
Contributor

Has this been fixed? I cannot reproduce this on a Mac Mini M1
output.txt

@ronaldoussoren
Copy link
Contributor Author

Has this been fixed? I cannot reproduce this on a Mac Mini M1
output.txt

I just checked and still get this crash.

Which python version do you use for testing and which version of Tk is used?

In particular, what's the out of:

python3 -m test.pythoninfo | grep -e sys.prefix -e sys.version -e tkinter

@chrstphrchvz
Copy link
Contributor

I can reproduce this with Python’s bundled Tcl/Tk 8.6.12 on Intel. If I patch libtk8.6.dylib to not call [NSApp _resetAutoreleasePool] from TkWmDeadWindow() (equivalent to this change in Tcl/Tk 8.6.13: https://core.tcl-lang.org/tk/info/d638e7ca3616), then the crash is avoided. (The tests keep running, until test_horizontal_range() gets stuck in the first lscale.update() call, but I believe that is a separate issue.) So the fix for #92603 seems to also apply to this issue.

@chrstphrchvz
Copy link
Contributor

I can reproduce this with Python’s bundled Tcl/Tk 8.6.12 on Intel. If I patch libtk8.6.dylib to not call [NSApp _resetAutoreleasePool] from TkWmDeadWindow() (equivalent to this change in Tcl/Tk 8.6.13: https://core.tcl-lang.org/tk/info/d638e7ca3616), then the crash is avoided. (The tests keep running, until test_horizontal_range() gets stuck in the first lscale.update() call, but I believe that is a separate issue.) So the fix for #92603 seems to also apply to this issue.

Sorry, the crash is still possible in Tk Aqua 8.6.13. The change I mentioned does seem to prevent the crash, but it does not eliminate it completely.

@chrstphrchvz
Copy link
Contributor

chrstphrchvz commented Aug 3, 2023

The cause of this crash is the same as the one in #92603 and likely other reports. I replied to https://core.tcl-lang.org/tk/info/ef5d3e29a429 (the ticket @ronaldoussoren opened) with an explanation of the root cause. I also provided a patch, however the Tk Aqua maintainers have yet to review it.

The test.test_tkinter.test_widgets.ToplevelTest.test_configure_screen error in output.txt from @novialriptide is a separate issue which has since been fixed: #104461

@RazaGR
Copy link

RazaGR commented Sep 2, 2023

@chrstphrchvz any update on this? I guess my crash is related too:

python3.10[32749:25702504] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'
*** First throw call stack:
(
        0   CoreFoundation                      0x000000018f84f19c __exceptionPreprocess + 176
        1   libobjc.A.dylib                     0x000000018f36e4d4 objc_exception_throw + 60
        2   CoreFoundation                      0x000000018f8783f4 _CFBundleGetValueForInfoKey + 0
        3   AppKit                              0x0000000192a16c14 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 320
        4   AppKit                              0x0000000192a04ee8 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 816
        5   AppKit                              0x0000000192a04bac -[NSWindow initWithContentRect:styleMask:backing:defer:] + 48
        6   Tk                                  0x00000002c23d6634 TkMacOSXMakeRealWindowExist + 524
        7   Tk                                  0x00000002c23d62d4 TkWmMapWindow + 60
        8   Tk                                  0x00000002c233b984 TkInstallFrameMenu + 304
        9   Tcl                                 0x00000002c22702cc TclServiceIdle + 72
        10  Tcl                                 0x00000002c2250940 Tcl_DoOneEvent + 120
        11  Tk                                  0x00000002c23c9548 TkpInit + 768
        12  Tk                                  0x00000002c23344ac Tk_Init + 2360
        13  _tkinter.cpython-310-darwin.so      0x00000002bd7da2c4 Tcl_AppInit + 80
        14  _tkinter.cpython-310-darwin.so      0x00000002bd7d426c Tkapp_New + 592
        15  _tkinter.cpython-310-darwin.so      0x00000002bd7d3c1c _tkinter_create + 580
        16  libpython3.10.dylib                 0x00000001012a0bec cfunction_vectorcall_FASTCALL + 268
        17  libpython3.10.dylib                 0x000000010132e970 call_function + 452
        18  libpython3.10.dylib                 0x000000010132b6f0 _PyEval_EvalFrameDefault + 23436
        19  libpython3.10.dylib                 0x0000000101325a58 _PyEval_Vector + 164
        20  libpython3.10.dylib                 0x000000010125a6cc _PyObject_FastCallDictTstate + 272
        21  libpython3.10.dylib                 0x000000010125b198 _PyObject_Call_Prepend + 148
        22  libpython3.10.dylib                 0x00000001012c3f90 slot_tp_init + 104
        23  libpython3.10.dylib                 0x00000001012bb204 type_call + 372
        24  libpython3.10.dylib                 0x000000010125a8a4 _PyObject_MakeTpCall + 360
        25  libpython3.10.dylib                 0x000000010132e9d0 call_function + 548
        26  libpython3.10.dylib                 0x000000010132b768 _PyEval_EvalFrameDefault + 23556
        27  libpython3.10.dylib                 0x0000000101325a58 _PyEval_Vector + 164
        28  libpython3.10.dylib                 0x000000010132e970 call_function + 452
        29  libpython3.10.dylib                 0x000000010132b768 _PyEval_EvalFrameDefault + 23556
        30  libpython3.10.dylib                 0x0000000101325a58 _PyEval_Vector + 164
        31  libpython3.10.dylib                 0x000000010132e970 call_function + 452
        32  libpython3.10.dylib                 0x000000010132b6c8 _PyEval_EvalFrameDefault + 23396
        33  libpython3.10.dylib                 0x0000000101325a58 _PyEval_Vector + 164
        34  libpython3.10.dylib                 0x000000010132e970 call_function + 452
        35  libpython3.10.dylib                 0x000000010132b6f0 _PyEval_EvalFrameDefault + 23436
        36  libpython3.10.dylib                 0x0000000101325a58 _PyEval_Vector + 164
        37  libpython3.10.dylib                 0x000000010132b9d4 _PyEval_EvalFrameDefault + 24176
        38  libpython3.10.dylib                 0x0000000101325a58 _PyEval_Vector + 164
        39  libpython3.10.dylib                 0x00000001013467b4 context_run + 288
        40  libpython3.10.dylib                 0x00000001012a0cb4 cfunction_vectorcall_FASTCALL_KEYWORDS + 168
        41  libpython3.10.dylib                 0x000000010132b9d4 _PyEval_EvalFrameDefault + 24176
        42  libpython3.10.dylib                 0x0000000101325a58 _PyEval_Vector + 164
        43  libpython3.10.dylib                 0x000000010132e970 call_function + 452
        44  libpython3.10.dylib                 0x000000010132b6c8 _PyEval_EvalFrameDefault + 23396
        45  libpython3.10.dylib                 0x0000000101325a58 _PyEval_Vector + 164
        46  libpython3.10.dylib                 0x000000010132e970 call_function + 452
        47  libpython3.10.dylib                 0x000000010132b6c8 _PyEval_EvalFrameDefault + 23396
        48  libpython3.10.dylib                 0x0000000101325a58 _PyEval_Vector + 164
        49  libpython3.10.dylib                 0x000000010125cff8 method_vectorcall + 308
        50  libpython3.10.dylib                 0x00000001013c9544 thread_run + 72
        51  libpython3.10.dylib                 0x000000010137bb38 pythread_wrapper + 28
        52  libsystem_pthread.dylib             0x000000018f6f7fa8 _pthread_start + 148
        53  libsystem_pthread.dylib             0x000000018f6f2da0 thread_start + 8
)
python3 -m test.pythoninfo | grep -e sys.prefix -e sys.version -e tkinter
sys.implementation: namespace(name='cpython', cache_tag='cpython-310', version=sys.version_info(major=3, minor=10, micro=11, releaselevel='final', serial=0), hexversion=50990064, _multiarch='darwin')
sys.prefix: /Users/raza/.pyenv/versions/3.10.11
sys.version: 3.10.11 (main, Sep  2 2023, 18:21:34) [Clang 14.0.3 (clang-1403.0.22.14.1)]
sys.version_info: sys.version_info(major=3, minor=10, micro=11, releaselevel='final', serial=0)
tkinter.TCL_VERSION: 8.6
tkinter.TK_VERSION: 8.6
tkinter.info_patchlevel: 8.6.13

@chrstphrchvz
Copy link
Contributor

@RazaGR I believe that is a separate issue. I notice you have opened a ticket for it upstream at https://core.tcl-lang.org/tk/info/bec431fc689e so I will probably comment on it there.

@chrstphrchvz
Copy link
Contributor

This crash has been fixed upstream for Tk 8.6.14, and the fix is backported for inclusion in the Python 3.11.7 and 3.12.1 installers: #108693

@ronaldoussoren
Copy link
Contributor Author

Thanks for the update and for the fix in Tk. That means the issue is fixed for us, and this issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.8 (EOL) end of life 3.9 only security fixes 3.10 only security fixes 3.11 only security fixes OS-mac topic-tkinter type-crash A hard crash of the interpreter, possibly with a core dump
Projects
None yet
Development

No branches or pull requests

5 participants