[IPython-user] Multithreading shell simplified, testing needed
Darren Dale
darren.dale@cornell....
Wed Mar 12 08:24:15 CDT 2008
On Tuesday 11 March 2008 07:28:39 pm Fernando Perez wrote:
> On Tue, Mar 11, 2008 at 11:29 AM, Ville M. Vainio <vivainio@gmail.com>
wrote:
> > I have simplified the multithreading (MTInteractiveShell) quite a bit,
> > and I need people to test it with different backends.
>
> Great, I'll play with it for a few days with the various MPL backends,
> and I'll keep you posted. Obviously more testing from others would be
> very welcome.
I am also testing by starting python with -gthread, q4thread, etc, and running
the various embedding_in_* scripts in matplotlibs examples archive.
When I tested -gthread, I found a corner case that failed with the gtk
backend, but it does so with the old code as well:
|1> run embedding_in_gtk3.py
|2>
Do you really want to exit ([y]/n)? n
|3> run embedding_in_gtk2.py
At this point, ipython hangs, and I kill it from another shell. Now I can't
restart ipython with -gthread:
darren@dale $ ipython -gthread
IPython 0.8.3.bzr.r46 [on Py 2.5.1]
|1> *** glibc detected *** /usr/bin/python: malloc(): memory corruption:
0x0000000000bb3b90 ***
======= Backtrace: =========
[backtrace changes each time I try to restart ipython with -gthread]
I ended up clearing my site-packages/IPython and ipython-bzr/build directories
and reinstalling from scratch in order to start ipython with -gthread again.
q4thread seems ok, similar tests do not cause ipython to hang.
Darren
More information about the IPython-user
mailing list