[Scipy-tickets] [SciPy] #1267: Sparse matrix operations crash python interpreter

SciPy Trac scipy-tickets@scipy....
Wed Aug 18 13:08:19 CDT 2010


#1267: Sparse matrix operations crash python interpreter
-------------------------+--------------------------------------------------
 Reporter:  lutz         |       Owner:  somebody
     Type:  enhancement  |      Status:  new     
 Priority:  low          |   Milestone:  0.9.0   
Component:  Other        |     Version:  0.7.0   
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by lutz):

  * priority:  normal => low
  * type:  defect => enhancement


Comment:

 Based on the backtrace, it seems like there is a very deep recursion
 occurring in array_dealloc, which might exhaust the stack. Indeed,
 changing the stack size to 32 megabytes (using ulimit -s) keeps the
 interpreter from crashing.

 Since this isn't really a bug in SciPy, I have changed the status of this
 ticket to a proposed enhancement: implement a more stack-friendly method
 to deallocate such objects.

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