[SciPy-dev] segfault in leastsq
Neal Becker
ndbecker2 at gmail.com
Tue May 16 08:33:53 EDT 2006
Nils Wagner wrote:
> Neal Becker wrote:
>> from scipy.optimize import leastsq
>> from math import exp
>>
>> def f (x):
>> print x
>> return (exp (x) - exp (0.5))
>>
>> print leastsq (f, 0.1)
>>
>> Python 2.4.2 (#1, Feb 12 2006, 03:45:41)
>> [GCC 4.1.0 20060210 (Red Hat 4.1.0-0.24)] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>>
>>>>> ## working on region in file /usr/tmp/python-CzAVPU.py...
>>>>>
>> [ 0.1]
>> [ 0.1]
>>
>> Process Python segmentation fault
>> scipy-0.4.8-4
>> numpy-0.9.6-1.fc5
>>
>> _______________________________________________
>> Scipy-dev mailing list
>> Scipy-dev at scipy.net
>> http://www.scipy.net/mailman/listinfo/scipy-dev
>>
> Here is the output of gdb
>
> I am using
> Numpy version 0.9.7.2502
> Scipy version 0.4.9.1897
>
> Starting program: /usr/bin/python neal.py
> [Thread debugging using libthread_db enabled]
> [New Thread 16384 (LWP 17117)]
> [ 0.1]
> [ 0.1]
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16384 (LWP 17117)]
> 0x00002aaab01be80f in minpack_lmdif (dummy=<value optimized out>,
> args=<value optimized out>) at __minpack.h:452
> 452 m = ap_fvec->dimensions[0];
Yes, same here.
More information about the SciPy-Dev
mailing list