From: Tony S Yu <ts...@gm...> - 2009-11-30 17:53:51
|
On Nov 30, 2009, at 9:09 AM, Jcmottram wrote: > > Hi, > I've been having an almost identical problem with described above with > the MacOSX backend. When I switched to the TkAgg backend, the segfault > occurs when I try pylab.close() instead. > > I may have had the same problem. Do you happen to be on a recent revision? Christoph Gohlke pointed out a typo introduced in r7985 (see bug report). The patch below fixed the segfaults on my system. Best, -Tony Index: setupext.py =================================================================== --- setupext.py (revision 7987) +++ setupext.py (working copy) @@ -122,7 +122,7 @@ 'backend': None} defines = [ - ('PY_ARRAYAUNIQUE_SYMBOL', 'MPL_ARRAY_API'), + ('PY_ARRAY_UNIQUE_SYMBOL', 'MPL_ARRAY_API'), ('PYCXX_ISO_CPP_LIB', '1')] # Based on the contents of setup.cfg, determine the build options |