[Numpy-discussion] possibly ctypes related segfault
Stefan van der Walt
Mon Aug 27 18:22:53 CDT 2007
On Mon, Aug 27, 2007 at 08:21:43PM +0200, Lino Mastrodomenico wrote:
> Hi Martin,
> 2007/8/27, Martin Wiechert <email@example.com>:
> > I could not reproduce the bug in a debug build of python (--without-pymalloc)
> > or on another machine. The crashing machine is an eight-way opteron.
> Not sure if it's related to your problem, but on 64-bit architectures
> sizeof(ssize_t) is 8.
You should be able to circumvent this problem by referring to
ctypes.c_size_t or ctypes.int instead of specifying the width
More information about the Numpy-discussion