I'm running into a really bizarre error that seems to have started spontaneously (no changes I can think of were made to my system in the last few days and mpl was plotting without problems up until a few hours ago). When using WxAgg, the following code raises a malloc error.
>>> import matplotlib.pyplot as plt
>>> plt.plot([0, 1])
Python(477,0xa0710720) malloc: *** error for object 0x220068: Non-aligned pointer being freed
*** set a breakpoint in malloc_error_break to debug
This error only occurs on the Wx/WxAgg backends AND when show() is called; Qt4Agg, TkAgg, and MacOSX backends work fine.
This error is also generated when starting ipython with the pylab flag (and WxAgg set as the default backend).
Sorry I can't give more information about the error itself; I'm not sure how to in this case.
Thanks in advance for your help,
Mac OS X 10.5.7
Matplotlib trunk r7142
WX 126.96.36.199 (mac-unicode)