This is a very tough one:
I have three Mac OS X computers (10.5.8). All run exactly the same sofware
(python 2.6, qt, pyqt, numpy 1.3.0, scipy 0.7.1, matplolib 0.99.1.1; all
installed from the same version with same ports version of MacPorts). Xcode
and gcc version is also the same.
When I do the following (i configured the PyQt4Agg backend on all
machines):
ipython -pylab
t = linspace(0,2*pi,2000)
plot(t,sin(t))
close("all") # <- this line crashes on 1 of the three macs
The last line crashes on one of the computers, but not on the others. A fix
(or workaround?) that avoids this crash is commenting the line 281 in
backend_qt4.py in matplotlib.
if self.toolbar: self.toolbar.destroy()
I am not sure if the this introduces a memory leak, but it fixes the crash
issue.
Can somone comment on this interesting bug?
Cheers,
Holger
Nobody/Anonymous
None
None
Public
|
Date: 2009-10-05 09:14 Since putting this up, I updated to Snow leopard (10.6) and had to rebuild |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use