New submission from Ivan Pozdeev <ivan_pozd...@mail.ru>: With threaded Tkinter, TkinterHanders3.py from https://bugs.python.org/issue33257 (attached) hangs.
Tracing with thread_debug and a modified trace.py (to show TIDs, attached) shows that worker threads are waiting for the Tcl lock while the main thread that holds it keeps waiting for some other lock with a strange timeout: 19000: PyThread_acquire_lock_timed(00000000001B0F80, 0) called 19000: PyThread_acquire_lock(00000000001B0F80, 0) -> 0 19000: PyThread_acquire_lock_timed(00000000001B0F80, -1000000) called Tested on 3.6 head, win7 x64, debug build. ---------- components: Tkinter files: TkinterHanders3.py messages: 316082 nosy: Ivan.Pozdeev priority: normal severity: normal status: open title: Tkinter hangs if using multiple threads and event handlers type: crash versions: Python 3.6, Python 3.7, Python 3.8 Added file: https://bugs.python.org/file47562/TkinterHanders3.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33412> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com