rzellem / EXOTIC

EXOplanet Transit Interpretation Code
Other
86 stars 45 forks source link

Stabilize Tkinter runtime #978

Open jpl-jengelke opened 2 years ago

jpl-jengelke commented 2 years ago

Suggestions:

entanglemint commented 2 years ago

Application crashes upon clicking the dock icon on OS X Big Sur 11.6.4 after the initial splash screen is dismissed. Steps to reproduce:

  1. Lauch the application with "run_exotic_mac.command"
  2. Dismiss the splash screen with "next"
  3. Click on the icon in the dock (for me a blank document icon with hover text "python")
  4. Crash!

Repeats of this have caused the following errors:

called Tcl_FindHashEntry on deleted table run_exotic_mac.command: line 128: 72241 Abort trap: 6 zsh -c "exotic-gui"

run_exotic_mac.command: line 128: 72370 Segmentation fault: 11 zsh -c "exotic-gui"

OS x crash report stacktrace `Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: EXC_I386_GPFLT Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [74614]

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libtcl8.6.dylib 0x000000010f4def93 Tcl_FindCommand + 99 1 libtk8.6.dylib 0x000000010f674f37 -[TKApplication(TKHLEvents) handleReopenApplicationEvent:withReplyEvent:] + 87 2 com.apple.Foundation 0x00007fff21335316 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 308 3 com.apple.Foundation 0x00007fff21335186 _NSAppleEventManagerGenericHandler + 80 4 com.apple.AE 0x00007fff263b27f3 0x7fff263a6000 + 51187 5 com.apple.AE 0x00007fff263b1f0e 0x7fff263a6000 + 48910 6 com.apple.AE 0x00007fff263aac23 aeProcessAppleEvent + 448 7 com.apple.HIToolbox 0x00007fff288298a2 AEProcessAppleEvent + 54 8 com.apple.AppKit 0x00007fff22dd8210 _DPSNextEvent + 2046 9 com.apple.AppKit 0x00007fff22dd6545 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1364 10 libtk8.6.dylib 0x000000010f680fef TkMacOSXEventsCheckProc + 351 11 libtcl8.6.dylib 0x000000010f4e2d0b Tcl_DoOneEvent + 363 12 _tkinter.cpython-38-darwin.so 0x000000010f3f91d4 _tkinter_tkapp_mainloop_impl + 228 13 python 0x000000010eec1303 method_vectorcall_FASTCALL + 307 14 python 0x000000010efe8bc3 _PyEval_EvalFrameDefault + 44835 15 python 0x000000010efdbebd _PyEval_EvalCodeWithName + 557 16 python 0x000000010eeb2cba _PyFunction_Vectorcall + 426 17 python 0x000000010eeb683d method_vectorcall + 141 18 python 0x000000010efe8cb8 _PyEval_EvalFrameDefault + 45080 19 python 0x000000010efdbebd _PyEval_EvalCodeWithName + 557 20 python 0x000000010eeb2cba _PyFunction_Vectorcall + 426 21 python 0x000000010efe9048 _PyEval_EvalFrameDefault + 45992 22 python 0x000000010efdbebd _PyEval_EvalCodeWithName + 557 23 python 0x000000010f053f8f pyrun_file + 271 24 python 0x000000010f0537ba pyrun_simple_file + 394 25 python 0x000000010f0535de PyRun_SimpleFileExFlags + 110 26 python 0x000000010f07c0bf pymain_run_file + 383 27 python 0x000000010f07b74b pymain_run_python + 523 28 python 0x000000010f07b4e5 Py_RunMain + 37 29 python 0x000000010f07cbf1 pymain_main + 49 30 python 0x000000010ee85328 main + 56 31 libdyld.dylib 0x00007fff204f4f3d start + 1 `