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

2012-07-24 Thread Ondřej Čertík
On Tue, Jul 24, 2012 at 5:38 PM, Ondřej Čertík wrote: > Possible conclusion: > > I think I know what is going on. I use > > $ wine --version > wine-1.3.28 > > and it installs (by default) the following msvcr libraries: > > > $ ls ~/.wine/drive_c/windows/winsxs/ > manifests > Policies > x86_microso

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

2012-07-24 Thread Ondřej Čertík
Possible conclusion: I think I know what is going on. I use $ wine --version wine-1.3.28 and it installs (by default) the following msvcr libraries: $ ls ~/.wine/drive_c/windows/winsxs/ manifests Policies x86_microsoft.msxml2_6bd6b9abf345378f_4.1.0.0_none_deadbeef x86_microsoft.vc80.crt_1fc8b3

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

2012-07-24 Thread Ondřej Čertík
On Tue, Jul 24, 2012 at 5:04 PM, Ondřej Čertík wrote: > On Tue, Jul 24, 2012 at 3:58 PM, Ondřej Čertík > wrote: >> 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

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

2012-07-24 Thread Ondřej Čertík
On Tue, Jul 24, 2012 at 3:58 PM, Ondřej Čertík wrote: > 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 e

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

2012-07-24 Thread Ondřej Čertík
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 bin

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

2012-07-24 Thread Ralf Gommers
On Tue, Jul 24, 2012 at 5:14 PM, Ondřej Čertík wrote: > On Fri, Jul 20, 2012 at 11:51 AM, David Cournapeau > wrote: > > On Thu, Jul 19, 2012 at 4:58 PM, Ondřej Čertík > 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

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

2012-07-24 Thread Ondřej Čertík
On Fri, Jul 20, 2012 at 11:51 AM, David Cournapeau wrote: > On Thu, Jul 19, 2012 at 4:58 PM, Ondřej Čertík > 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/d

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

2012-07-20 Thread David Cournapeau
On Thu, Jul 19, 2012 at 4:58 PM, Ondřej Čertík 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": > > binutils-2.17.50-20070129-1.tar.gz > w32api-3.7.ta

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

2012-07-20 Thread David Cournapeau
On Fri, Jul 20, 2012 at 12:24 PM, Ondřej Čertík 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": >>> >> Not surprising, that MinGW is really gettin

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

2012-07-20 Thread Ondřej Čertík
>> 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": >> > Not surprising, that MinGW is really getting old. It's still the last > available one with gcc 3.x as II

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

2012-07-19 Thread Ralf Gommers
On Thu, Jul 19, 2012 at 5:58 PM, Ondřej Čertík wrote: > On Thu, Jul 19, 2012 at 12:58 PM, Ondřej Čertík > wrote: > >>> I've nailed it to: > >>> > >> import numpy as np > >> np.array([complex(0, 1)], np.complex64) > >>> wine: Unhandled page fault on read access to 0x at address > >

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

2012-07-19 Thread Ondřej Čertík
On Thu, Jul 19, 2012 at 12:58 PM, Ondřej Čertík wrote: >>> I've nailed it to: >>> >> import numpy as np >> np.array([complex(0, 1)], np.complex64) >>> wine: Unhandled page fault on read access to 0x at address >>> (nil) (thread 0009), starting debugger... >>> ... > > Btw, I tried t

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

2012-07-19 Thread Ondřej Čertík
>> I've nailed it to: >> > import numpy as np > np.array([complex(0, 1)], np.complex64) >> wine: Unhandled page fault on read access to 0x at address >> (nil) (thread 0009), starting debugger... >> ... Btw, I tried to debug it using: $ winedbg --gdb "C:\Python27\python" and I got

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

2012-07-19 Thread Ondřej Čertík
On Thu, Jul 19, 2012 at 2:24 AM, Ondřej Čertík wrote: > Hi Ralf, > > On Wed, Jul 18, 2012 at 7:25 PM, Ralf Gommers > wrote: >> >> >> On Wed, Jul 18, 2012 at 1:24 PM, Ondřej Čertík >> wrote: >>> >>> Hi, >>> >>> I managed to compile NumPy in MinGW under Wine in Ubuntu 11.10 and >>> here is a full

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

2012-07-18 Thread Ondřej Čertík
Hi Ralf, On Wed, Jul 18, 2012 at 7:25 PM, Ralf Gommers wrote: > > > On Wed, Jul 18, 2012 at 1:24 PM, Ondřej Čertík > wrote: >> >> Hi, >> >> I managed to compile NumPy in MinGW under Wine in Ubuntu 11.10 and >> here is a full log of the tests: >> >> https://gist.github.com/3135607 >> >> It fails

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

2012-07-18 Thread Ralf Gommers
On Wed, Jul 18, 2012 at 1:24 PM, Ondřej Čertík wrote: > Hi, > > I managed to compile NumPy in MinGW under Wine in Ubuntu 11.10 and > here is a full log of the tests: > > https://gist.github.com/3135607 > > It fails at the test test_str (test_arrayprint.TestComplexArray) with > a segfault like this

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

2012-07-18 Thread Ondřej Čertík
Hi, I managed to compile NumPy in MinGW under Wine in Ubuntu 11.10 and here is a full log of the tests: https://gist.github.com/3135607 It fails at the test test_str (test_arrayprint.TestComplexArray) with a segfault like this: test_str (test_arrayprint.TestComplexArray) ... wine: Unhandled pa