Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[mac intel 16' Monterey][Python 3.10.4][tkinter 8.6] Calling tkinter askOpenfilename crashes when repeatedly creating a window #92603

Closed
chetan-set opened this issue May 10, 2022 · 9 comments
Labels
OS-mac topic-tkinter type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@chetan-set
Copy link

chetan-set commented May 10, 2022

Crash report

This seems to be an intel mac issue only.

I have a python program that allows users to repeatedly press a key that will create a tkinter window where they can open an image an manipulate it.

The problem is, by the 3rd time, the program always crashes.

I can't figure out why..

I have simplified the code below:

import tkinter as tk
from tkinter import filedialog

class Application(tk.Frame):
    def __init__(self, root=None):

        super().__init__(root) 
        self.root = root
        filename = filedialog.askopenfilename(title='open')


def run(title):
    root = tk.Tk()
    root.title(title)
    root.geometry(str(100) + "x" + str(100))
    app = Application(root=root)

    app.mainloop()


def main():
    run("1")
    run("2")
    run("3")
    run("4")
    run("5")
    run("6")

if __name__ == '__main__':
    main()

Error messages

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Python [11454]
Path:                  /Library/Frameworks/Python.framework/Versions/3.10/Resources/Python.app/Contents/MacOS/Python
Identifier:            org.python.python
Version:               3.10.4 (3.10.4)
Code Type:             X86-64 (Native)
Parent Process:        zsh [11448]
Responsible:           Terminal [11446]
User ID:               503

Date/Time:             2022-05-10 12:50:02.1244 +0800
OS Version:            macOS 12.3.1 (21E258)
Report Version:        12
Bridge OS Version:     6.4 (19P4243)
Anonymous UUID:        53FD5B78-B1FE-89B8-5F60-4A8C78CC8D58

Sleep/Wake UUID:       94152489-4D5E-4330-9634-214D5A2EAC5E

Time Awake Since Boot: 52000 seconds
Time Since Wake:       9285 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x000000000000001c
Exception Codes:       0x0000000000000001, 0x000000000000001c
Exception Note:        EXC_CORPSE_NOTIFY

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

VM Region Info: 0x1c is not in any region.  Bytes before following region: 4408430564
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      106c35000-106c39000    [   16K] r-x/r-x SM=COW  .../MacOS/Python

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib               	    0x7ff81ddfc536 object_isClass + 24
1   Foundation                    	    0x7ff81ee41e9a KVO_IS_RETAINING_ALL_OBSERVERS_OF_THIS_OBJECT_IF_IT_CRASHES_AN_OBSERVER_WAS_OVERRELEASED_OR_SMASHED + 50
2   Foundation                    	    0x7ff81ee41c24 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] + 316
3   Foundation                    	    0x7ff81ee50b88 -[NSObject(NSKeyValueObservingPrivate) _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:] + 980
4   CoreFoundation                	    0x7ff81dfee801 -[CFPrefsSource forEachObserver:] + 280
5   CoreFoundation                	    0x7ff81e02a3f3 -[CFPrefsSource _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:] + 83
6   CoreFoundation                	    0x7ff81e02a29c ___CFPrefsDeliverPendingKVONotificationsGuts_block_invoke + 374
7   CoreFoundation                	    0x7ff81e02a11e __CFDictionaryApplyFunction_block_invoke + 22
8   CoreFoundation                	    0x7ff81dff2ee3 CFBasicHashApply + 115
9   CoreFoundation                	    0x7ff81dfe5c0b CFDictionaryApplyFunction + 131
10  CoreFoundation                	    0x7ff81e02a093 _CFPrefsDeliverPendingKVONotificationsGuts + 262
11  CoreFoundation                	    0x7ff81dfd69a6 -[_CFXPreferences _deliverPendingKVONotifications] + 90
12  CoreFoundation                	    0x7ff81dfd721d __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 402
13  CoreFoundation                	    0x7ff81e131f4b -[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 374
14  CoreFoundation                	    0x7ff81e02e561 -[_CFXPreferences setValue:forKey:appIdentifier:container:configurationURL:] + 96
15  CoreFoundation                	    0x7ff81e02e4c8 _CFPreferencesSetAppValueWithContainerAndConfiguration + 113
16  Foundation                    	    0x7ff81ee8c920 -[NSUserDefaults(NSUserDefaults) setObject:forKey:] + 73
17  AppKit                        	    0x7ff820a9fc63 -[NSWindow _persistFrame] + 106
18  AppKit                        	    0x7ff820a9f9f4 -[NSWindow _reallySetFrame:] + 683
19  AppKit                        	    0x7ff820a9f315 -[NSWindow _oldPlaceWindow:fromServer:] + 213
20  AppKit                        	    0x7ff820a9d97e -[NSWindow _setFrameCommon:display:fromServer:] + 1278
21  ViewBridge                    	    0x7ff8255c0169 -[NSRemoteView _serviceRequestsResizeInProgress:] + 1507
22  ViewBridge                    	    0x7ff8255eeb01 withImplicitAnimation + 101
23  ViewBridge                    	    0x7ff8255c0431 -[NSRemoteView _serviceRequestsResize:completion:] + 147
24  ViewBridge                    	    0x7ff8255c1183 -[NSRemoteView _serviceRequestsFrame:serviceWindowBackgroundColor:safeFrame:animate:transaction:completion:] + 904
25  ViewBridge                    	    0x7ff8255bb421 -[NSRemoteView _finishAdvanceToConfigPhaseWithContextID:andOffset:] + 1017
26  ViewBridge                    	    0x7ff8255cdce2 __38-[NSRemoteView _advanceToConfigPhase:]_block_invoke_2.2566 + 167
27  CoreFoundation                	    0x7ff81e00c2bc __invoking___ + 140
28  CoreFoundation                	    0x7ff81e00c163 -[NSInvocation invoke] + 305
29  ViewBridge                    	    0x7ff825567e98 __deferNSXPCInvocationOntoMainThread_block_invoke + 124
30  ViewBridge                    	    0x7ff82555b2c4 __wrapBlockWithVoucher_block_invoke + 37
31  ViewBridge                    	    0x7ff82555af4f __deferBlockOntoMainThread_block_invoke_2 + 274
32  CoreFoundation                	    0x7ff81e028681 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
33  CoreFoundation                	    0x7ff81e02852c __CFRunLoopDoBlocks + 445
34  CoreFoundation                	    0x7ff81e02789d __CFRunLoopRun + 2609
35  CoreFoundation                	    0x7ff81e0267ac CFRunLoopRunSpecific + 562
36  ViewBridge                    	    0x7ff82555a434 __invokeRunLoopInModeForDuration_block_invoke_2 + 25
37  ViewBridge                    	    0x7ff82555a2fa invokeRunLoopInModeForDuration + 179
38  ViewBridge                    	    0x7ff82555a23c __29-[NSCFRunLoopSemaphore wait:]_block_invoke_3 + 82
39  ViewBridge                    	    0x7ff82555a1e8 __CONSIDER_WHO_REQUESTED_THIS_WAIT_BEFORE_SENDING_BUG_TO_VIEWBRIDGE__ + 7
40  ViewBridge                    	    0x7ff82555a1b3 __29-[NSCFRunLoopSemaphore wait:]_block_invoke_2 + 124
41  ViewBridge                    	    0x7ff82555a0a9 __29-[NSCFRunLoopSemaphore wait:]_block_invoke + 163
42  ViewBridge                    	    0x7ff825559ce8 +[NSCFRunLoopSemaphore _observe:whilePerforming:] + 259
43  ViewBridge                    	    0x7ff8255598ae -[NSCFRunLoopSemaphore wait:] + 178
44  AppKit                        	    0x7ff8214548c5 -[NSSavePanel _initBridgeAndStuff] + 379
45  AppKit                        	    0x7ff82145553b -[NSSavePanel initWithContentRect:styleMask:backing:defer:] + 140
46  AppKit                        	    0x7ff82145f16f -[NSOpenPanel initWithContentRect:styleMask:backing:defer:] + 150
47  AppKit                        	    0x7ff820d467e8 -[NSPanel init] + 69
48  AppKit                        	    0x7ff82145548c -[NSSavePanel init] + 197
49  AppKit                        	    0x7ff82111dab2 +[NSSavePanel(Instantiation) _crunchyRawUnbonedPanel] + 58
50  libtk8.6.dylib                	       0x1071932bf Tk_GetOpenFileObjCmd + 63
51  libtcl8.6.dylib               	       0x1073bec71 TclNRRunCallbacks + 79
52  _tkinter.cpython-310-darwin.so	       0x1070c16c5 Tkapp_Call + 389
53  Python                        	       0x107779bea cfunction_call + 90
54  Python                        	       0x107713acd _PyObject_Call + 109
55  Python                        	       0x10784d5b7 _PyEval_EvalFrameDefault + 35431
56  Python                        	       0x1078431df _PyEval_Vector + 383
57  Python                        	       0x10785401f call_function + 175
58  Python                        	       0x10784d22a _PyEval_EvalFrameDefault + 34522
59  Python                        	       0x1078431df _PyEval_Vector + 383
60  Python                        	       0x10785401f call_function + 175
61  Python                        	       0x10784d3ae _PyEval_EvalFrameDefault + 34910
62  Python                        	       0x1078431df _PyEval_Vector + 383
63  Python                        	       0x107713076 _PyObject_FastCallDictTstate + 214
64  Python                        	       0x1077a7dd9 slot_tp_init + 201
65  Python                        	       0x10779e662 type_call + 322
66  Python                        	       0x107712d74 _PyObject_MakeTpCall + 132
67  Python                        	       0x1078540dd call_function + 365
68  Python                        	       0x10784d3ae _PyEval_EvalFrameDefault + 34910
69  Python                        	       0x1078431df _PyEval_Vector + 383
70  Python                        	       0x10785401f call_function + 175
71  Python                        	       0x10784d2fe _PyEval_EvalFrameDefault + 34734
72  Python                        	       0x1078431df _PyEval_Vector + 383
73  Python                        	       0x10785401f call_function + 175
74  Python                        	       0x10784d2fe _PyEval_EvalFrameDefault + 34734
75  Python                        	       0x1078431df _PyEval_Vector + 383
76  Python                        	       0x1078b836d pyrun_file + 333
77  Python                        	       0x1078b7b2d _PyRun_SimpleFileObject + 365
78  Python                        	       0x1078b717f _PyRun_AnyFileObject + 143
79  Python                        	       0x1078e3047 pymain_run_file_obj + 199
80  Python                        	       0x1078e2815 pymain_run_file + 85
81  Python                        	       0x1078e1f9e pymain_run_python + 334
82  Python                        	       0x1078e1e07 Py_RunMain + 23
83  Python                        	       0x1078e31e2 pymain_main + 50
84  Python                        	       0x1078e348a Py_BytesMain + 42
85  dyld                          	       0x107ed351e start + 462

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

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

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

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

Thread 5:
0   libsystem_pthread.dylib       	    0x7ff81df5df48 start_wqthread + 0

Thread 6:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	    0x7ff81df2597a mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7ff81df25ce8 mach_msg + 56
2   CoreFoundation                	    0x7ff81e028cdd __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7ff81e027368 __CFRunLoopRun + 1276
4   CoreFoundation                	    0x7ff81e0267ac CFRunLoopRunSpecific + 562
5   AppKit                        	    0x7ff820bbaf5e _NSEventThread + 132
6   libsystem_pthread.dylib       	    0x7ff81df624e1 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff81df5df6b thread_start + 15

Thread 7:
0   libsystem_kernel.dylib        	    0x7ff81df2dd5a __select + 10
1   libtcl8.6.dylib               	       0x1074af8b8 NotifierThreadProc + 880
2   libsystem_pthread.dylib       	    0x7ff81df624e1 _pthread_start + 125
3   libsystem_pthread.dylib       	    0x7ff81df5df6b thread_start + 15

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

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

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

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


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x0000000000000001  rdx: 0x0000000000000000
  rdi: 0x00007fddf270e6b0  rsi: 0x00007ff7b92c5fd0  rbp: 0x00007ff7b92c5fc0  rsp: 0x00007ff7b92c5f88
   r8: 0x0000000000000330   r9: 0x0000000000000030  r10: 0x00000000000007fb  r11: 0x0000000000000154
  r12: 0x00007fddf270e6b0  r13: 0x00007ff81ddf5270  r14: 0x0000000000000001  r15: 0x00007ff7b92c5fd0
  rip: 0x00007ff81ddfc536  rfl: 0x0000000000010246  cr2: 0x000000000000001c
  
Logical CPU:     0
Error Code:      0x00000004 (no mapping for user data read)
Trap Number:     14

Thread 0 instruction stream:
  48 89 d8 48 f7 d8 48 8d-75 a8 48 89 06 e8 f6 be  H..H..H.u.H.....
  ff ff 80 08 01 49 89 1e-4c 89 ef 4c 89 fe e8 e1  .....I..L..L....
  ef ff ff 48 89 df e8 e4-8c 01 00 48 89 d8 48 83  ...H.......H..H.
  c4 38 5b 41 5c 41 5d 41-5e 41 5f 5d c3 90 90 90  .8[A\A]A^A_]....
  90 90 31 c0 c3 90 90 90-48 85 ff 74 1a 40 f6 c7  ..1.....H..t.@..
  01 75 14 48 b8 f8 ff ff-ff ff 7f 00 00 48 23 07  .u.H.........H#.
 [8a]40 1c 24 01 eb 02 31-c0 0f b6 c0 c3 90 90 90  .@.$...1........	<==
  90 90 90 90 90 90 90 90-90 90 90 90 55 48 89 e5  ............UH..
  53 50 48 89 d3 48 8b 35-ee 0b 96 41 ff 15 28 eb  SPH..H.5...A..(.
  e5 3f 31 c9 48 39 d8 0f-94 c1 89 c8 48 83 c4 08  .?1.H9......H...
  5b 5d c3 90 90 90 90 90-90 90 90 90 90 90 90 90  []..............
  90 90 55 48 89 e5 e8 df-8c ff ff 48 89 c7 5d e9  ..UH.......H..].

