[Numpy-discussion] Segfault in mingw in test_arrayprint.TestComplexArray
Fri Jul 20 13:51:18 CDT 2012
On Thu, Jul 19, 2012 at 4:58 PM, Ondřej Čertík <firstname.lastname@example.org> wrote:
> So I have tried the MinGW-5.0.3.exe in Wine, but it tries to install
> from some wrong url and it fails to install.
> I have unpacked the tarballs by hand into "~/.wine/drive_c/MinGW":
> also in the same directory, I had to do:
> cp ../windows/system32/msvcr90.dll lib/
I think that's your problem right there. You should not need to do
that, and doing so will likely result in having multiple copies of the
DLL in your process (you can confirm with process dependency walker).
This should be avoided at all cost, as the python C API is not
designed to deal with this, and your crashes are pretty typical of
what happens in those cases.
More information about the NumPy-Discussion