[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2021-05-13 Thread Ivan Naydonov
Ivan Naydonov added the comment: I recently faced this problem and this bug was very helpful to understand whats going on. Especially the comment about a problem being a tkinter reference leaked to a thread. Most of the discussions in google results doesn't mention it (or at least it's not

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2021-05-13 Thread Ivan Naydonov
Ivan Naydonov added the comment: I recently faced this problem and this bug was very helpful to understand whats going on. Especially the comment about a problem being a tkinter reference leaked to a thread. Most of the discussions in google results doesn't mention it (or at least it's not

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2021-05-13 Thread Ivan Naydonov
Ivan Naydonov added the comment: I recently faced this problem and this bug was very helpful to understand whats going on. Especially the comment about a problem being a tkinter reference leaked to a thread. Most of the discussions in google results doesn't mention it (or at least it's not

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2021-05-13 Thread Ivan Naydonov
Ivan Naydonov added the comment: I recently faced this problem and this bug was very helpful to understand whats going on. Especially the comment about a problem being a tkinter reference leaked to a thread. Most of the discussions in google results doesn't mention it (or at least it's not

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2021-02-16 Thread John Rouillard
John Rouillard added the comment: Sorry for the spam, but there is no silent post setup for this tracker. On https://github.com/python/psf-infra-meta/issues/74 in July E-paine reports that he can't post to this issue. I just created an account linked to github to see if I am able to post.

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-07-20 Thread E. Paine
Change by E. Paine : -- keywords: +patch pull_requests: +20707 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21532 ___ Python tracker ___

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-07-20 Thread E. Paine
E. Paine added the comment: Trying to manually link the PR to this issue, I have opened https://github.com/python/cpython/pull/21532 -- ___ Python tracker ___

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-07-19 Thread E. Paine
Change by E. Paine : -- keywords: +patch pull_requests: +20697 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21532 ___ Python tracker ___

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-07-19 Thread E. Paine
Change by E. Paine : -- keywords: +patch pull_requests: +20695 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21532 ___ Python tracker ___

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-07-19 Thread E. Paine
Change by E. Paine : -- keywords: +patch pull_requests: +20696 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21532 ___ Python tracker ___

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-07-19 Thread E. Paine
Change by E. Paine : -- keywords: +patch pull_requests: +20694 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21532 ___ Python tracker ___

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-07-19 Thread E. Paine
Change by E. Paine : -- keywords: +patch pull_requests: +20693 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21532 ___ Python tracker ___

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-07-18 Thread E. Paine
Change by E. Paine : -- keywords: +patch pull_requests: +20677 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21532 ___ Python tracker ___

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-07-18 Thread E. Paine
Change by E. Paine : -- keywords: +patch pull_requests: +20676 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21532 ___ Python tracker ___

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-07-18 Thread E. Paine
Change by E. Paine : -- keywords: +patch pull_requests: +20675 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21532 ___ Python tracker ___

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-07-18 Thread E. Paine
E. Paine added the comment: It appears there are issues with this issue and so the PR for it is https://github.com/python/cpython/pull/21532 -- ___ Python tracker ___

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-07-18 Thread E. Paine
Change by E. Paine : -- keywords: +patch pull_requests: +20674 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21532 ___ Python tracker ___

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-07-18 Thread E. Paine
Change by E. Paine : -- keywords: +patch pull_requests: +20670 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21532 ___ Python tracker ___

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-07-18 Thread E. Paine
Change by E. Paine : -- keywords: +patch pull_requests: +20668 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21532 ___ Python tracker ___

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-07-18 Thread E. Paine
Change by E. Paine : -- keywords: +patch pull_requests: +20669 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21532 ___ Python tracker ___

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-07-15 Thread Richard Sheridan
Richard Sheridan added the comment: I stumbled into this in another project and I want to +1 the uncommenting solution. The problem occurs on __del__ rather than specifically in the gc somewhere (it happens when refs drop to zero too), so I wouldn't worry too much about killing the garbage

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-07-15 Thread Richard Sheridan
Richard Sheridan added the comment: I stumbled into this in another project and I want to +1 the uncommenting solution. The problem occurs on __del__ rather than specifically in the gc somewhere (it happens when refs drop to zero too), so I wouldn't worry too much about killing the garbage

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-07-15 Thread Richard Sheridan
Richard Sheridan added the comment: I stumbled into this in another project and I want to +1 the uncommenting solution. The problem occurs on __del__ rather than specifically in the gc somewhere (it happens when refs drop to zero too), so I wouldn't worry too much about killing the garbage

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-07-15 Thread Richard Sheridan
Richard Sheridan added the comment: I stumbled into this in another project and I want to +1 the uncommenting solution. The problem occurs on __del__ rather than specifically in the gc somewhere (it happens when refs drop to zero too), so I wouldn't worry too much about killing the garbage

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-06-18 Thread E. Paine
E. Paine added the comment: > ... would break any code that puts the interpreter in a non-main thread Have people not been warned enough?! But seriously, looking anywhere on Google will scream at you to stop using using threads with tkinter, let alone having the interpreter in a thread. I

[issue39093] tkinter objects garbage collected from non-tkinter thread cause crash

2020-06-17 Thread obserience
obserience added the comment: I looked into this in greater depth a while back and never followed up. In "Modules/_tkinter.c" the Tkapp_Dealloc() function has a commented out check that would ensure it isn't called from the wrong thread. Tkapp_Dealloc(PyObject *self) { PyObject *tp =