Binary Images:
    0x7ff81ddeb000 -     0x7ff81de28fff libobjc.A.dylib (*) <6d51b7b2-136e-336d-95ca-442af1009ec2> /usr/lib/libobjc.A.dylib
    0x7ff81ee1b000 -     0x7ff81f1d6fff com.apple.Foundation (6.9) <3370467f-ef48-301d-97d1-cdc236b7053a> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7ff81dfa9000 -     0x7ff81e4aafff com.apple.CoreFoundation (6.9) <743f0cb7-e962-3e42-8653-7bd141129561> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7ff820a0f000 -     0x7ff82189cfff com.apple.AppKit (6.9) <92a78ebd-bba5-3f18-a5e1-768c955539d7> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7ff825555000 -     0x7ff825648fff com.apple.ViewBridge (640.1) <32573ec1-d5dc-326f-8bfd-3d2683c78ee4> /System/Library/PrivateFrameworks/ViewBridge.framework/Versions/A/ViewBridge
       0x1070dc000 -        0x1071e3fff libtk8.6.dylib (*) <32c3f790-c241-3483-ad54-fd3467d44802> /Library/Frameworks/Python.framework/Versions/3.10/lib/libtk8.6.dylib
       0x1073ac000 -        0x1074cffff libtcl8.6.dylib (*) <486d78ca-5d7d-3146-a58e-1b7a54cb8c35> /Library/Frameworks/Python.framework/Versions/3.10/lib/libtcl8.6.dylib
       0x1070c0000 -        0x1070c7fff _tkinter.cpython-310-darwin.so (*) <0437408d-57e2-3d2d-a882-f2808c39d5d4> /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/lib-dynload/_tkinter.cpython-310-darwin.so
       0x10768d000 -        0x107a04fff org.python.python (3.10.4, (c) 2001-2021 Python Software Foundation.) <d3b58296-52a0-3d4f-8d84-11ccf2a5195b> /Library/Frameworks/Python.framework/Versions/3.10/Python
       0x107ece000 -        0x107f39fff dyld (*) <dd9e80de-fb3b-349b-96a4-46874ad34d11> /usr/lib/dyld
    0x7ff81df5c000 -     0x7ff81df67fff libsystem_pthread.dylib (*) <2f6c275d-7e14-3d31-a924-e1bb41d2415f> /usr/lib/system/libsystem_pthread.dylib
    0x7ff81df24000 -     0x7ff81df5bfff libsystem_kernel.dylib (*) <26a59789-b846-3ed4-96dc-8dbef3c0c8e7> /usr/lib/system/libsystem_kernel.dylib
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=859.3M resident=0K(0%) swapped_out_or_unallocated=859.3M(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                 2688K        4 
CG image                           200K        8 
ColorSync                          224K       25 
CoreAnimation                      420K       11 
CoreGraphics                        12K        2 
CoreUI image data                 1468K       10 
Foundation                          16K        1 
Kernel Alloc Once                    8K        1 
MALLOC                           302.4M       64 
MALLOC guard page                   48K        9 
MALLOC_MEDIUM (reserved)         960.0M        8         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                       3124K       16 
__DATA                            17.6M      287 
__DATA_CONST                      11.8M      167 
__DATA_DIRTY                       534K       97 
__FONT_DATA                          4K        1 
__LINKEDIT                       652.8M       13 
__OBJC_RO                         82.6M        1 
__OBJC_RW                         3200K        2 
__TEXT                           206.6M      307 
__UNICODE                          592K        1 
dyld private memory               1024K        1 
mapped file                      157.6M       23 
shared memory                      780K       18 
===========                     =======  ======= 
TOTAL                              2.7G     1104 
TOTAL, minus reserved VM space     1.4G     1104 



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

{"app_name":"Python","timestamp":"2022-05-10 12:50:02.00 +0800","app_version":"3.10.4","slice_uuid":"dcc85be8-9bee-3e98-9ee3-5544fb3560e8","build_version":"3.10.4","platform":1,"bundleID":"org.python.python","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.3.1 (21E258)","incident_id":"F4377E27-C7BD-4F2B-A00A-E41742482114","name":"Python"}
{
  "uptime" : 52000,
  "procLaunch" : "2022-05-10 12:49:50.6259 +0800",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 503,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro16,1",
  "procStartAbsTime" : 52911206328210,
  "coalitionID" : 1155,
  "osVersion" : {
    "train" : "macOS 12.3.1",
    "build" : "21E258",
    "releaseType" : "User"
  },
  "captureTime" : "2022-05-10 12:50:02.1244 +0800",
  "incident" : "F4377E27-C7BD-4F2B-A00A-E41742482114",
  "bug_type" : "309",
  "pid" : 11454,
  "procExitAbsTime" : 52922704424931,
  "cpuType" : "X86-64",
  "procName" : "Python",
  "procPath" : "\/Library\/Frameworks\/Python.framework\/Versions\/3.10\/Resources\/Python.app\/Contents\/MacOS\/Python",
  "bundleInfo" : {"CFBundleShortVersionString":"3.10.4","CFBundleVersion":"3.10.4","CFBundleIdentifier":"org.python.python"},
  "storeInfo" : {"deviceIdentifierForVendor":"6E763147-F7E3-52F1-93A1-6EF69C4AEF7D","thirdParty":true},
  "parentProc" : "zsh",
  "parentPid" : 11448,
  "coalitionName" : "com.apple.Terminal",
  "crashReporterKey" : "53FD5B78-B1FE-89B8-5F60-4A8C78CC8D58",
  "responsiblePid" : 11446,
  "responsibleProc" : "Terminal",
  "wakeTime" : 9285,
  "bridgeVersion" : {"build":"19P4243","train":"6.4"},
  "sleepWakeUUID" : "94152489-4D5E-4330-9634-214D5A2EAC5E",
  "sip" : "enabled",
  "vmRegionInfo" : "0x1c is not in any region.  Bytes before following region: 4408430564\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      106c35000-106c39000    [   16K] r-x\/r-x SM=COW  ...\/MacOS\/Python",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000001, 0x000000000000001c","rawCodes":[1,28],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x000000000000001c"},
  "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":11454},
  "vmregioninfo" : "0x1c is not in any region.  Bytes before following region: 4408430564\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      106c35000-106c39000    [   16K] r-x\/r-x SM=COW  ...\/MacOS\/Python",
  "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":3379549,"instructionState":{"instructionStream":{"bytes":[72,137,216,72,247,216,72,141,117,168,72,137,6,232,246,190,255,255,128,8,1,73,137,30,76,137,239,76,137,254,232,225,239,255,255,72,137,223,232,228,140,1,0,72,137,216,72,131,196,56,91,65,92,65,93,65,94,65,95,93,195,144,144,144,144,144,49,192,195,144,144,144,72,133,255,116,26,64,246,199,1,117,20,72,184,248,255,255,255,255,127,0,0,72,35,7,138,64,28,36,1,235,2,49,192,15,182,192,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144,144,85,72,137,229,83,80,72,137,211,72,139,53,238,11,150,65,255,21,40,235,229,63,49,201,72,57,216,15,148,193,137,200,72,131,196,8,91,93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144,144,85,72,137,229,232,223,140,255,255,72,137,199,93,233],"offset":96}},"threadState":{"r13":{"value":140703629791856,"symbolLocation":0,"symbol":"objc_retain"},"rax":{"value":0},"rflags":{"value":66118},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":140701940342736},"r8":{"value":816},"cr2":{"value":28},"rdx":{"value":0},"r10":{"value":2043},"r9":{"value":48},"r15":{"value":140701940342736},"rbx":{"value":0},"trap":{"value":14,"description":"(no mapping for user data read)"},"err":{"value":4},"r11":{"value":340},"rip":{"value":140703629821238,"matchesCrashFrame":1},"rbp":{"value":140701940342720},"rsp":{"value":140701940342664},"r12":{"value":140591231985328},"rcx":{"value":1},"flavor":"x86_THREAD_STATE","rdi":{"value":140591231985328}},"queue":"com.apple.main-thread","frames":[{"imageOffset":70966,"symbol":"object_isClass","symbolLocation":24,"imageIndex":0},{"imageOffset":159386,"symbol":"KVO_IS_RETAINING_ALL_OBSERVERS_OF_THIS_OBJECT_IF_IT_CRASHES_AN_OBSERVER_WAS_OVERRELEASED_OR_SMASHED","symbolLocation":50,"imageIndex":1},{"imageOffset":158756,"symbol":"-[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:]","symbolLocation":316,"imageIndex":1},{"imageOffset":220040,"symbol":"-[NSObject(NSKeyValueObservingPrivate) _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:]","symbolLocation":980,"imageIndex":1},{"imageOffset":284673,"symbol":"-[CFPrefsSource forEachObserver:]","symbolLocation":280,"imageIndex":2},{"imageOffset":529395,"symbol":"-[CFPrefsSource _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:]","symbolLocation":83,"imageIndex":2},{"imageOffset":529052,"symbol":"___CFPrefsDeliverPendingKVONotificationsGuts_block_invoke","symbolLocation":374,"imageIndex":2},{"imageOffset":528670,"symbol":"__CFDictionaryApplyFunction_block_invoke","symbolLocation":22,"imageIndex":2},{"imageOffset":302819,"symbol":"CFBasicHashApply","symbolLocation":115,"imageIndex":2},{"imageOffset":248843,"symbol":"CFDictionaryApplyFunction","symbolLocation":131,"imageIndex":2},{"imageOffset":528531,"symbol":"_CFPrefsDeliverPendingKVONotificationsGuts","symbolLocation":262,"imageIndex":2},{"imageOffset":186790,"symbol":"-[_CFXPreferences _deliverPendingKVONotifications]","symbolLocation":90,"imageIndex":2},{"imageOffset":188957,"symbol":"__108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke","symbolLocation":402,"imageIndex":2},{"imageOffset":1609547,"symbol":"-[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:]","symbolLocation":374,"imageIndex":2},{"imageOffset":546145,"symbol":"-[_CFXPreferences setValue:forKey:appIdentifier:container:configurationURL:]","symbolLocation":96,"imageIndex":2},{"imageOffset":545992,"symbol":"_CFPreferencesSetAppValueWithContainerAndConfiguration","symbolLocation":113,"imageIndex":2},{"imageOffset":465184,"symbol":"-[NSUserDefaults(NSUserDefaults) setObject:forKey:]","symbolLocation":73,"imageIndex":1},{"imageOffset":592995,"symbol":"-[NSWindow _persistFrame]","symbolLocation":106,"imageIndex":3},{"imageOffset":592372,"symbol":"-[NSWindow _reallySetFrame:]","symbolLocation":683,"imageIndex":3},{"imageOffset":590613,"symbol":"-[NSWindow _oldPlaceWindow:fromServer:]","symbolLocation":213,"imageIndex":3},{"imageOffset":584062,"symbol":"-[NSWindow _setFrameCommon:display:fromServer:]","symbolLocation":1278,"imageIndex":3},{"imageOffset":438633,"symbol":"-[NSRemoteView _serviceRequestsResizeInProgress:]","symbolLocation":1507,"imageIndex":4},{"imageOffset":629505,"symbol":"withImplicitAnimation","symbolLocation":101,"imageIndex":4},{"imageOffset":439345,"symbol":"-[NSRemoteView _serviceRequestsResize:completion:]","symbolLocation":147,"imageIndex":4},{"imageOffset":442755,"symbol":"-[NSRemoteView _serviceRequestsFrame:serviceWindowBackgroundColor:safeFrame:animate:transaction:completion:]","symbolLocation":904,"imageIndex":4},{"imageOffset":418849,"symbol":"-[NSRemoteView _finishAdvanceToConfigPhaseWithContextID:andOffset:]","symbolLocation":1017,"imageIndex":4},{"imageOffset":494818,"symbol":"__38-[NSRemoteView _advanceToConfigPhase:]_block_invoke_2.2566","symbolLocation":167,"imageIndex":4},{"imageOffset":406204,"symbol":"__invoking___","symbolLocation":140,"imageIndex":2},{"imageOffset":405859,"symbol":"-[NSInvocation invoke]","symbolLocation":305,"imageIndex":2},{"imageOffset":77464,"symbol":"__deferNSXPCInvocationOntoMainThread_block_invoke","symbolLocation":124,"imageIndex":4},{"imageOffset":25284,"symbol":"__wrapBlockWithVoucher_block_invoke","symbolLocation":37,"imageIndex":4},{"imageOffset":24399,"symbol":"__deferBlockOntoMainThread_block_invoke_2","symbolLocation":274,"imageIndex":4},{"imageOffset":521857,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__","symbolLocation":12,"imageIndex":2},{"imageOffset":521516,"symbol":"__CFRunLoopDoBlocks","symbolLocation":445,"imageIndex":2},{"imageOffset":518301,"symbol":"__CFRunLoopRun","symbolLocation":2609,"imageIndex":2},{"imageOffset":513964,"symbol":"CFRunLoopRunSpecific","symbolLocation":562,"imageIndex":2},{"imageOffset":21556,"symbol":"__invokeRunLoopInModeForDuration_block_invoke_2","symbolLocation":25,"imageIndex":4},{"imageOffset":21242,"symbol":"invokeRunLoopInModeForDuration","symbolLocation":179,"imageIndex":4},{"imageOffset":21052,"symbol":"__29-[NSCFRunLoopSemaphore wait:]_block_invoke_3","symbolLocation":82,"imageIndex":4},{"imageOffset":20968,"symbol":"__CONSIDER_WHO_REQUESTED_THIS_WAIT_BEFORE_SENDING_BUG_TO_VIEWBRIDGE__","symbolLocation":7,"imageIndex":4},{"imageOffset":20915,"symbol":"__29-[NSCFRunLoopSemaphore wait:]_block_invoke_2","symbolLocation":124,"imageIndex":4},{"imageOffset":20649,"symbol":"__29-[NSCFRunLoopSemaphore wait:]_block_invoke","symbolLocation":163,"imageIndex":4},{"imageOffset":19688,"symbol":"+[NSCFRunLoopSemaphore _observe:whilePerforming:]","symbolLocation":259,"imageIndex":4},{"imageOffset":18606,"symbol":"-[NSCFRunLoopSemaphore wait:]","symbolLocation":178,"imageIndex":4},{"imageOffset":10770629,"symbol":"-[NSSavePanel _initBridgeAndStuff]","symbolLocation":379,"imageIndex":3},{"imageOffset":10773819,"symbol":"-[NSSavePanel initWithContentRect:styleMask:backing:defer:]","symbolLocation":140,"imageIndex":3},{"imageOffset":10813807,"symbol":"-[NSOpenPanel initWithContentRect:styleMask:backing:defer:]","symbolLocation":150,"imageIndex":3},{"imageOffset":3373032,"symbol":"-[NSPanel init]","symbolLocation":69,"imageIndex":3},{"imageOffset":10773644,"symbol":"-[NSSavePanel init]","symbolLocation":197,"imageIndex":3},{"imageOffset":7400114,"symbol":"+[NSSavePanel(Instantiation) _crunchyRawUnbonedPanel]","symbolLocation":58,"imageIndex":3},{"imageOffset":750271,"symbol":"Tk_GetOpenFileObjCmd","symbolLocation":63,"imageIndex":5},{"imageOffset":76913,"symbol":"TclNRRunCallbacks","symbolLocation":79,"imageIndex":6},{"imageOffset":5829,"symbol":"Tkapp_Call","symbolLocation":389,"imageIndex":7},{"imageOffset":969706,"symbol":"cfunction_call","symbolLocation":90,"imageIndex":8},{"imageOffset":551629,"symbol":"_PyObject_Call","symbolLocation":109,"imageIndex":8},{"imageOffset":1836471,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":35431,"imageIndex":8},{"imageOffset":1794527,"symbol":"_PyEval_Vector","symbolLocation":383,"imageIndex":8},{"imageOffset":1863711,"symbol":"call_function","symbolLocation":175,"imageIndex":8},{"imageOffset":1835562,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":34522,"imageIndex":8},{"imageOffset":1794527,"symbol":"_PyEval_Vector","symbolLocation":383,"imageIndex":8},{"imageOffset":1863711,"symbol":"call_function","symbolLocation":175,"imageIndex":8},{"imageOffset":1835950,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":34910,"imageIndex":8},{"imageOffset":1794527,"symbol":"_PyEval_Vector","symbolLocation":383,"imageIndex":8},{"imageOffset":548982,"symbol":"_PyObject_FastCallDictTstate","symbolLocation":214,"imageIndex":8},{"imageOffset":1158617,"symbol":"slot_tp_init","symbolLocation":201,"imageIndex":8},{"imageOffset":1119842,"symbol":"type_call","symbolLocation":322,"imageIndex":8},{"imageOffset":548212,"symbol":"_PyObject_MakeTpCall","symbolLocation":132,"imageIndex":8},{"imageOffset":1863901,"symbol":"call_function","symbolLocation":365,"imageIndex":8},{"imageOffset":1835950,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":34910,"imageIndex":8},{"imageOffset":1794527,"symbol":"_PyEval_Vector","symbolLocation":383,"imageIndex":8},{"imageOffset":1863711,"symbol":"call_function","symbolLocation":175,"imageIndex":8},{"imageOffset":1835774,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":34734,"imageIndex":8},{"imageOffset":1794527,"symbol":"_PyEval_Vector","symbolLocation":383,"imageIndex":8},{"imageOffset":1863711,"symbol":"call_function","symbolLocation":175,"imageIndex":8},{"imageOffset":1835774,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":34734,"imageIndex":8},{"imageOffset":1794527,"symbol":"_PyEval_Vector","symbolLocation":383,"imageIndex":8},{"imageOffset":2274157,"symbol":"pyrun_file","symbolLocation":333,"imageIndex":8},{"imageOffset":2272045,"symbol":"_PyRun_SimpleFileObject","symbolLocation":365,"imageIndex":8},{"imageOffset":2269567,"symbol":"_PyRun_AnyFileObject","symbolLocation":143,"imageIndex":8},{"imageOffset":2449479,"symbol":"pymain_run_file_obj","symbolLocation":199,"imageIndex":8},{"imageOffset":2447381,"symbol":"pymain_run_file","symbolLocation":85,"imageIndex":8},{"imageOffset":2445214,"symbol":"pymain_run_python","symbolLocation":334,"imageIndex":8},{"imageOffset":2444807,"symbol":"Py_RunMain","symbolLocation":23,"imageIndex":8},{"imageOffset":2449890,"symbol":"pymain_main","symbolLocation":50,"imageIndex":8},{"imageOffset":2450570,"symbol":"Py_BytesMain","symbolLocation":42,"imageIndex":8},{"imageOffset":21790,"symbol":"start","symbolLocation":462,"imageIndex":9}]},{"id":3379554,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":10}]},{"id":3379555,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":10}]},{"id":3379563,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":10}]},{"id":3379565,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":10}]},{"id":3379577,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":10}]},{"id":3379585,"name":"com.apple.NSEventThread","frames":[{"imageOffset":6522,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":11},{"imageOffset":7400,"symbol":"mach_msg","symbolLocation":56,"imageIndex":11},{"imageOffset":523485,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":2},{"imageOffset":516968,"symbol":"__CFRunLoopRun","symbolLocation":1276,"imageIndex":2},{"imageOffset":513964,"symbol":"CFRunLoopRunSpecific","symbolLocation":562,"imageIndex":2},{"imageOffset":1752926,"symbol":"_NSEventThread","symbolLocation":132,"imageIndex":3},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":3379586,"frames":[{"imageOffset":40282,"symbol":"__select","symbolLocation":10,"imageIndex":11},{"imageOffset":1063096,"symbol":"NotifierThreadProc","symbolLocation":880,"imageIndex":6},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":10},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":10}]},{"id":3379596,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":10}]},{"id":3379597,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":10}]},{"id":3379796,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":10}]},{"id":3379797,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":10}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64h",
    "base" : 140703629750272,
    "size" : 253952,
    "uuid" : "6d51b7b2-136e-336d-95ca-442af1009ec2",
    "path" : "\/usr\/lib\/libobjc.A.dylib",
    "name" : "libobjc.A.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703646724096,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 3915776,
    "uuid" : "3370467f-ef48-301d-97d1-cdc236b7053a",
    "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "1858.112"
  },
  {
    "source" : "P",
    "arch" : "x86_64h",
    "base" : 140703631577088,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5251072,
    "uuid" : "743f0cb7-e962-3e42-8653-7bd141129561",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1858.112"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703676035072,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 15261696,
    "uuid" : "92a78ebd-bba5-3f18-a5e1-768c955539d7",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2113.40.127"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703754964992,
    "CFBundleShortVersionString" : "640.1",
    "CFBundleIdentifier" : "com.apple.ViewBridge",
    "size" : 999424,
    "uuid" : "32573ec1-d5dc-326f-8bfd-3d2683c78ee4",
    "path" : "\/System\/Library\/PrivateFrameworks\/ViewBridge.framework\/Versions\/A\/ViewBridge",
    "name" : "ViewBridge",
    "CFBundleVersion" : "640.1"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4413308928,
    "size" : 1081344,
    "uuid" : "32c3f790-c241-3483-ad54-fd3467d44802",
    "path" : "\/Library\/Frameworks\/Python.framework\/Versions\/3.10\/lib\/libtk8.6.dylib",
    "name" : "libtk8.6.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4416258048,
    "size" : 1196032,
    "uuid" : "486d78ca-5d7d-3146-a58e-1b7a54cb8c35",
    "path" : "\/Library\/Frameworks\/Python.framework\/Versions\/3.10\/lib\/libtcl8.6.dylib",
    "name" : "libtcl8.6.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4413194240,
    "size" : 32768,
    "uuid" : "0437408d-57e2-3d2d-a882-f2808c39d5d4",
    "path" : "\/Library\/Frameworks\/Python.framework\/Versions\/3.10\/lib\/python3.10\/lib-dynload\/_tkinter.cpython-310-darwin.so",
    "name" : "_tkinter.cpython-310-darwin.so"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4419276800,
    "CFBundleShortVersionString" : "3.10.4, (c) 2001-2021 Python Software Foundation.",
    "CFBundleIdentifier" : "org.python.python",
    "size" : 3637248,
    "uuid" : "d3b58296-52a0-3d4f-8d84-11ccf2a5195b",
    "path" : "\/Library\/Frameworks\/Python.framework\/Versions\/3.10\/Python",
    "name" : "Python",
    "CFBundleVersion" : "3.10.4"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4427931648,
    "size" : 442368,
    "uuid" : "dd9e80de-fb3b-349b-96a4-46874ad34d11",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703631261696,
    "size" : 49152,
    "uuid" : "2f6c275d-7e14-3d31-a924-e1bb41d2415f",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703631032320,
    "size" : 229376,
    "uuid" : "26a59789-b846-3ed4-96dc-8dbef3c0c8e7",
    "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" : 140703627988992,
  "size" : 15224815616,
  "uuid" : "6cc5ecdc-5119-37f0-9a85-4f48a50f5f78"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=859.3M resident=0K(0%) swapped_out_or_unallocated=859.3M(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                 2688K        4 \nCG image                           200K        8 \nColorSync                          224K       25 \nCoreAnimation                      420K       11 \nCoreGraphics                        12K        2 \nCoreUI image data                 1468K       10 \nFoundation                          16K        1 \nKernel Alloc Once                    8K        1 \nMALLOC                           302.4M       64 \nMALLOC guard page                   48K        9 \nMALLOC_MEDIUM (reserved)         960.0M        8         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                       3124K       16 \n__DATA                            17.6M      287 \n__DATA_CONST                      11.8M      167 \n__DATA_DIRTY                       534K       97 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       652.8M       13 \n__OBJC_RO                         82.6M        1 \n__OBJC_RW                         3200K        2 \n__TEXT                           206.6M      307 \n__UNICODE                          592K        1 \ndyld private memory               1024K        1 \nmapped file                      157.6M       23 \nshared memory                      780K       18 \n===========                     =======  ======= \nTOTAL                              2.7G     1104 \nTOTAL, minus reserved VM space     1.4G     1104 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "5ffde50ce2aacd000d47a95f",
      "factorPackIds" : {

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

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

  ]
}
}

