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

Ondřej Čertík ondrej.certik@gmail....
Thu Jul 19 05:58:42 CDT 2012

>> I've nailed it to:
>>>>> import numpy as np
>>>>> np.array([complex(0, 1)], np.complex64)
>> wine: Unhandled page fault on read access to 0x00000000 at address
>> (nil) (thread 0009), starting debugger...
>> ...

Btw, I tried to debug it using:

$ winedbg --gdb "C:\Python27\python"

and I got:

Wine-gdb> backtrace
#0  0x7bc73735 in call_exception_handler ()
   from /usr/bin/../lib32/wine/ntdll.dll.so
#1  0x7bc76397 in ?? () from /usr/bin/../lib32/wine/ntdll.dll.so
#2  0xdeadbabe in ?? ()
Backtrace stopped: Not enough registers or memory available to unwind further

So unfortunately it doesn't show where exactly it fails, I would need
to get the full stack trace. Also I noticed even simpler
way to segfault it:

import numpy


More information about the NumPy-Discussion mailing list