[IPython-dev] (Known) Lockups with -qthread

Fernando Perez fperez.net@gmail....
Thu Sep 20 11:43:40 CDT 2007


On 9/20/07, Hans Meine <hans_meine@gmx.net> wrote:
> Hi!
>
> Today, I suffered a lot from IPython stopping responding with -qthread, after
> long computations that have to be repeated on every restart. :-(
>
> I think the problem appears more often in high-load situations, or - in my
> case - when my custom widget's paintEvent() takes a long time to draw
> something and I enter a command in IPython during the drawing.
>
> Now my question is - do these lockups also happen with GTK and/or Qt4?

I'm afraid I can't really say: I have too much code that uses the old
Tk-based Mayavi 1.5, so I'm still using the Tk matplotlib backend,
hence my everyday usage rarely loads the threaded support.  I think
the Enthought guys use it a lot, so perhaps Robert can chime in and
let us know how flaky or robust it's proven for them (they use WX).

I'm sure there's bugs in the locking strategies of that code.  A
serious review from a threads expert (that is most definitely NOT me)
would be immensely welcome on this front.

Cheers,

f


More information about the IPython-dev mailing list