Model: MacBookPro16,1, BootROM 1731.100.130.0.0 (iBridge: 19.16.14243.0.0,0), 8 processors, 8-Core Intel Core i9, 2.4 GHz, 32 GB, SMC 
Graphics: Intel UHD Graphics 630, Intel UHD Graphics 630, Built-In
Graphics: AMD Radeon Pro 5300M, AMD Radeon Pro 5300M, PCIe, 4 GB
Display: Color LCD, 3072 x 1920 Retina, Main, MirrorOff, Online
Memory Module: BANK 0/ChannelA-DIMM0, 16 GB, DDR4, 2667 MHz, Micron, MT40A2G8NEA-062E:J
Memory Module: BANK 2/ChannelB-DIMM0, 16 GB, DDR4, 2667 MHz, Micron, MT40A2G8NEA-062E:J
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x7BF), wl0: Jul 12 2021 18:02:56 version 9.30.464.0.32.5.76 FWID 01-c081cfed
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: T2Bus
USB Device: composite_device
USB Device: Touch Bar Backlight
USB Device: Touch Bar Display
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Headset
USB Device: Ambient Light Sensor
USB Device: FaceTime HD Camera (Built-in)
USB Device: Apple T2 Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 63.5
Thunderbolt Bus: MacBook Pro, Apple Inc., 63.5

Linked PRs

@chetan-set chetan-set added the type-crash A hard crash of the interpreter, possibly with a core dump label May 10, 2022
@ronaldoussoren
Copy link
Contributor

I get the same crash on an M1 system, python 3.10.4 using the installer on python.org (and likewise with python 3.11b1)

Not sure if this is relevant, but I only got crashes when selecting a file to open, not when I cancelled the dialog.

@ronaldoussoren
Copy link
Contributor

An issue an to Tk tracker has a similar traceback, but in an issue that it fixed: https://core.tcl-lang.org/tk/tktview/6c88c5270a8f8a07a0a2

@ronaldoussoren
Copy link
Contributor

I've filed https://core.tcl-lang.org/tk/tktview/ef5d3e29a429a48f2903e0661085b42475a58969 in the Tk tracker in because this might be a bug in the Tk library.

@ronaldoussoren
Copy link
Contributor

The Tk maintainers confirm this is a bug in Tk, and one that's fixed in their tree (but not yet out in a release).

I'm closing this issue because there's nothing we can do other than wait for a release of Tk.

@chetan-set
Copy link
Author

Thank you Ronald

@Balawoo
Copy link

Balawoo commented Feb 14, 2023

For information, I have the same error,
I have found a solution, by adding before the openfiledialog
root = tk.Tk()
In this case I avoid the error.

