[Twisted-Python] wxpython, threadselectreactor and thread

Antoine Pitrou solipsis at pitrou.net
Mon May 30 12:30:47 EDT 2005


> This example segfaults on Mac OS X (python 2.4.1, twisted svn,  
> wxPython 2.6).  I'm going to blame wxPython unless you can prove that  
> threadedselectreactor has some weird interaction with threads in an  
> otherwise sane environment.  Are you sure that it's allowed to create  
> frames in a separate thread like that?

It is generally not allowed to make wx calls (except wx.CallAfter and
the like) from another thread than the wx main loop. It can be the
source of non-deterministic crashes (depending on the platform).

Regards

Antoine.






More information about the Twisted-Python mailing list