[Scipy-tickets] [SciPy] #1241: __fitpack.h pointer incompatibility.

SciPy Trac scipy-tickets@scipy....
Sat May 7 13:54:31 CDT 2011


#1241: __fitpack.h pointer incompatibility.
---------------------+------------------------------------------------------
 Reporter:  charris  |       Owner:  charris
     Type:  defect   |      Status:  new    
 Priority:  normal   |   Milestone:  0.9.0  
Component:  Other    |     Version:  0.7.0  
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by cburns1):

 I've come across this problem with Mac OSX 10.6.7 on a PowerMac running in
 64-bit mode, Xcode version 3.2.6, and using gfortran.  The npy_intp passed
 to the FITPACK routines are 64-bit and should be 32-bit instead.  The
 returned integer is invalid (in my case a ridiculously huge value) and
 when used to allocate memory for the returned array, causes either a
 MemoryError or just brings the system to its knees by trying to allocate
 too much.

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


More information about the Scipy-tickets mailing list