Repository navigation
Test_tkinter crash on macOS #93042
Description
Activity
- addedtype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump3.11only security fixesonly security fixes3.10 (EOL)end of lifeend of life
on May 21, 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.12Full 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" : [ ] } }(Ronald, I took the liberty to collapse your crash dump inside a
<details>tag, for improved readability.)Reacted by Ronald OussorenIf 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
-
Note, I need to manually tweak
test.support._is_gui_availablein order to have it accept Homebrew Tcl/Tk; that's another issue though. ↩
-
FTR, it also crashes with python.org supplied 3.9 and 3.8.
It is not deterministic; it mostly segfaults right after the first
askintegercall, but not always. There's a race somewhere.Also,
test_askintegerdoes not segfault if run solo; it only segfaults if run after another test (seemingly any of them).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_SMASHEDmessage 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.
Reacted by Christopher ChavezHas this been fixed? I cannot reproduce this on a Mac Mini M1
output.txtHas this been fixed? I cannot reproduce this on a Mac Mini M1
output.txtI 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 tkinterReacted by Sambhav DaveI 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]fromTkWmDeadWindow()(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, untiltest_horizontal_range()gets stuck in the firstlscale.update()call, but I believe that is a separate issue.) So the fix for #92603 seems to also apply to this issue.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]fromTkWmDeadWindow()(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, untiltest_horizontal_range()gets stuck in the firstlscale.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.
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
@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@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.
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
Reacted by Erlend E. AaslandThanks for the update and for the fix in Tk. That means the issue is fixed for us, and this issue can be closed.
Reacted by Erlend E. Aasland
Crash report
With both python 3.10.4 and 3.11b1 I get a hard crash when running the tkinter test suite:
Error messages
Crash dump
Your environment
Both python versions were installed using the installer on www.python.org.
Tk info from test.pytoninfo: