Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

A new intermittent problem has arisen on macOS since I updated to Catalina.  It 
occurs on both 10.15.0 and 10.15.1.  I'm using the 3.8.0 mac 64-bit install 
taken directly from python.org.

In a long-running session of IDLE, the process freezes-up during File/SaveAs.  
The file save dialog comes-up.  When typing the filename, the dialog window 
greys-out, the list of files goes blank, and the situation is unrecoverable 
(see the attached screenshot).

And see below for the core dump in the terminal session.


----------------------------------------------------------------

$ python3.8 -m idlelib.idle
2019-11-06 13:52:34.765 Python[38668:423017] WARNING: <NSSavePanel: 
0x7ffd7d70ceb0> running implicitly; please run panels using NSSavePanel rather 
than NSApplication.
2019-11-06 13:52:40.958 Python[38668:423017] *** Assertion failure in 
-[NSSavePanel _attachSandboxExtensions:toURL:orURLs:], 
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1894.10.126/Nav.subproj/OpenAndSavePanelRemote/NSVBOpenAndSavePanels.m:711
2019-11-06 13:52:40.963 Python[38668:423017] -[NSSavePanel 
observeValueForKeyPath:ofObject:change:context:] caught non-fatal 
NSInternalInconsistencyException 'unexpected class type for sandbox extension 
string!' with backtrace (
        0   CoreFoundation                      0x00007fff3b080f53 
__exceptionPreprocess + 250
        1   libobjc.A.dylib                     0x00007fff71146835 
objc_exception_throw + 48
        2   CoreFoundation                      0x00007fff3b09c810 
+[NSException raise:format:arguments:] + 88
        3   Foundation                          0x00007fff3d77c5d1 
-[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] 
+ 191
        4   AppKit                              0x00007fff38be944c 
__53-[NSSavePanel _attachSandboxExtensions:toURL:orURLs:]_block_invoke + 240
        5   CoreFoundation                      0x00007fff3b0d15a7 
__NSARRAY_IS_CALLING_OUT_TO_A_BLOCK__ + 7
        6   CoreFoundation                      0x00007fff3b00923d 
-[__NSSingleObjectArrayI enumerateObjectsWithOptions:usingBlock:] + 80
        7   AppKit                              0x00007fff38be925c 
-[NSSavePanel _attachSandboxExtensions:toURL:orURLs:] + 125
        8   AppKit                              0x00007fff38bedf4b 
-[NSSavePanel _URLsWithSecurityScoped:] + 193
        9   AppKit                              0x00007fff38be9481 
-[NSSavePanel _attachSandboxExtensionsAndStartAccessing] + 48
        10  AppKit                              0x00007fff38bea7ce 
-[NSSavePanel completeWithReturnCode:url:urls:] + 164
        11  AppKit                              0x00007fff38bec787 
-[NSSavePanel observeValueForKeyPath:ofObject:change:context:] + 341
        12  Foundation                          0x00007fff3d672412 
NSKeyValueNotifyObserver + 335
        13  Foundation                          0x00007fff3d7faf56 
NSKeyValueDidChange.llvm.18255262684423441536 + 434
        14  Foundation                          0x00007fff3d7fa761 
NSKeyValueDidChangeWithPerThreadPendingNotifications.llvm.18255262684423441536 
+ 146
        15  ViewBridge                          0x00007fff6d7d8adc 
__41-[NSViewBridge setObject:forKey:withKVO:]_block_invoke + 360
        16  ViewBridge                          0x00007fff6d860b5c 
withHintInProgress + 472
        17  ViewBridge                          0x00007fff6d7cf17b 
-[NSViewBridge setObject:forKey:withKVO:] + 856
        18  ViewBridge                          0x00007fff6d7d087a 
-[NSViewBridge nonLocalChangeInProgress:block:] + 352
        19  ViewBridge                          0x00007fff6d7d04d7 
-[NSRemoteViewMarshal exceptionSafeSetRemoteObject:forKey:withReply:] + 264
        20  ViewBridge                          0x00007fff6d7d038b 
-[NSRemoteViewMarshal setRemoteObject:forKey:withReply:] + 56
        21  CoreFoundation                      0x00007fff3afdf1dc 
__invoking___ + 140
        22  CoreFoundation                      0x00007fff3afdf07f 
-[NSInvocation invoke] + 305
        23  ViewBridge                          0x00007fff6d7cdb1e 
__deferNSXPCInvocationOntoMainThread_block_invoke + 228
        24  ViewBridge                          0x00007fff6d7c33ec 
__wrapBlockWithVoucher_block_invoke + 37
        25  ViewBridge                          0x00007fff6d7c31b1 
__deferBlockOntoMainThread_block_invoke_2 + 507
        26  CoreFoundation                      0x00007fff3b00cd6b 
__CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
        27  CoreFoundation                      0x00007fff3afcffdd 
__CFRunLoopDoBlocks + 379
        28  CoreFoundation                      0x00007fff3afcfd50 
__CFRunLoopRun + 2792
        29  CoreFoundation                      0x00007fff3afcefe3 
CFRunLoopRunSpecific + 499
        30  HIToolbox                           0x00007fff39b5667d 
RunCurrentEventLoopInMode + 292
        31  HIToolbox                           0x00007fff39b563bd 
ReceiveNextEventCommon + 600
        32  HIToolbox                           0x00007fff39b56147 
_BlockUntilNextEventMatchingListInModeWithFilter + 64
        33  AppKit                              0x00007fff381db864 
_DPSNextEvent + 990
        34  AppKit                              0x00007fff381da5d4 
-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] 
+ 1352
        35  libtk8.6.dylib                      0x00000001021dc387 
-[TKApplication(TKNotify) nextEventMatchingMask:untilDate:inMode:dequeue:] + 42
        36  AppKit                              0x00007fff383ecb52 
-[NSApplication _doModalLoop:peek:] + 315
        37  AppKit                              0x00007fff383eb699 
__35-[NSApplication runModalForWindow:]_block_invoke_2 + 64
        38  AppKit                              0x00007fff383eb646 
__35-[NSApplication runModalForWindow:]_block_invoke + 70
        39  AppKit                              0x00007fff383eaed8 
_NSTryRunModal + 100
        40  AppKit                              0x00007fff383eadbd 
-[NSApplication runModalForWindow:] + 128
        41  libtk8.6.dylib                      0x00000001021cb18b 
Tk_GetSaveFileObjCmd + 2945
        42  libtcl8.6.dylib                     0x0000000101fc46dc 
TclNRRunCallbacks + 80
        43  _tkinter.cpython-38-darwin.so       0x0000000101fa2049 Tkapp_Call + 
585
        44  Python                              0x0000000101847bc2 
cfunction_call_varargs + 290
        45  Python                              0x0000000101911c6b 
_PyEval_EvalFrameDefault + 27339
        46  Python                              0x0000000101915624 
_PyEval_EvalCodeWithName + 2804
        47  Python                              0x000000010184806e 
_PyFunction_Vectorcall + 270
        48  Python                              0x000000010184a59a 
method_vectorcall + 170
        49  Python                              0x00000001019147dc 
call_function + 444
        50  Python                              0x0000000101911714 
_PyEval_EvalFrameDefault + 25972
        51  Python                              0x0000000101847ed0 
function_code_fastcall + 128
        52  Python                              0x00000001019147dc 
call_function + 444
        53  Python                              0x00000001019115c9 
_PyEval_EvalFrameDefault + 25641
        54  Python                              0x0000000101847ed0 
function_code_fastcall + 128
        55  Python                              0x000000010184a67c 
method_vectorcall + 396
        56  Python                              0x00000001018478ad 
PyVectorcall_Call + 109
        57  Python                              0x0000000101911af8 
_PyEval_EvalFrameDefault + 26968
        58  Python                              0x0000000101915624 
_PyEval_EvalCodeWithName + 2804
        59  Python                              0x000000010184806e 
_PyFunction_Vectorcall + 270
        60  Python                              0x000000010184a67c 
