python / cpython

The Python programming language
https://www.python.org
Other
62.84k stars 30.1k forks source link

Python on Mac OS is continuously crashing when performing tasks. #101521

Closed Pmaguire205 closed 10 months ago

Pmaguire205 commented 1 year ago

When I hit a button in my code it crashes. But not all the time only sometimes and the code works on my windows computer .

Crash report Translated Report (Full Report Below) ------------------------------------- Process: Python [2691] Path: /Library/Frameworks/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python Identifier: org.python.python Version: 3.11.1 (3.11.1) Code Type: ARM-64 (Native) Parent Process: Python [2110] Responsible: Python [2110] User ID: 501 Date/Time: 2023-02-02 22:46:46.0822 +0000 OS Version: macOS 13.1 (22C65) Report Version: 12 Anonymous UUID: F6EEBACE-F95D-4CE8-AA15-826665FC67F2 Time Awake Since Boot: 1800 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 0x000000000000001e Exception Codes: 0x0000000000000001, 0x000000000000001e Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [2691] VM Region Info: 0x1e is not in any region. Bytes before following region: 105553518919650 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) Kernel Triage: VM - pmap_enter retried due to resource shortage Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libobjc.A.dylib 0x19392464c object_isClass + 16 1 Foundation 0x194c38dfc KVO_IS_RETAINING_ALL_OBSERVERS_OF_THIS_OBJECT_IF_IT_CRASHES_AN_OBSERVER_WAS_OVERRELEASED_OR_SMASHED + 76 2 Foundation 0x194c38bc0 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] + 308 3 Foundation 0x194c47b14 -[NSObject(NSKeyValueObservingPrivate) _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:] + 720 4 CoreFoundation 0x193d2d354 -[CFPrefsSource forEachObserver:] + 316 5 CoreFoundation 0x193d6a390 -[CFPrefsSource _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:] + 112 6 CoreFoundation 0x193d6a1fc ___CFPrefsDeliverPendingKVONotificationsGuts_block_invoke + 432 7 CoreFoundation 0x193d6a040 __CFDictionaryApplyFunction_block_invoke + 28 8 CoreFoundation 0x193d31fb4 CFBasicHashApply + 148 9 CoreFoundation 0x193d23b90 CFDictionaryApplyFunction + 320 10 CoreFoundation 0x193d69fb4 _CFPrefsDeliverPendingKVONotificationsGuts + 300 11 CoreFoundation 0x193d144dc -[_CFXPreferences _deliverPendingKVONotifications] + 96 12 CoreFoundation 0x193e617b4 -[_CFXPreferences withNamedVolatileSourceForIdentifier:perform:] + 340 13 CoreFoundation 0x193d2b338 __41-[_CFXPreferences registerDefaultValues:]_block_invoke + 128 14 CoreFoundation 0x193d13598 withKeysAndValues + 292 15 CoreFoundation 0x193d2b290 -[_CFXPreferences registerDefaultValues:] + 116 16 CoreFoundation 0x193d2b1e4 _CFXPreferencesRegisterDefaultValues + 80 17 Metal 0x19cf8d9b0 invocation function for block in initWrapperType() + 100 18 libdispatch.dylib 0x193b02504 _dispatch_client_callout + 20 19 libdispatch.dylib 0x193b03d50 _dispatch_once_callout + 32 20 Metal 0x19cf8d928 invocation function for block in MTLDeviceArrayInitialize() + 1284 21 libdispatch.dylib 0x193b02504 _dispatch_client_callout + 20 22 libdispatch.dylib 0x193b03d50 _dispatch_once_callout + 32 23 Metal 0x19cf665ac MTLCopyAllDevices + 244 24 CoreImage 0x19dae0078 CIMetalCopyDefaultDevice + 88 25 CoreImage 0x19db7e67c invocation function for block in can_use_metal() + 40 26 libdispatch.dylib 0x193b02504 _dispatch_client_callout + 20 27 libdispatch.dylib 0x193b03d50 _dispatch_once_callout + 32 28 CoreImage 0x19dae5450 -[CIContext initWithOptions:] + 832 29 CoreUI 0x19b7c7808 __38+[CUIShapeEffectStack sharedCIContext]_block_invoke + 56 30 libdispatch.dylib 0x193b02504 _dispatch_client_callout + 20 31 libdispatch.dylib 0x193b03d50 _dispatch_once_callout + 32 32 CoreUI 0x19b7c77cc +[CUIShapeEffectStack sharedCIContext] + 64 33 CoreUI 0x19b7dd1e4 -[CUIShapeEffectStack newFlattenedImageFromShapeCGImage:withScale:cache:] + 188 34 CoreUI 0x19b7d7568 DrawThreePartImageWithOperation + 672 35 CoreUI 0x19b83f63c -[CUIThemeFacet _drawSpecificRenditionKey:inFrame:context:isFocused:focusRingColor:isFlipped:effects:] + 176 36 CoreUI 0x19b83f7ec -[CUIThemeFacet drawInFrame:isFocused:focusRingColor:context:effects:] + 140 37 CoreUI 0x19b847344 CUICoreThemeRenderer::DrawSimple(CUIRenditionKey*, CUIDescriptor const*, bool) + 568 38 CoreUI 0x19b7bdbc4 CUIRenderer::Draw(CGRect, CGContext*, __CFDictionary const*, __CFDictionary const**) + 1060 39 CoreUI 0x19b7bd760 CUIDraw + 224 40 HIToolbox 0x19d435908 _HIThemeCUIDrawWithOptions + 184 41 HIToolbox 0x19d4c4424 _HIThemeDrawButtonInternal(CGRect const*, HIThemeButtonDrawInfo const*, HIThemeButtonDrawInfo const*, ThemeEraseXUPP*, ThemeButtonDrawXUPP*, void*, CGContext*, unsigned int, CGRect*) + 3884 42 HIToolbox 0x19d4c34ec HIThemeDrawButton + 32 43 libtk8.6.dylib 0x10062e574 ComboboxElementDraw + 428 44 libtk8.6.dylib 0x1005f5b64 Ttk_DrawNodeList + 132 45 libtk8.6.dylib 0x1005ef948 EntryDisplay + 564 46 libtcl8.6.dylib 0x1009049b0 TclServiceIdle + 84 47 libtcl8.6.dylib 0x1008e906c Tcl_DoOneEvent + 296 48 libtk8.6.dylib 0x100620d80 -[TKContentView(TKWindowEvent) generateExposeEvents:] + 208 49 libtk8.6.dylib 0x100620ae4 -[TKContentView(TKWindowEvent) drawRect:] + 180 50 AppKit 0x197101c38 _NSViewDrawRect + 124 51 AppKit 0x1977b4988 -[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:] + 1088 52 AppKit 0x1971014ac -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 556 53 QuartzCore 0x19b413b2c CABackingStoreUpdate_ + 224 54 QuartzCore 0x19b46faa0 invocation function for block in CA::Layer::display_() + 64 55 QuartzCore 0x19b412d04 -[CALayer _display] + 1644 56 QuartzCore 0x19b411e88 CA::Layer::display_if_needed(CA::Transaction*) + 788 57 QuartzCore 0x19b5762d8 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 456 58 QuartzCore 0x19b3f4404 CA::Transaction::commit() + 652 59 AppKit 0x197110d58 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 272 60 AppKit 0x1977eece0 ___NSRunLoopObserverCreateWithHandler_block_invoke + 64 61 CoreFoundation 0x193d67dc8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36 62 CoreFoundation 0x193d67cb4 __CFRunLoopDoObservers + 532 63 CoreFoundation 0x193d672ec __CFRunLoopRun + 784 64 CoreFoundation 0x193d66888 CFRunLoopRunSpecific + 612 65 libtcl8.6.dylib 0x100931f78 Tcl_WaitForEvent + 280 66 libtcl8.6.dylib 0x1008e902c Tcl_DoOneEvent + 232 67 _tkinter.cpython-311-darwin.so 0x1001ae728 _tkinter_tkapp_mainloop_impl + 252 68 Python 0x10102f0c0 method_vectorcall_FASTCALL + 100 69 Python 0x101140d4c _PyEval_EvalFrameDefault + 52772 70 Python 0x101132cac PyEval_EvalCode + 276 71 Python 0x10112d50c builtin_exec + 428 72 Python 0x101082644 cfunction_vectorcall_FASTCALL_KEYWORDS + 80 73 Python 0x101140d4c _PyEval_EvalFrameDefault + 52772 74 Python 0x10114689c _PyEval_Vector + 156 75 Python 0x101021d6c method_vectorcall + 164 76 Python 0x101143980 _PyEval_EvalFrameDefault + 64088 77 Python 0x101132cac PyEval_EvalCode + 276 78 Python 0x1011b016c PyRun_StringFlags + 212 79 Python 0x1011affd4 PyRun_SimpleStringFlags + 84 80 Python 0x1011d2d78 Py_RunMain + 388 81 Python 0x1011d449c pymain_main + 52 82 Python 0x1011d4cd4 Py_BytesMain + 40 83 dyld 0x19395fe50 start + 2544 Thread 1: 0 libsystem_pthread.dylib 0x193c83e18 start_wqthread + 0 Thread 2: 0 libsystem_pthread.dylib 0x193c83e18 start_wqthread + 0 Thread 3: 0 libsystem_kernel.dylib 0x193c54a00 __select + 8 1 select.cpython-311-darwin.so 0x100c49d84 select_select_impl + 380 2 Python 0x101142900 _PyEval_EvalFrameDefault + 59864 3 Python 0x10114689c _PyEval_Vector + 156 4 Python 0x10101ddb4 _PyObject_FastCallDictTstate + 96 5 Python 0x1010aacfc slot_tp_init + 180 6 Python 0x1010a1678 type_call + 136 7 Python 0x10101da94 _PyObject_MakeTpCall + 128 8 Python 0x101140e34 _PyEval_EvalFrameDefault + 53004 9 Python 0x10114689c _PyEval_Vector + 156 10 Python 0x101143980 _PyEval_EvalFrameDefault + 64088 11 Python 0x10114689c _PyEval_Vector + 156 12 Python 0x101021e4c method_vectorcall + 388 13 Python 0x101243a50 thread_run + 200 14 Python 0x1011bfcbc pythread_wrapper + 48 15 libsystem_pthread.dylib 0x193c8906c _pthread_start + 148 16 libsystem_pthread.dylib 0x193c83e2c thread_start + 8 Thread 4: 0 libsystem_kernel.dylib 0x193c54a00 __select + 8 1 libtcl8.6.dylib 0x100932754 NotifierThreadProc + 664 2 libsystem_pthread.dylib 0x193c8906c _pthread_start + 148 3 libsystem_pthread.dylib 0x193c83e2c thread_start + 8 Thread 5: 0 libsystem_pthread.dylib 0x193c83e18 start_wqthread + 0 Thread 6: 0 libsystem_pthread.dylib 0x193c83e18 start_wqthread + 0 Thread 7:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x193c49d70 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x193c5b8a4 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x193c525c4 mach_msg_overwrite + 540 3 libsystem_kernel.dylib 0x193c4a0ec mach_msg + 24 4 CoreFoundation 0x193d68bc0 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x193d674ac __CFRunLoopRun + 1232 6 CoreFoundation 0x193d66888 CFRunLoopRunSpecific + 612 7 AppKit 0x197112410 _NSEventThread + 172 8 libsystem_pthread.dylib 0x193c8906c _pthread_start + 148 9 libsystem_pthread.dylib 0x193c83e2c thread_start + 8 Thread 0 crashed with ARM Thread State (64-bit): x0: 0x00000001437eb320 x1: 0x000000016fcad600 x2: 0x00006000008c5540 x3: 0x0000600002ba9040 x4: 0x0000000000000004 x5: 0x0000000000001020 x6: 0x0000000000000000 x7: 0x0000000193ee0b0d x8: 0x0000000000000000 x9: 0x0000600002ba9020 x10: 0x0000651db4bd0000 x11: 0x0000600002ba8000 x12: 0x0000000000000020 x13: 0x00000000001ff800 x14: 0x00000000000007fb x15: 0x00000000a1444082 x16: 0x000000019392463c x17: 0x00000001effed988 x18: 0x0000000000000000 x19: 0x00006000008c5540 x20: 0x000000016fcad600 x21: 0x0000000000000001 x22: 0x0000600002bef400 x23: 0x000000016fcad670 x24: 0x0000000000000001 x25: 0x000000016fcad600 x26: 0x0000600002ba9380 x27: 0x000000016fcadbe0 x28: 0x0000000000000000 fp: 0x000000016fcad5f0 lr: 0x0000000194c38dfc sp: 0x000000016fcad5b0 pc: 0x000000019392464c cpsr: 0x20001000 far: 0x000000000000001e esr: 0x92000006 (Data Abort) byte read Translation fault Binary Images: 0x193914000 - 0x193959d9f libobjc.A.dylib (*) /usr/lib/libobjc.A.dylib 0x194c13000 - 0x19564bfff com.apple.Foundation (6.9) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x193ce7000 - 0x1941befff com.apple.CoreFoundation (6.9) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x19cf65000 - 0x19d142fff com.apple.Metal (306.3.4) /System/Library/Frameworks/Metal.framework/Versions/A/Metal 0x193afe000 - 0x193b45fff libdispatch.dylib (*) <191028d2-0477-3ebc-9eef-a85acafc7193> /usr/lib/system/libdispatch.dylib 0x19dad6000 - 0x19de27fff com.apple.CoreImage (17.0.0) /System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage 0x19b7a9000 - 0x19b8eefff com.apple.coreui (2.1) /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI 0x19d40a000 - 0x19d73dfff com.apple.HIToolbox (2.1.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x100558000 - 0x100657fff libtk8.6.dylib (*) <507d727f-2091-3699-8744-b7727fcd4477> /Library/Frameworks/Python.framework/Versions/3.11/lib/libtk8.6.dylib 0x100828000 - 0x100953fff libtcl8.6.dylib (*) /Library/Frameworks/Python.framework/Versions/3.11/lib/libtcl8.6.dylib 0x196faf000 - 0x197eb9fff com.apple.AppKit (6.9) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x19b3f2000 - 0x19b756fff com.apple.QuartzCore (1.11) <8ccb450e-ab2b-3fce-931e-70986187d2e0> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore 0x1001ac000 - 0x1001b3fff _tkinter.cpython-311-darwin.so (*) <70dea29c-be28-3ebf-abea-a41ebf4b1e39> /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/lib-dynload/_tkinter.cpython-311-darwin.so 0x100f84000 - 0x10134ffff org.python.python (3.11.1, (c) 2001-2021 Python Software Foundation.) <2a4d96c7-95e3-3083-9ecc-d996f00c3e95> /Library/Frameworks/Python.framework/Versions/3.11/Python 0x19395a000 - 0x1939e4b63 dyld (*) <487cfdeb-9b07-39bf-bfb9-970b61aea2d1> /usr/lib/dyld 0x193c82000 - 0x193c8effb libsystem_pthread.dylib (*) <132084c6-c347-3489-9ac2-fcaad21cdb73> /usr/lib/system/libsystem_pthread.dylib 0x193c49000 - 0x193c81ff3 libsystem_kernel.dylib (*) /usr/lib/system/libsystem_kernel.dylib 0x100c44000 - 0x100c4bfff select.cpython-311-darwin.so (*) /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/lib-dynload/select.cpython-311-darwin.so 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=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%) Writable regions: Total=1.6G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.6G(100%) VIRTUAL REGION REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Accelerate framework 128K 1 Activity Tracing 256K 1 CG backing stores 2176K 4 CG image 64K 3 ColorSync 544K 27 CoreAnimation 96K 6 CoreGraphics 32K 2 CoreUI image data 1776K 11 Foundation 16K 1 Kernel Alloc Once 32K 1 MALLOC 334.0M 75 MALLOC guard page 192K 9 MALLOC_MEDIUM (reserved) 920.0M 8 reserved VM address space (unallocated) MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated) STACK GUARD 128K 8 Stack 34.8M 8 VM_ALLOCATE 9440K 23 __AUTH 669K 174 __AUTH_CONST 12.0M 338 __CTF 756 1 __DATA 4809K 359 __DATA_CONST 15.6M 375 __DATA_DIRTY 708K 108 __FONT_DATA 2352 1 __LINKEDIT 770.6M 38 __OBJC_CONST 1357K 144 __OBJC_RO 65.4M 1 __OBJC_RW 1986K 1 __TEXT 240.1M 391 dyld private memory 256K 1 mapped file 193.5M 29 shared memory 864K 15 =========== ======= ======= TOTAL 2.9G 2165 TOTAL, minus reserved VM space 1.7G 2165 ----------- Full Report ----------- {"app_name":"Python","timestamp":"2023-02-02 22:46:46.00 +0000","app_version":"3.11.1","slice_uuid":"fa5113d1-f7b5-3af0-983e-2cc425c0ab68","build_version":"3.11.1","platform":1,"bundleID":"org.python.python","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.1 (22C65)","roots_installed":0,"name":"Python","incident_id":"171AEADB-8AD1-4326-8623-E0FCE12F61B3"} { "uptime" : 1800, "procRole" : "Foreground", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "MacBookAir10,1", "coalitionID" : 2153, "osVersion" : { "train" : "macOS 13.1", "build" : "22C65", "releaseType" : "User" }, "captureTime" : "2023-02-02 22:46:46.0822 +0000", "incident" : "171AEADB-8AD1-4326-8623-E0FCE12F61B3", "pid" : 2691, "translated" : false, "cpuType" : "ARM-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2023-02-02 22:46:41.2238 +0000", "procStartAbsTime" : 43858353064, "procExitAbsTime" : 43974839847, "procName" : "Python", "procPath" : "\/Library\/Frameworks\/Python.framework\/Versions\/3.11\/Resources\/Python.app\/Contents\/MacOS\/Python", "bundleInfo" : {"CFBundleShortVersionString":"3.11.1","CFBundleVersion":"3.11.1","CFBundleIdentifier":"org.python.python"}, "storeInfo" : {"deviceIdentifierForVendor":"8ADA3DD5-5E77-5F1E-B685-8B84170BCDE1","thirdParty":true}, "parentProc" : "Python", "parentPid" : 2110, "coalitionName" : "org.python.IDLE", "crashReporterKey" : "F6EEBACE-F95D-4CE8-AA15-826665FC67F2", "responsiblePid" : 2110, "responsibleProc" : "Python", "sip" : "enabled", "vmRegionInfo" : "0x1e is not in any region. Bytes before following region: 105553518919650\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)", "exception" : {"codes":"0x0000000000000001, 0x000000000000001e","rawCodes":[1,30],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x000000000000001e"}, "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":2691}, "ktriageinfo" : "VM - pmap_enter retried due to resource shortage\n", "vmregioninfo" : "0x1e is not in any region. Bytes before following region: 105553518919650\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":43051,"threadState":{"x":[{"value":5427344160},{"value":6170531328},{"value":105553125463360},{"value":105553162047552},{"value":4},{"value":4128},{"value":0},{"value":6776818445,"symbolLocation":45,"symbol":"_OBJC_$_INSTANCE_METHODS_CFPrefsSearchListSource"},{"value":0},{"value":105553162047520},{"value":111178260742144},{"value":105553162043392},{"value":32},{"value":2095104},{"value":2043},{"value":2705604738},{"value":6770804284,"symbolLocation":0,"symbol":"object_isClass"},{"value":8321423752},{"value":0},{"value":105553125463360},{"value":6170531328},{"value":1},{"value":105553162335232},{"value":6170531440},{"value":1},{"value":6170531328},{"value":105553162048384},{"value":6170532832},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6790811132},"cpsr":{"value":536875008},"fp":{"value":6170531312},"sp":{"value":6170531248},"esr":{"value":2449473542,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":6770804300,"matchesCrashFrame":1},"far":{"value":30}},"queue":"com.apple.main-thread","frames":[{"imageOffset":67148,"symbol":"object_isClass","symbolLocation":16,"imageIndex":0},{"imageOffset":155132,"symbol":"KVO_IS_RETAINING_ALL_OBSERVERS_OF_THIS_OBJECT_IF_IT_CRASHES_AN_OBSERVER_WAS_OVERRELEASED_OR_SMASHED","symbolLocation":76,"imageIndex":1},{"imageOffset":154560,"symbol":"-[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:]","symbolLocation":308,"imageIndex":1},{"imageOffset":215828,"symbol":"-[NSObject(NSKeyValueObservingPrivate) _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:]","symbolLocation":720,"imageIndex":1},{"imageOffset":287572,"symbol":"-[CFPrefsSource forEachObserver:]","symbolLocation":316,"imageIndex":2},{"imageOffset":537488,"symbol":"-[CFPrefsSource _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:]","symbolLocation":112,"imageIndex":2},{"imageOffset":537084,"symbol":"___CFPrefsDeliverPendingKVONotificationsGuts_block_invoke","symbolLocation":432,"imageIndex":2},{"imageOffset":536640,"symbol":"__CFDictionaryApplyFunction_block_invoke","symbolLocation":28,"imageIndex":2},{"imageOffset":307124,"symbol":"CFBasicHashApply","symbolLocation":148,"imageIndex":2},{"imageOffset":248720,"symbol":"CFDictionaryApplyFunction","symbolLocation":320,"imageIndex":2},{"imageOffset":536500,"symbol":"_CFPrefsDeliverPendingKVONotificationsGuts","symbolLocation":300,"imageIndex":2},{"imageOffset":185564,"symbol":"-[_CFXPreferences _deliverPendingKVONotifications]","symbolLocation":96,"imageIndex":2},{"imageOffset":1550260,"symbol":"-[_CFXPreferences withNamedVolatileSourceForIdentifier:perform:]","symbolLocation":340,"imageIndex":2},{"imageOffset":279352,"symbol":"__41-[_CFXPreferences registerDefaultValues:]_block_invoke","symbolLocation":128,"imageIndex":2},{"imageOffset":181656,"symbol":"withKeysAndValues","symbolLocation":292,"imageIndex":2},{"imageOffset":279184,"symbol":"-[_CFXPreferences registerDefaultValues:]","symbolLocation":116,"imageIndex":2},{"imageOffset":279012,"symbol":"_CFXPreferencesRegisterDefaultValues","symbolLocation":80,"imageIndex":2},{"imageOffset":166320,"symbol":"invocation function for block in initWrapperType()","symbolLocation":100,"imageIndex":3},{"imageOffset":17668,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":4},{"imageOffset":23888,"symbol":"_dispatch_once_callout","symbolLocation":32,"imageIndex":4},{"imageOffset":166184,"symbol":"invocation function for block in MTLDeviceArrayInitialize()","symbolLocation":1284,"imageIndex":3},{"imageOffset":17668,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":4},{"imageOffset":23888,"symbol":"_dispatch_once_callout","symbolLocation":32,"imageIndex":4},{"imageOffset":5548,"symbol":"MTLCopyAllDevices","symbolLocation":244,"imageIndex":3},{"imageOffset":41080,"symbol":"CIMetalCopyDefaultDevice","symbolLocation":88,"imageIndex":5},{"imageOffset":689788,"symbol":"invocation function for block in can_use_metal()","symbolLocation":40,"imageIndex":5},{"imageOffset":17668,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":4},{"imageOffset":23888,"symbol":"_dispatch_once_callout","symbolLocation":32,"imageIndex":4},{"imageOffset":62544,"symbol":"-[CIContext initWithOptions:]","symbolLocation":832,"imageIndex":5},{"imageOffset":124936,"symbol":"__38+[CUIShapeEffectStack sharedCIContext]_block_invoke","symbolLocation":56,"imageIndex":6},{"imageOffset":17668,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":4},{"imageOffset":23888,"symbol":"_dispatch_once_callout","symbolLocation":32,"imageIndex":4},{"imageOffset":124876,"symbol":"+[CUIShapeEffectStack sharedCIContext]","symbolLocation":64,"imageIndex":6},{"imageOffset":213476,"symbol":"-[CUIShapeEffectStack newFlattenedImageFromShapeCGImage:withScale:cache:]","symbolLocation":188,"imageIndex":6},{"imageOffset":189800,"symbol":"DrawThreePartImageWithOperation","symbolLocation":672,"imageIndex":6},{"imageOffset":615996,"symbol":"-[CUIThemeFacet _drawSpecificRenditionKey:inFrame:context:isFocused:focusRingColor:isFlipped:effects:]","symbolLocation":176,"imageIndex":6},{"imageOffset":616428,"symbol":"-[CUIThemeFacet drawInFrame:isFocused:focusRingColor:context:effects:]","symbolLocation":140,"imageIndex":6},{"imageOffset":648004,"symbol":"CUICoreThemeRenderer::DrawSimple(CUIRenditionKey*, CUIDescriptor const*, bool)","symbolLocation":568,"imageIndex":6},{"imageOffset":84932,"symbol":"CUIRenderer::Draw(CGRect, CGContext*, __CFDictionary const*, __CFDictionary const**)","symbolLocation":1060,"imageIndex":6},{"imageOffset":83808,"symbol":"CUIDraw","symbolLocation":224,"imageIndex":6},{"imageOffset":178440,"symbol":"_HIThemeCUIDrawWithOptions","symbolLocation":184,"imageIndex":7},{"imageOffset":762916,"symbol":"_HIThemeDrawButtonInternal(CGRect const*, HIThemeButtonDrawInfo const*, HIThemeButtonDrawInfo const*, ThemeEraseXUPP*, ThemeButtonDrawXUPP*, void*, CGContext*, unsigned int, CGRect*)","symbolLocation":3884,"imageIndex":7},{"imageOffset":759020,"symbol":"HIThemeDrawButton","symbolLocation":32,"imageIndex":7},{"imageOffset":877940,"symbol":"ComboboxElementDraw","symbolLocation":428,"imageIndex":8},{"imageOffset":645988,"symbol":"Ttk_DrawNodeList","symbolLocation":132,"imageIndex":8},{"imageOffset":620872,"symbol":"EntryDisplay","symbolLocation":564,"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":1387576,"symbol":"_NSViewDrawRect","symbolLocation":124,"imageIndex":10},{"imageOffset":8411528,"symbol":"-[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:]","symbolLocation":1088,"imageIndex":10},{"imageOffset":1385644,"symbol":"-[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:]","symbolLocation":556,"imageIndex":10},{"imageOffset":138028,"symbol":"CABackingStoreUpdate_","symbolLocation":224,"imageIndex":11},{"imageOffset":514720,"symbol":"invocation function for block in CA::Layer::display_()","symbolLocation":64,"imageIndex":11},{"imageOffset":134404,"symbol":"-[CALayer _display]","symbolLocation":1644,"imageIndex":11},{"imageOffset":130696,"symbol":"CA::Layer::display_if_needed(CA::Transaction*)","symbolLocation":788,"imageIndex":11},{"imageOffset":1589976,"symbol":"CA::Context::commit_transaction(CA::Transaction*, double, double*)","symbolLocation":456,"imageIndex":11},{"imageOffset":9220,"symbol":"CA::Transaction::commit()","symbolLocation":652,"imageIndex":11},{"imageOffset":1449304,"symbol":"__62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke","symbolLocation":272,"imageIndex":10},{"imageOffset":8649952,"symbol":"___NSRunLoopObserverCreateWithHandler_block_invoke","symbolLocation":64,"imageIndex":10},{"imageOffset":527816,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__","symbolLocation":36,"imageIndex":2},{"imageOffset":527540,"symbol":"__CFRunLoopDoObservers","symbolLocation":532,"imageIndex":2},{"imageOffset":525036,"symbol":"__CFRunLoopRun","symbolLocation":784,"imageIndex":2},{"imageOffset":522376,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":2},{"imageOffset":1089400,"symbol":"Tcl_WaitForEvent","symbolLocation":280,"imageIndex":9},{"imageOffset":790572,"symbol":"Tcl_DoOneEvent","symbolLocation":232,"imageIndex":9},{"imageOffset":10024,"symbol":"_tkinter_tkapp_mainloop_impl","symbolLocation":252,"imageIndex":12},{"imageOffset":700608,"symbol":"method_vectorcall_FASTCALL","symbolLocation":100,"imageIndex":13},{"imageOffset":1822028,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":52772,"imageIndex":13},{"imageOffset":1764524,"symbol":"PyEval_EvalCode","symbolLocation":276,"imageIndex":13},{"imageOffset":1742092,"symbol":"builtin_exec","symbolLocation":428,"imageIndex":13},{"imageOffset":1041988,"symbol":"cfunction_vectorcall_FASTCALL_KEYWORDS","symbolLocation":80,"imageIndex":13},{"imageOffset":1822028,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":52772,"imageIndex":13},{"imageOffset":1845404,"symbol":"_PyEval_Vector","symbolLocation":156,"imageIndex":13},{"imageOffset":646508,"symbol":"method_vectorcall","symbolLocation":164,"imageIndex":13},{"imageOffset":1833344,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":64088,"imageIndex":13},{"imageOffset":1764524,"symbol":"PyEval_EvalCode","symbolLocation":276,"imageIndex":13},{"imageOffset":2277740,"symbol":"PyRun_StringFlags","symbolLocation":212,"imageIndex":13},{"imageOffset":2277332,"symbol":"PyRun_SimpleStringFlags","symbolLocation":84,"imageIndex":13},{"imageOffset":2420088,"symbol":"Py_RunMain","symbolLocation":388,"imageIndex":13},{"imageOffset":2426012,"symbol":"pymain_main","symbolLocation":52,"imageIndex":13},{"imageOffset":2428116,"symbol":"Py_BytesMain","symbolLocation":40,"imageIndex":13},{"imageOffset":24144,"symbol":"start","symbolLocation":2544,"imageIndex":14}]},{"id":43055,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"id":43056,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"id":43057,"frames":[{"imageOffset":47616,"symbol":"__select","symbolLocation":8,"imageIndex":16},{"imageOffset":23940,"symbol":"select_select_impl","symbolLocation":380,"imageIndex":17},{"imageOffset":1829120,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":59864,"imageIndex":13},{"imageOffset":1845404,"symbol":"_PyEval_Vector","symbolLocation":156,"imageIndex":13},{"imageOffset":630196,"symbol":"_PyObject_FastCallDictTstate","symbolLocation":96,"imageIndex":13},{"imageOffset":1207548,"symbol":"slot_tp_init","symbolLocation":180,"imageIndex":13},{"imageOffset":1169016,"symbol":"type_call","symbolLocation":136,"imageIndex":13},{"imageOffset":629396,"symbol":"_PyObject_MakeTpCall","symbolLocation":128,"imageIndex":13},{"imageOffset":1822260,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":53004,"imageIndex":13},{"imageOffset":1845404,"symbol":"_PyEval_Vector","symbolLocation":156,"imageIndex":13},{"imageOffset":1833344,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":64088,"imageIndex":13},{"imageOffset":1845404,"symbol":"_PyEval_Vector","symbolLocation":156,"imageIndex":13},{"imageOffset":646732,"symbol":"method_vectorcall","symbolLocation":388,"imageIndex":13},{"imageOffset":2882128,"symbol":"thread_run","symbolLocation":200,"imageIndex":13},{"imageOffset":2342076,"symbol":"pythread_wrapper","symbolLocation":48,"imageIndex":13},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":15},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":15}]},{"id":43065,"frames":[{"imageOffset":47616,"symbol":"__select","symbolLocation":8,"imageIndex":16},{"imageOffset":1091412,"symbol":"NotifierThreadProc","symbolLocation":664,"imageIndex":9},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":15},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":15}]},{"id":43109,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"id":43110,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"id":43120,"name":"com.apple.NSEventThread","frames":[{"imageOffset":3440,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":16},{"imageOffset":75940,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":16},{"imageOffset":38340,"symbol":"mach_msg_overwrite","symbolLocation":540,"imageIndex":16},{"imageOffset":4332,"symbol":"mach_msg","symbolLocation":24,"imageIndex":16},{"imageOffset":531392,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":2},{"imageOffset":525484,"symbol":"__CFRunLoopRun","symbolLocation":1232,"imageIndex":2},{"imageOffset":522376,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":2},{"imageOffset":1455120,"symbol":"_NSEventThread","symbolLocation":172,"imageIndex":10},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":15},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":15}]}], "usedImages" : [ { "source" : "P", "arch" : "arm64e", "base" : 6770737152, "size" : 286112, "uuid" : "fc6d1c4f-2e83-37cc-b972-c5529f1c0e40", "path" : "\/usr\/lib\/libobjc.A.dylib", "name" : "libobjc.A.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6790656000, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.Foundation", "size" : 10719232, "uuid" : "f1f5f857-8c3c-36d5-bc27-7702d6795468", "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation", "name" : "Foundation", "CFBundleVersion" : "1953.300" }, { "source" : "P", "arch" : "arm64e", "base" : 6774747136, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.CoreFoundation", "size" : 5079040, "uuid" : "fd16d6d9-10c0-323b-b43b-9781c4a4d268", "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation", "name" : "CoreFoundation", "CFBundleVersion" : "1953.300" }, { "source" : "P", "arch" : "arm64e", "base" : 6928355328, "CFBundleShortVersionString" : "306.3.4", "CFBundleIdentifier" : "com.apple.Metal", "size" : 1957888, "uuid" : "ffe191b7-9340-302e-b8cd-3673ee4f6399", "path" : "\/System\/Library\/Frameworks\/Metal.framework\/Versions\/A\/Metal", "name" : "Metal", "CFBundleVersion" : "306.3.4" }, { "source" : "P", "arch" : "arm64e", "base" : 6772744192, "size" : 294912, "uuid" : "191028d2-0477-3ebc-9eef-a85acafc7193", "path" : "\/usr\/lib\/system\/libdispatch.dylib", "name" : "libdispatch.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6940352512, "CFBundleShortVersionString" : "17.0.0", "CFBundleIdentifier" : "com.apple.CoreImage", "size" : 3481600, "uuid" : "f4dbe272-8a09-3bd1-9bba-279f24fd4920", "path" : "\/System\/Library\/Frameworks\/CoreImage.framework\/Versions\/A\/CoreImage", "name" : "CoreImage", "CFBundleVersion" : "1310.8" }, { "source" : "P", "arch" : "arm64e", "base" : 6903468032, "CFBundleShortVersionString" : "2.1", "CFBundleIdentifier" : "com.apple.coreui", "size" : 1335296, "uuid" : "f66c6999-7753-30c5-a830-78e618596245", "path" : "\/System\/Library\/PrivateFrameworks\/CoreUI.framework\/Versions\/A\/CoreUI", "name" : "CoreUI", "CFBundleVersion" : "802" }, { "source" : "P", "arch" : "arm64e", "base" : 6933225472, "CFBundleShortVersionString" : "2.1.1", "CFBundleIdentifier" : "com.apple.HIToolbox", "size" : 3358720, "uuid" : "f1e0f4f6-dd7b-3d16-a622-5ee94a20fcaa", "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox", "name" : "HIToolbox" }, { "source" : "P", "arch" : "arm64", "base" : 4300570624, "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" : 4303519744, "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" : 6827995136, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.AppKit", "size" : 15773696, "uuid" : "dbbd4dea-6c68-3200-a81b-79b6a62f4669", "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit", "name" : "AppKit", "CFBundleVersion" : "2299.30.116" }, { "source" : "P", "arch" : "arm64e", "base" : 6899572736, "CFBundleShortVersionString" : "1.11", "CFBundleIdentifier" : "com.apple.QuartzCore", "size" : 3559424, "uuid" : "8ccb450e-ab2b-3fce-931e-70986187d2e0", "path" : "\/System\/Library\/Frameworks\/QuartzCore.framework\/Versions\/A\/QuartzCore", "name" : "QuartzCore", "CFBundleVersion" : "1042.24.1" }, { "source" : "P", "arch" : "arm64", "base" : 4296720384, "size" : 32768, "uuid" : "70dea29c-be28-3ebf-abea-a41ebf4b1e39", "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" : 4311236608, "CFBundleShortVersionString" : "3.11.1, (c) 2001-2021 Python Software Foundation.", "CFBundleIdentifier" : "org.python.python", "size" : 3981312, "uuid" : "2a4d96c7-95e3-3083-9ecc-d996f00c3e95", "path" : "\/Library\/Frameworks\/Python.framework\/Versions\/3.11\/Python", "name" : "Python", "CFBundleVersion" : "3.11.1" }, { "source" : "P", "arch" : "arm64e", "base" : 6771023872, "size" : 568164, "uuid" : "487cfdeb-9b07-39bf-bfb9-970b61aea2d1", "path" : "\/usr\/lib\/dyld", "name" : "dyld" }, { "source" : "P", "arch" : "arm64e", "base" : 6774333440, "size" : 53244, "uuid" : "132084c6-c347-3489-9ac2-fcaad21cdb73", "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib", "name" : "libsystem_pthread.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6774099968, "size" : 233460, "uuid" : "aebf397e-e2ef-3a49-be58-23d4558511f6", "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib", "name" : "libsystem_kernel.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4307828736, "size" : 32768, "uuid" : "d2b14c3d-2bcc-33fc-8f9b-19bea86f3054", "path" : "\/Library\/Frameworks\/Python.framework\/Versions\/3.11\/lib\/python3.11\/lib-dynload\/select.cpython-311-darwin.so", "name" : "select.cpython-311-darwin.so" }, { "size" : 0, "source" : "A", "base" : 0, "uuid" : "00000000-0000-0000-0000-000000000000" } ], "sharedCache" : { "base" : 6770376704, "size" : 3434283008, "uuid" : "00a1fbb6-43e1-3c11-8483-faf0db659249" }, "vmSummary" : "ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)\nWritable regions: Total=1.6G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.6G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 128K 1 \nActivity Tracing 256K 1 \nCG backing stores 2176K 4 \nCG image 64K 3 \nColorSync 544K 27 \nCoreAnimation 96K 6 \nCoreGraphics 32K 2 \nCoreUI image data 1776K 11 \nFoundation 16K 1 \nKernel Alloc Once 32K 1 \nMALLOC 334.0M 75 \nMALLOC guard page 192K 9 \nMALLOC_MEDIUM (reserved) 920.0M 8 reserved VM address space (unallocated)\nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nSTACK GUARD 128K 8 \nStack 34.8M 8 \nVM_ALLOCATE 9440K 23 \n__AUTH 669K 174 \n__AUTH_CONST 12.0M 338 \n__CTF 756 1 \n__DATA 4809K 359 \n__DATA_CONST 15.6M 375 \n__DATA_DIRTY 708K 108 \n__FONT_DATA 2352 1 \n__LINKEDIT 770.6M 38 \n__OBJC_CONST 1357K 144 \n__OBJC_RO 65.4M 1 \n__OBJC_RW 1986K 1 \n__TEXT 240.1M 391 \ndyld private memory 256K 1 \nmapped file 193.5M 29 \nshared memory 864K 15 \n=========== ======= ======= \nTOTAL 2.9G 2165 \nTOTAL, minus reserved VM space 1.7G 2165 \n", "legacyInfo" : { "threadTriggered" : { "queue" : "com.apple.main-thread" } }, "trialInfo" : { "rollouts" : [ { "rolloutId" : "60f8ddccefea4203d95cbeef", "factorPackIds" : { }, "deploymentId" : 240000021 }, { "rolloutId" : "60186475825c62000ccf5450", "factorPackIds" : { }, "deploymentId" : 240000026 } ], "experiments" : [ ] } }

This is the function that I use that is connected to the button I am clicking on that results in this crash. However with the same input statements it sometimes works.


def standard_room(self):
        self.room_type = "Standard"
        self.sr_window= Tk()
        self.sr_window.geometry("1400x850")
        self.sr_window.title("Standard room")
        self.sr_window.configure(bg = "white")
        #To zoom the page 
        self.sr_window.state("zoomed")
        self.sr_window.resizable(0,0)

        ##       room record heading 
        self.guest_heading_image = Image.open("deluxe_records.png")
        self.guest_heading_image_resize = self.guest_heading_image.resize((400,75))
        self.guest_heading_image = self.guest_heading_image_resize
        photo_guest_heading = ImageTk.PhotoImage(self.guest_heading_image)
        self.guest_label = Label(self.sr_window,image = photo_guest_heading)
        self.guest_label.image = photo_guest_heading
        self.guest_label.place(x=150, y=0,height = 75)

        #right hand side image
        shape_image1 = Image.open("shape design.png")
        photo2 = ImageTk.PhotoImage(shape_image1)
        label2= Label(self.sr_window,image = photo2)
        label2.image = photo2
        label2.place(x=950, y=0,height = 1000)

        #frame
        self.sr_room_frame = Frame(self.sr_window, bg="white", width = 800, height= 400)
        self.sr_room_frame.place(x=100, y=140)

        #frame2
        self.sr_room_frame2 = Frame(self.sr_window, bg="#e2f0d9", width = 800, height= 200)
        self.sr_room_frame2.place(x=100, y=540)

        ##      User icon

        self.guest_icon = Image.open("rooms_icon.png")
        self.guest_icon_resize = self.guest_icon.resize((125,125))
        self.guest_icon = self.guest_icon_resize
        self.guest_icon_photo = ImageTk.PhotoImage(self.guest_icon)
        self.gi_label = Label(self.sr_room_frame,image =self.guest_icon_photo ,bg = "#a8d18e")
        self.gi_label.image = self.guest_icon_photo
        self.gi_label.place(x=600,y=150)
##      back button

        self.back_icon = Image.open("back icon.png")
        self.back_icon_resize = self.back_icon.resize((225,80))
        self.back_icon = self.back_icon_resize
        self.back_photo = ImageTk.PhotoImage(self.back_icon)
        self.back_label = Label(self.sr_window,image =self.back_photo ,bg = "#e2f0d9")
        self.back_label.image = self.back_photo
        self.back_button = Button(self.sr_window,image = self.back_photo,command=lambda: go_to_main_menu(self.sr_window),cursor = "hand2",bg = "white",borderwidth = 0)
        self.back_button.place(x=1082,y=640,width = 200, height = 62)

        #date entry fields check

        date_day = Label(self.sr_room_frame, text="Check in date",font = ("Avenir Next",18), bg="white")
        date_day.place(x=40,y=0)

        today = date.today()
        dates = [today + timedelta(days=x) for x in range(30)]
        date_strings = [d.strftime("%Y-%m-%d") for d in dates]

        self.date_combo = ttk.Combobox(self.sr_room_frame, values=date_strings, state="readonly")
        self.date_combo.current(0)
        self.date_combo.place(x=170,y=5)

        #date entry fields check out

        date_day2 = Label(self.sr_room_frame, text="Check out date",font = ("Avenir Next",18), bg="white")
        date_day2.place(x=380,y=0)

        def update_checkout_dates(*args):
            selected_checkin = datetime.strptime(self.date_combo.get(), "%Y-%m-%d")
            dates2 = [selected_checkin + timedelta(days=x) for x in range(10)]
            date_strings2 = [d.strftime("%Y-%m-%d") for d in dates2]
            self.date_combo2["values"] = date_strings2
            self.date_combo2.current(0)

        self.date_combo.bind("<<ComboboxSelected>>", update_checkout_dates)

        self.date_combo2 = ttk.Combobox(self.sr_room_frame, values=[], state="readonly")
        self.date_combo2.place(x=520,y=5)
        update_checkout_dates()

        #name labels 
        self.username = Label(self.sr_room_frame, text = "Firstname", font = ("Avenir Next",21), bg="white")
        self.username.place(x=40,y=120)
        self.username_entry = Entry(self.sr_room_frame,width = 30,bg = "#e2f0d9",highlightthickness = 0,font = ("Avenir Next",18),relief=FLAT)
        self.username_entry.place(x=150,y=125,height = 30)
        #surname labels
        self.password = Label(self.sr_room_frame, text = "Surname", font = ("Avenir Next",21), bg="white")
        self.password.place(x=40,y=185)
        self.password_entry = Entry(self.sr_room_frame,width = 30,font = ("Avenir Next",18),bg = "#e2f0d9",highlightthickness = 0,relief=FLAT)
        self.password_entry.place(x=150,y=190,height = 30)
        #Email labels
        self.email = Label(self.sr_room_frame, text = "Email", font = ("Avenir Next",21), bg="white")
        self.email.place(x=40,y=260)
        self.email_entry = Entry(self.sr_room_frame,width = 30,font = ("Avenir Next",18),bg = "#e2f0d9",highlightthickness = 0,relief=FLAT)
        self.email_entry.place(x=150,y=265,height = 30)
        #room_number labels
        self.room_number = Label(self.sr_room_frame, text = "Room No.", font = ("Avenir Next",21), bg="white")
        self.room_number.place(x=40,y=330)
        self.room_number_entry = Entry(self.sr_room_frame,width = 30,font = ("Avenir Next",18),bg = "#e2f0d9",highlightthickness = 0,relief=FLAT)
        self.room_number_entry.place(x=150,y=335,height = 30)

        #label for cost

        cost_label = Label(self.sr_room_frame,text = "Price Per Night: £50", font = ("Avenir Next",21), bg="white")
        cost_label.place(x=570,y=300)

        guest_label = Label(self.sr_room_frame,text = "Two adults", font = ("Avenir Next",21), bg="white")
        guest_label.place(x=570,y=350)

        #label for booking

        # Create two labels to display the selected dates
        self.check_in_label = Label(self.sr_room_frame2, text="", font=("Avenir Next", 18), bg="#e2f0d9")
        self.check_in_label.place(x=40, y=70)
        self.check_out_label = Label(self.sr_room_frame2, text="", font=("Avenir Next", 18), bg="#e2f0d9")
        self.check_out_label.place(x=380, y=70)

        confirm_booking_button = Button(self.sr_room_frame2,text = "Book",bg = "white",command = self.booking_standard)
        confirm_booking_button.place(x=630,y=70,width=100)

        confirm_booking_button2 = Button(self.sr_room_frame,bg = "white",command = self.update_dates)
        confirm_booking_button2.place(x=750,y=3,width=30)

##    def add_booking(self):

        # Update the text of the labels when a date is selected
    def update_dates(self,*args):
        check_in_date = self.date_combo.get()
        check_out_date = self.date_combo2.get()
        self.check_in_label.config(text=f"Check-in date: {check_in_date}")
        self.check_out_label.config(text=f"Check-out date: {check_out_date}")
##
##        date_combo.bind("<<ComboboxSelected>>", update_dates)
##        date_combo2.bind("<<ComboboxSelected>>", update_dates)

##    def book(self):
##    def add_room(self):

    def add_room_database(self):

        connection = sqlite3.connect("Guestrecord.db")
        cursor = connection.cursor()

        #Creating tables in Database - Only creates the 
        #table if they do not exist already

        #sets up the fields needed for the employee table
        sqlCommand = """
        CREATE TABLE IF NOT EXISTS tb1room1
           (
           roomID INTEGER NOT NULL,
           roomType TEXT,
           roomPrice FLOAT,
           roomNoGuest INTEGER,
           primary key (roomID)
           )
        """
        #executes the command to create the table
        cursor.execute(sqlCommand)

        #saves all changes made to database and closes the connection to the database
        connection.commit()
        connection.close()

        connection = sqlite3.connect("Guestrecord.db")
        cursor = connection.cursor()

        #setting up variables to hold the data entered
        rType = self.variable.get()
        rPrice = self.price_room_entry.get()
        rNoGuests = self.people_entry.get()

        #creating a record of all the fields entered
        RoomRec = [rType,rPrice,rNoGuests]

        cursor.execute("INSERT INTO tb1room1 VALUES(Null,?,?,?)",RoomRec)

        connection.commit()
        connection.close()

And this is the button:


        standard_room_button = Button(self.room_frame,image = standard_room_heading,cursor = "hand2",bg = "white",borderwidth = 0,command = lambda:[self.rf_window.destroy(),self.standard_room()])
ned-deily commented 1 year ago

Thanks for including the crash dump details. However, we would need to have a reproducible test case to be able to investigate further. Can you attach a minimal version of your code and details of how to reproduce?

Pmaguire205 commented 1 year ago

Thanks for including the crash dump details. However, we would need to have a reproducible test case to be able to investigate further. Can you attach a minimal version of your code and details of how to reproduce?

I have included the function and the button connected to the function which I click on which results in the crash sometimes.

ronaldoussoren commented 1 year ago

I've taken the library to slightly tweak the original message:

1) The crash dump is now in a details section 2) The example source code is marked up as such

This makes the text slightly easier to navigate.

Looking at the crash report this appears to be an issue triggered by Tk itself. That said, the example code is incomplete which makes it hard to reproduce the issue.

chrstphrchvz commented 1 year ago

I have not reproduced this crash, but given KVO_IS_RETAINING_ALL_OBSERVERS_OF_THIS_OBJECT_IF_IT_CRASHES_AN_OBSERVER_WAS_OVERRELEASED_OR_SMASHED in the stack trace, this may be yet another issue resolved (edit: prevented, but not resolved) in Tcl/Tk 8.6.13 by https://core.tcl-lang.org/tk/info/d638e7ca3616

ronaldoussoren commented 10 months ago

@Pmaguire205 : Is this something you can easily test using our Python 3.12 installer (which includes Tcl/Tk 8.6.13)?

chrstphrchvz commented 10 months ago

This crash has the same cause as #92603. It 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 commented 10 months ago

Thanks for the update. Closing this issue as it is fixed in the next release.