Is the tkinter 8.6 system crash bug in OS Mojave fixed in mac OS Catalina?

Viewed 772

I'm encountering some bug that crashes the mac OS Mojave version 10.14.6 and tkinter version 8.6 and causes a restart after running anything with tkinter

example:

>>> import tkinter
>>> tkinter._test()

Os crash happens ...

  [Restored Oct 9, 2019 at 10:57:47 AM]
Last login: Wed Oct  9 10:56:14 on console
Restored session: Wed Oct  9 10:56:07 EET 2019

And here's another form of crashing:

>>> import tkinter
>>> top = tkinter.Tk()
>>> 2019-10-09 11:09:33.898 python[931:20734] CGSTrackingRegionSetIsEnabled returned CG error 268435459
2019-10-09 11:09:33.899 python[931:20734] CGSTrackingRegionSetIsEnabled returned CG error 268435459
2019-10-09 11:09:33.899 python[931:20734] CGSTrackingRegionSetIsEnabled returned CG error 268435459
2019-10-09 11:09:33.899 python[931:20734] CGSTrackingRegionSetIsEnabled returned CG error 268435459
2019-10-09 11:09:33.899 python[931:20734] CGSTrackingRegionSetIsEnabled returned CG error 268435459
2019-10-09 11:09:33.899 python[931:20734] CGSTrackingRegionSetIsEnabled returned CG error 268435459
2019-10-09 11:09:33.899 python[931:20734] CGSTrackingRegionSetIsEnabled returned CG error 268435459
2019-10-09 11:09:33.899 python[931:20734] CGSTrackingRegionSetIsEnabled returned CG error 268435459
2019-10-09 11:09:33.899 python[931:20734] CGSTrackingRegionSetIsEnabled returned CG error 268435459
2019-10-09 11:09:33.899 python[931:20734] CGSTrackingRegionSetIsEnabled returned CG error 268435459
2019-10-09 11:09:33.899 python[931:20734] CGSTrackingRegionSetIsEnabled returned CG error 268435459
2019-10-09 11:09:33.899 python[931:20734] CGSTrackingRegionSetIsEnabled returned CG error 268435459
2019-10-09 11:09:33.899 python[931:20734] CGSTrackingRegionSetIsEnabled returned CG error 268435459
2019-10-09 11:09:33.899 python[931:20734] CGSTrackingRegionSetIsEnabled returned CG error 268435459
2019-10-09 11:09:33.899 python[931:20734] CGSTrackingRegionSetIsEnabled returned CG error 268435459
2019-10-09 11:09:33.899 python[931:20734] CGSTrackingRegionSetIsEnabled returned CG error 268435459
2019-10-09 11:09:33.905 python[931:20734] HIToolbox: received notification of WindowServer event port death.
2019-10-09 11:09:33.905 python[931:20734] port matched the WindowServer port created in BindCGSToRunLoop

I tried running the same 2 lines in safe-mode, it's working perfectly fine. The question is: I'm considering to upgrade to OS Catalina, has anyone tried using tkinter on Catalina and can confirm whether the problem is gone or persists? And if it persists, are there some work arounds? I searched here and several other websites did not find a working solution. Have I missed something? I'm upgrading to Catalina either way, I'm just asking to know whether to keep trying to find a work around or just forget about it and go with the OS upgrade that might fix everything.

1 Answers

If using Anaconda, Installing tk 8.6.10 like this:

conda install -c zeus1942 tk

did the trick for me (MacbookAir 2016, Mojave 10.14.6)

I've read the problem is fixed on Catalina, but haven't tried it myself because a lot of sources don't recommend upgrading to Catalina.

Related