@mr-possible
Copy link

I get the same crash on an M1 system, python 3.10.4 using the installer on python.org (and likewise with python 3.11b1)

Not sure if this is relevant, but I only got crashes when selecting a file to open, not when I cancelled the dialog.

Oh This is exactly what I am facing right now!

chrstphrchvz added a commit to chrstphrchvz/cpython that referenced this issue Aug 30, 2023
@chrstphrchvz
Copy link
Contributor

I've filed https://core.tcl-lang.org/tk/tktview/ef5d3e29a429a48f2903e0661085b42475a58969 in the Tk tracker in because this might be a bug in the Tk library.

The Tk maintainers confirm this is a bug in Tk, and one that's fixed in their tree (but not yet out in a release).

I'm closing this issue because there's nothing we can do other than wait for a release of Tk.

It turns out that the issue was not already fixed. I submitted a fix for it on that ticket, and it has been accepted, but Tcl/Tk 8.6.14 is likely still a few months away. I have opened #108693 in case Python is interested in applying the fix to the bundled Tcl/Tk 8.6.13 in the macOS installer.

chrstphrchvz added a commit to chrstphrchvz/cpython that referenced this issue Aug 30, 2023
chrstphrchvz added a commit to chrstphrchvz/homebrew-core that referenced this issue Sep 2, 2023
This crash has been reported several times, particularly by Tkinter users
(see e.g. python/cpython#92603); it will be fixed in Tk 8.6.14.
ned-deily added a commit to ned-deily/cpython that referenced this issue Nov 21, 2023
ned-deily added a commit that referenced this issue Nov 21, 2023
Add upstream Tk patches for three problems affecting tkinter users:

- Update macOS installer to include a fix accepted by upstream Tcl/Tk
for a crash encountered after the first :meth:`tkinter.Tk` instance
is destroyed. (gh-92603)

- Update macOS installer to include an upstream Tcl/Tk fix
for the ``ttk::ThemeChanged`` error encountered in Tkinter. (gh-71383)

- Update macOS installer to include an upstream Tcl/Tk fix for the
``Secure coding is not enabled for restorable state!`` warning
encountered in Tkinter on macOS 14 Sonoma. (gh-110950)

Co-authored-by: Ned Deily <nad@python.org>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Nov 21, 2023
…111041)

