Re: [Tkinter-discuss] TclStackFree Error

2011-02-11 Thread Trevor J. Christensen
> Hi Trevor, > > Thus spoketh "Trevor J. Christensen" > unto us on Wed, 9 Feb 2011 09:54:13 -0700: > > > Under Windows XP, the following simple program crashes after 20 > > seconds or so with the following error: > > > > TclStackFree: incorrect freePtr. Call out of sequence? > > > > It beh

Re: [Tkinter-discuss] TclStackFree Error

2011-02-11 Thread Trevor J. Christensen
> The problem is that you must _n e v e r_ access the tk event loop > from more than one thread. The best practice is to always run the > mainloop () within the main program thread and, if child threads are > really necessary, to use e.g. threading.Condition or Queue.Queue > objects to handle t

Re: [Tkinter-discuss] TclStackFree Error

2011-02-09 Thread Michael Lange
Hi Trevor, Thus spoketh "Trevor J. Christensen" unto us on Wed, 9 Feb 2011 09:54:13 -0700: > Under Windows XP, the following simple program crashes after 20 seconds > or so with the following error: > > TclStackFree: incorrect freePtr. Call out of sequence? > > It behaves the same under pyt