[Scipy-tickets] [SciPy] #1194: interp2d segfault in SciPy 0.7.0

SciPy Trac scipy-tickets@scipy....
Thu Jun 10 05:59:31 CDT 2010


#1194: interp2d segfault in SciPy 0.7.0
-------------------------------+--------------------------------------------
 Reporter:  andrew.clegg       |       Owner:  somebody
     Type:  defect             |      Status:  new     
 Priority:  normal             |   Milestone:  0.8.0   
Component:  scipy.interpolate  |     Version:  0.7.0   
 Keywords:  crash              |  
-------------------------------+--------------------------------------------

Comment(by pv):

 Me neither, Numpy 1.3.0, Scipy 0.7.0:
 {{{
 $ valgrind --suppressions=$HOME/.valgrind/valgrind-python.supp python
 foo.py
 ==4768== Memcheck, a memory error detector
 ==4768== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
 ==4768== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for
 copyright info
 ==4768== Command: python foo.py
 ==4768==
 Warning:     No more knots can be added because the number of B-spline
 coefficients
     already exceeds the number of data points m. Probably causes: either
     s or m too small. (fp>s)
         kx,ky=1,1 nx,ny=5,6 m=10 fp=0.000481 s=0.000000
 ==4768==
 ==4768== HEAP SUMMARY:
 ==4768==     in use at exit: 4,101,292 bytes in 1,439 blocks
 ==4768==   total heap usage: 94,655 allocs, 93,216 frees, 60,378,413 bytes
 allocated
 ==4768==
 ==4768== LEAK SUMMARY:
 ==4768==    definitely lost: 0 bytes in 0 blocks
 ==4768==    indirectly lost: 0 bytes in 0 blocks
 ==4768==      possibly lost: 110,050 bytes in 148 blocks
 ==4768==    still reachable: 3,991,226 bytes in 1,290 blocks
 ==4768==         suppressed: 16 bytes in 1 blocks
 ==4768== Rerun with --leak-check=full to see details of leaked memory
 ==4768==
 ==4768== For counts of detected and suppressed errors, rerun with: -v
 ==4768== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2624 from
 149)
 }}}
 Note that Valgrind does not report errors, so memory corruption does not
 seem likely either.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1194#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