Add upstream Tk patches for three problems affecting tkinter users:

- Update macOS installer to include a fix accepted by upstream Tcl/Tk
for a crash encountered after the first :meth:`tkinter.Tk` instance
is destroyed. (pythongh-92603)

- Update macOS installer to include an upstream Tcl/Tk fix
for the ``ttk::ThemeChanged`` error encountered in Tkinter. (pythongh-71383)

- Update macOS installer to include an upstream Tcl/Tk fix for the
``Secure coding is not enabled for restorable state!`` warning
encountered in Tkinter on macOS 14 Sonoma. (pythongh-110950)

(cherry picked from commit d67f947)

Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
Co-authored-by: Ned Deily <nad@python.org>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Nov 21, 2023
…111041)

Add upstream Tk patches for three problems affecting tkinter users:

- Update macOS installer to include a fix accepted by upstream Tcl/Tk
for a crash encountered after the first :meth:`tkinter.Tk` instance
is destroyed. (pythongh-92603)

- Update macOS installer to include an upstream Tcl/Tk fix
for the ``ttk::ThemeChanged`` error encountered in Tkinter. (pythongh-71383)

- Update macOS installer to include an upstream Tcl/Tk fix for the
``Secure coding is not enabled for restorable state!`` warning
encountered in Tkinter on macOS 14 Sonoma. (pythongh-110950)

