[Scipy-tickets] [SciPy] #1714: fftpack segfault with big arrays

SciPy Trac scipy-tickets@scipy....
Wed Aug 1 05:55:04 CDT 2012

#1714: fftpack segfault with big arrays
 Reporter:  serbanul                       |       Owner:  cdavid
     Type:  defect                         |      Status:  new   
 Priority:  normal                         |   Milestone:  0.11.0
Component:  scipy.fftpack                  |     Version:  0.10.0
 Keywords:  segfault, fftpack, big, array  |  

 I use scipy 0.10.1 with numpy 1.6.2 on a Slackware 13.37 32bit box (gcc
 4.5.2, glibc 2.13, python 2.6.6) and experience segfaults when using big
 arrays with fftpack's fft2. This does not happen when the array is
 obviously too big to fit the memory (4GB nominaly), in which case I
 receive an MemoryError exception, as it should be. It happens when the
 size of the array goes beyond a certain limit, which for 64bit floats is
 approximately 4.55e7 elements. Please find the appropriate code snippet
 and the back trace for a relevant array size within the attached files. At
 the end of the file with the backtrace, there is also an example for the
 case in which a MemoryError exception is raised.

 Best regards,

 Serban Udrea

Ticket URL: <http://projects.scipy.org/scipy/ticket/1714>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list