method_vectorcall + 396
        61  Python                              0x00000001018478ad 
PyVectorcall_Call + 109
        62  _tkinter.cpython-38-darwin.so       0x0000000101fa4bf1 PythonCmd + 
209
        63  libtcl8.6.dylib                     0x0000000101fc46dc 
TclNRRunCallbacks + 80
        64  libtcl8.6.dylib                     0x0000000101fc593a TclEvalEx + 
1953
        65  libtcl8.6.dylib                     0x0000000101fc5193 Tcl_EvalEx + 
26
        66  libtk8.6.dylib                      0x000000010211a39f Tk_BindEvent 
+ 3956
        67  libtk8.6.dylib                      0x000000010211fb6d 
TkBindEventProc + 347
        68  libtk8.6.dylib                      0x0000000102127636 
Tk_HandleEvent + 1108
        69  libtk8.6.dylib                      0x000000010211beb0 
Tk_EventObjCmd + 5203
        70  libtcl8.6.dylib                     0x0000000101fc46dc 
TclNRRunCallbacks + 80
        71  _tkinter.cpython-38-darwin.so       0x0000000101fa2049 Tkapp_Call + 
585
        72  Python                              0x0000000101850739 
method_vectorcall_VARARGS + 265
        73  Python                              0x00000001019147dc 
call_function + 444
        74  Python                              0x00000001019115c9 
_PyEval_EvalFrameDefault + 25641
        75  Python                              0x0000000101915624 
_PyEval_EvalCodeWithName + 2804
        76  Python                              0x000000010184806e 
_PyFunction_Vectorcall + 270
        77  Python                              0x00000001019147dc 
call_function + 444
        78  Python                              0x00000001019115c9 
_PyEval_EvalFrameDefault + 25641
        79  Python                              0x0000000101915624 
_PyEval_EvalCodeWithName + 2804
        80  Python                              0x000000010184806e 
_PyFunction_Vectorcall + 270
        81  Python                              0x00000001018478ad 
PyVectorcall_Call + 109
        82  Python                              0x0000000101911af8 
_PyEval_EvalFrameDefault + 26968
        83  Python                              0x0000000101915624 
_PyEval_EvalCodeWithName + 2804
        84  Python                              0x000000010184806e 
_PyFunction_Vectorcall + 270
        85  Python                              0x000000010184a5db 
method_vectorcall + 235
        86  Python                              0x00000001018478ad 
PyVectorcall_Call + 109
        87  _tkinter.cpython-38-darwin.so       0x0000000101fa4bf1 PythonCmd + 
209
        88  libtcl8.6.dylib                     0x0000000101fc46dc 
TclNRRunCallbacks + 80
        89  libtk8.6.dylib                      0x0000000102154311 TkInvokeMenu 
+ 470
        90  libtk8.6.dylib                      0x00000001021d6f3e 
-[TKMenu(TKMenuActions) tkMenuItemInvoke:] + 184
        91  AppKit                              0x00007fff3848e8d4 
-[NSApplication(NSResponder) sendAction:to:from:] + 299
        92  AppKit                              0x00007fff384e3a4e -[NSMenuItem 
_corePerformAction] + 312
        93  AppKit                              0x00007fff384e37ca 