(cherry picked from commit d67f947)

Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
Co-authored-by: Ned Deily <nad@python.org>
ned-deily added a commit that referenced this issue Nov 21, 2023
… (#112293)

Add upstream Tk patches for three problems affecting tkinter users:

- Update macOS installer to include a fix accepted by upstream Tcl/Tk
for a crash encountered after the first :meth:`tkinter.Tk` instance
is destroyed. (gh-92603)

- Update macOS installer to include an upstream Tcl/Tk fix
for the ``ttk::ThemeChanged`` error encountered in Tkinter. (gh-71383)

- Update macOS installer to include an upstream Tcl/Tk fix for the
``Secure coding is not enabled for restorable state!`` warning
encountered in Tkinter on macOS 14 Sonoma. (gh-110950)

(cherry picked from commit d67f947)

Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
Co-authored-by: Ned Deily <nad@python.org>
ned-deily added a commit that referenced this issue Nov 21, 2023
… (#112294)

Add upstream Tk patches for three problems affecting tkinter users:

- Update macOS installer to include a fix accepted by upstream Tcl/Tk
for a crash encountered after the first :meth:`tkinter.Tk` instance
is destroyed. (gh-92603)

- Update macOS installer to include an upstream Tcl/Tk fix
for the ``ttk::ThemeChanged`` error encountered in Tkinter. (gh-71383)

- Update macOS installer to include an upstream Tcl/Tk fix for the
``Secure coding is not enabled for restorable state!`` warning
encountered in Tkinter on macOS 14 Sonoma. (gh-110950)

(cherry picked from commit d67f947)

Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
Co-authored-by: Ned Deily <nad@python.org>
@ned-deily
Copy link
Member

Thanks for the PR. The fix for Tk in the macOS installer has now been merged for release in 3.13.0a2, 3.12.1, and 3.11.7.

aisk pushed a commit to aisk/cpython that referenced this issue Feb 11, 2024
…111041)

Add upstream Tk patches for three problems affecting tkinter users:

- Update macOS installer to include a fix accepted by upstream Tcl/Tk
for a crash encountered after the first :meth:`tkinter.Tk` instance
is destroyed. (pythongh-92603)

- Update macOS installer to include an upstream Tcl/Tk fix
for the ``ttk::ThemeChanged`` error encountered in Tkinter. (pythongh-71383)

- Update macOS installer to include an upstream Tcl/Tk fix for the
``Secure coding is not enabled for restorable state!`` warning
encountered in Tkinter on macOS 14 Sonoma. (pythongh-110950)

Co-authored-by: Ned Deily <nad@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS-mac topic-tkinter type-crash A hard crash of the interpreter, possibly with a core dump
Projects
None yet
Development

No branches or pull requests

6 participants