[Scipy-tickets] [SciPy] #1330: special.specfun.jdzo array access out of bounds

SciPy Trac scipy-tickets@scipy....
Tue Nov 23 04:29:07 CST 2010

#1330: special.specfun.jdzo array access out of bounds
 Reporter:  dagss   |       Owner:  somebody
     Type:  defect  |      Status:  new     
 Priority:  high    |   Milestone:  0.9.0   
Component:  Other   |     Version:  0.8.0   
 Keywords:          |  
Changes (by dagss):

 * cc: dagss@… (added)


 By initializing X to 0, the problem is reproduced reliably, and always
 access out of bounds for argument NT=1 no matter of previous calls.

 I have a patch useful for debugging up at



 What I found so far: On the initial jump to label 15 (right before label
 10), X is uninitialized, and then subsequently used. After initializing X
 this stops being a Heisenbug.

 I really need to move over to other things now, but I imagine one can
 simply code up a special return path for NT=1. The use of uninitialized X
 worries me anyway though (Valgrind shows this at NT=2 as well).

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