On 2013-09-19 15:17,
sebastie...@gmail.com wrote:
> Hello,
> I would like to report about a crash that occurs under Windows 7
> (Python 3.3 + MinGW), when trying to call the multi-threaded version
> of FFTW from within Cython. I should mention that FFTW was compiled
> with the --enable-threads --with-combined-threads options. The example
> below works smoothly in my linux virtual machine. Under windows, it
> compiles without any problem, but crashes at runtime. I've narrowed
> the crash down to the call to fftw_execute. I've temporarily switched
> to a FFTW library which was compiled without the --enable-threads, and
> the example works under windows. Finally, I wrote the same example in
> pure C, and it works under Windows.
>
> To sum up, it seems like there is a problem with the threaded version
> of FFTW when called from Cython under Windows 7. I suspect it has
> something to do with Python not liking the threads (GIL?). I'm not an
> expert on that topic, but what is strange is the fact that my Cython
> code works like a charm under linux. Also, I do not think there is a
> problem with my MinGW compiler, as the pure C (multi-threaded) example
> also works under linux.
>
> Any ideas ?
>
manifested itself on the multi-threaded library. The effect was to