-[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 106
        94  AppKit                              0x00007fff3853b9c0 -[NSMenu 
performActionForItemAtIndex:] + 114
        95  AppKit                              0x00007fff3853b945 -[NSMenu 
_internalPerformActionForItemAtIndex:] + 82
        96  AppKit                              0x00007fff3853b78c 
-[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 101
        97  AppKit                              0x00007fff384b5b20 
NSSLMMenuEventHandler + 908
        98  HIToolbox                           0x00007fff39b54701 
_ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec 
+ 1419
        99  HIToolbox                           0x00007fff39b53ad0 
_ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec
 + 338
        100 HIToolbox                           0x00007fff39b71108 
SendEventToEventTarget + 39
        101 HIToolbox                           0x00007fff39bc20a4 
_ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef
 + 368
        102 HIToolbox                           0x00007fff39be96ce 
SendMenuCommandWithContextAndModifiers + 45
        103 HIToolbox                           0x00007fff39be9673 
SendMenuItemSelectedEvent + 339
        104 HIToolbox                           0x00007fff39be94c7 
_ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2_ + 96
        105 HIToolbox                           0x00007fff39be9ef3 
_ZL14MenuSelectCoreP8MenuData5PointdjPP13OpaqueMenuRefPt + 603
        106 HIToolbox                           0x00007fff39be9bfc 
_HandleMenuSelection2 + 452
        107 AppKit                              0x00007fff381e5085 
_NSHandleCarbonMenuEvent + 215
        108 AppKit                              0x00007fff381e4ef2 
_DPSEventHandledByCarbon + 54
        109 AppKit                              0x00007fff381dac1e 
-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] 
+ 2962
        110 libtk8.6.dylib                      0x00000001021dc387 
-[TKApplication(TKNotify) nextEventMatchingMask:untilDate:inMode:dequeue:] + 42
        111 libtk8.6.dylib                      0x00000001021dc6fc 
TkMacOSXEventsCheckProc + 295
        112 libtcl8.6.dylib                     0x0000000102073d06 
Tcl_DoOneEvent + 316
        113 _tkinter.cpython-38-darwin.so       0x0000000101fa43de 
_tkinter_tkapp_mainloop + 382
        114 Python                              0x0000000101850ace 
method_vectorcall_FASTCALL + 254
        115 Python                              0x00000001019147dc 
call_function + 444
        116 Python                              0x00000001019115c9 
_PyEval_EvalFrameDefault + 25641
        117 Python                              0x0000000101915624 
_PyEval_EvalCodeWithName + 2804
        118 Python                              0x000000010184806e 
_PyFunction_Vectorcall + 270
        119 Python                              0x000000010184a59a 
method_vectorcall + 170
        120 Python                              0x00000001019147dc 
call_function + 444
        121 Python                              0x00000001019115ed 
_PyEval_EvalFrameDefault + 25677
        122 Python                              0x0000000101915624 
_PyEval_EvalCodeWithName + 2804
        123 Python                              0x000000010184806e 
_PyFunction_Vectorcall + 270
        124 Python                              0x00000001019147dc 
call_function + 444
        125 Python                              0x000000010191167a 
_PyEval_EvalFrameDefault + 25818
        126 Python                              0x0000000101915624 
_PyEval_EvalCodeWithName + 2804
        127 Python                              0x000000010190b0c4 
PyEval_EvalCode + 100
        128 Python                              0x00000001019084b2 builtin_exec 
+ 626
        129 Python                              0x000000010188381f 
cfunction_vectorcall_FASTCALL + 175
        130 Python                              0x00000001019147dc 
call_function + 444
        131 Python                              0x000000010191167a 
_PyEval_EvalFrameDefault + 25818
        132 Python                              0x0000000101915624 
_PyEval_EvalCodeWithName + 2804
        133 Python                              0x000000010184806e 
_PyFunction_Vectorcall + 270
        134 Python                              0x00000001019147dc 
call_function + 444
        135 Python                              0x000000010191167a 
_PyEval_EvalFrameDefault + 25818
        136 Python                              0x0000000101915624 
_PyEval_EvalCodeWithName + 2804
        137 Python                              0x000000010184806e 
_PyFunction_Vectorcall + 270
        138 Python                              0x00000001018478ad 
PyVectorcall_Call + 109
        139 Python                              0x0000000101977a96 
pymain_run_module + 182
        140 Python                              0x000000010197705d Py_RunMain + 
1085
        141 Python                              0x00000001019777cf pymain_main 
+ 223
        142 Python                              0x00000001019779cb Py_BytesMain 
+ 43
        143 libdyld.dylib                       0x00007fff724a92e5 start + 1
        144 ???                                 0x0000000000000003 0x0 + 3
)

----------
Added file: https://bugs.python.org/file48699/Screen Shot 2019-11-06 at 5.29.32 
PM.png

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38440>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to