[Numpy-discussion] Segfault in mingw in test_arrayprint.TestComplexArray

Ondřej Čertík ondrej.certik@gmail....
Tue Jul 24 17:58:40 CDT 2012


Ralf,

>> David, what version of binutils do you use?
>> I use 2.17.50 (https://github.com/certik/numpy-vendor)
>> and maybe that's the problem, that the objdump from there
>> can't read the msvcr library.
>>
>> I use gcc 3.4.5. What exact version do you use in wine?
>>
>
> I have gcc 3.4.5 and binutils 2.20. I'll send you a tar file with all the
> binaries off-list. Apologies in advance for clogging your inbox.

Thanks a lot for this. It helped a lot.


I got your binutils 2.20, installed (into a clean .wine environment),
and used the original numpy code
from the maintenance/1.7.x, it still fails with the "ValueError:
Symbol table not found" exception
due to this problem:


Z:\home\ondrej>objdump -t
C:\windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4148_none_deadbeef\msvcr90.dll
objdump: C:\windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4148_none_deadbeef\msvcr90.dll:
File format not recognized


My binutils are correct now:


Z:\home\ondrej>objdump --version
GNU objdump (GNU Binutils) 2.20
Copyright 2009 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.


So now I know that the problem is not there, and so it must be in my
msvcr90.dll library somehow. I will keep digging.

Ondrej


More information about the NumPy-Discussion mailing list