[SciPy-dev] newscipy segfaults fixed!

Nils Wagner nwagner at mecha.uni-stuttgart.de
Tue Oct 18 11:20:57 CDT 2005


On Tue, 18 Oct 2005 18:04:50 +0200 (CEST)
  Arnd Baecker <arnd.baecker at web.de> wrote:
> On Tue, 18 Oct 2005, Pearu Peterson wrote:
> 
>> Hi,
>> The segfaults in newcore hava now a fix in SVN. 
>>Currently scipy.test()
>> gives more than 200 errors, but they should go away as 
>>soon as newscipy
>> packages have been ported to newcore.
> 
> Sorry, Pearu, but I still get one on the opteron:
> 
>  from scipy.linalg import fblas
>  fblas.sger(1,[1,2],[3,4])
> 
> segfaults ( check_ger from test_blas.py).
> 
> This is with
> In [1]: import scipy
> In [2]: scipy.base.__version__
> Out[2]: '0.4.3.1300'
> (and new scipy At revision 1336).
> 
> Additional remark:
>  After commenting out all tests in check_ger()
>  all tests run through.
>  Now, removing the commmented out part
>  and re-running the test in a new session
>  gives no segfault - very weird!
>  Anway, the above two lines do reproduce the segfault
>  systematically.
> 
> Best, Arnd
> 
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-dev

  

I cannot reproduce this segfault

>>> from scipy.linalg import fblas
Importing io to scipy
Importing special to scipy
Importing utils to scipy
Importing interpolate to scipy
Importing optimize to scipy
Importing linalg to scipy
>>> fblas.sger(1,[1,2],[3,4])
array([[ 3.,  4.],
        [ 6.,  8.]], dtype=float32)

Nils













More information about the Scipy-dev mailing list