[issue37833] tkinter crashes macOS in the latest macOS update 10.14.6

2019-08-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: The py2app issue I mentioned is not relevant for this issue. A simple tkinter runs fine with Python 3.7 (64-bit, 3.7.4, Python.org installer), the same script causes a WindowServer crash (SEGV) when bundled with py2app. This is definitely a bug in

[issue37833] tkinter crashes macOS in the latest macOS update 10.14.6

2019-08-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: Interestingly enough both users in the py2app issue I mentioned use the python.org installer to install Python. One of them mentions this only happens when py2app is used, and that the script works fine outside of an app. I'll look into this tonight

[issue37833] tkinter crashes macOS in the latest macOS update 10.14.6

2019-08-13 Thread Ned Deily
Ned Deily added the comment: OK, thanks, Ricardo. Since you appear to be using an Anaconda-supplied Tk, I suggest you open an issue or otherwise ask for help from the Conda project and, as necessary, the Tk folks. Without more info and unable to reproduce with other sources of Tk, there is

[issue37833] tkinter crashes macOS in the latest macOS update 10.14.6

2019-08-13 Thread Ricardo Smits
Ricardo Smits added the comment: Thanks! I was just looking how to send you all this info, so here it is: tkinter.TCL_VERSION: 8.6 tkinter.TK_VERSION: 8.6 tkinter.info_patchlevel: 8.6.8 $ python3.7 -c 'import _tkinter;print(_tkinter.__file__)'

[issue37833] tkinter crashes macOS in the latest macOS update 10.14.6

2019-08-13 Thread Ned Deily
Ned Deily added the comment: As far as I know, the best information you can get from Tk about version is the patch level which does not necessarily take into account builds from a dev repo or patched source. The easiest way to get that info from tkinter is to use test.pythoninfo: $

[issue37833] tkinter crashes macOS in the latest macOS update 10.14.6

2019-08-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: A followup question: How can I determine the exact version of Tk? -- ___ Python tracker ___ ___

[issue37833] tkinter crashes macOS in the latest macOS update 10.14.6

2019-08-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: I had a similar problem during EuroPython, but that was when I had anaconda on my machine. I've since removed it because generally don't use it but had it installed for a training session. I haven't tried to reproduce, but also don't run 10.14.6 yet

[issue37833] tkinter crashes macOS in the latest macOS update 10.14.6

2019-08-12 Thread Kevin Walzer
Kevin Walzer added the comment: Hard to say what is going on without knowing more about the specific version of Tk (not just 8.6, but 8.6.8? 8.6.9?). -- ___ Python tracker

[issue37833] tkinter crashes macOS in the latest macOS update 10.14.6

2019-08-12 Thread Ned Deily
Ned Deily added the comment: Thanks for the link but that really doesn’t pin down exactly what Tk is in use. This probably should be pursued with the Tk project. Adding Kevin Walzer from Tk: Kevin, does this problem sound familiar? -- nosy: +wordtech

[issue37833] tkinter crashes macOS in the latest macOS update 10.14.6

2019-08-12 Thread Ricardo Smits
Ricardo Smits added the comment: I am on a Conda environment with Python 3.7.4 with the corresponding Tkinter 8.6 that came with it. I tried to use some apps I compiled with Pyinstaller and all of them caused this crash. So I tried line by line on the terminal (to cross out Pyinstaller as the

[issue37833] tkinter crashes macOS in the latest macOS update 10.14.6

2019-08-12 Thread Ned Deily
Ned Deily added the comment: Can you be more specific about the source of your Pythons and Tk 8.6 and exactly what version it is? Tk through tkinter seems to work as expected (and without a crash) when I try the current Python.org pythons with their built-in Tk 8.6.6 or current MscPorts

[issue37833] tkinter crashes macOS in the latest macOS update 10.14.6

2019-08-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is almost certainly a bug in macOS. I wonder if it is possible to work around it in Python. -- ___ Python tracker ___

[issue37833] tkinter crashes macOS in the latest macOS update 10.14.6

2019-08-12 Thread Ricardo Smits
New submission from Ricardo Smits : tkVersion == 8.6 After the new update in macOS (10.14.6): In any python interpreter, when running tk.Tk() it makes macOS crash and logout giving the following error: $ CGSTrackingRegionSetIsEnabled returned CG error 268435459 $ HIToolbox: received