[SciPy-dev] All tests in test_basic pass

Pearu Peterson pearu at scipy.org
Wed Oct 5 20:00:37 CDT 2005



On Wed, 5 Oct 2005, Robert Kern wrote:

> Travis Oliphant wrote:
>>
>> With the new SVN, all tests in test_basic  pass.
>>
>> I think it's time for another beta release...
>
> I'm getting a segfault if I try to evaluate something after I run the
> test suite from the interpreter. E.g.
>
> ..........................................................................................................................
> ----------------------------------------------------------------------
> Ran 122 tests in 0.909s
>
> OK
> <unittest.TextTestRunner object at 0x58ebf0>
>>>> 1
> zsh: segmentation fault  python

I get segfault after calling scipy.test() several times in row. In most 
cases python crashes when scipy.test() has been called 12 times.
Here's libwadpy output:

...
----------------------------------------------------------------------
Ran 122 tests in 0.243s

OK
WAD: Collecting debugging information...
WAD: Heap overflow detected.
WAD: Segmentation fault.
#23  0x080b8695 in PyEval_EvalCode()
#22  0x080b8417 in PyEval_EvalCodeEx()
#21  0x080b6b64 in ?()
#20  0x080b8417 in PyEval_EvalCodeEx()
#19  0x080b6b64 in ?()
#18  0x080b8417 in PyEval_EvalCodeEx()
#17  0x080b6b64 in ?()
#16  0x080b8417 in PyEval_EvalCodeEx()
#15  0x080b6d7c in ?()
#14  0x080b6b64 in ?()
#13  0x080b8417 in PyEval_EvalCodeEx()
#12  0x080b6b64 in ?()
#11  0x080b8417 in PyEval_EvalCodeEx()
#10  0x080b7733 in ?()
#9   0x080b8417 in PyEval_EvalCodeEx()
#8   0x080b6b64 in ?()
#7   0x080b7fa6 in PyEval_EvalCodeEx()
#6   0x080f8b63 in ?()
#5   0x0808bb3e in ?()
#4   0x0807aa8d in ?()
#3   0x0806e0e0 in ?()
#2   0x0808bb3e in ?()
#1   0x0807aa15 in ?()
#0   0x080dfbb1 in PyObject_GC_UnTrack()
---------------------------------------------------------------------------
exceptions.SegFault                                  Traceback (most 
recent call last)


SegFault: [ C stack trace ]

#23  0x080b8695 in PyEval_EvalCode()
#22  0x080b8417 in PyEval_EvalCodeEx()
#21  0x080b6b64 in ?()
#20  0x080b8417 in PyEval_EvalCodeEx()
#19  0x080b6b64 in ?()
#18  0x080b8417 in PyEval_EvalCodeEx()
#17  0x080b6b64 in ?()
#16  0x080b8417 in PyEval_EvalCodeEx()
#15  0x080b6d7c in ?()
#14  0x080b6b64 in ?()
#13  0x080b8417 in PyEval_EvalCodeEx()
#12  0x080b6b64 in ?()
#11  0x080b8417 in PyEval_EvalCodeEx()
#10  0x080b7733 in ?()
#9   0x080b8417 in PyEval_EvalCodeEx()
#8   0x080b6b64 in ?()
#7   0x080b7fa6 in PyEval_EvalCodeEx()
#6   0x080f8b63 in ?()
#5   0x0808bb3e in ?()
#4   0x0807aa8d in ?()
#3   0x0806e0e0 in ?()
#2   0x0808bb3e in ?()
#1   0x0807aa15 in ?()
#0   0x080dfbb1 in PyObject_GC_UnTrack()

WAD: Collecting debugging information...
WAD: Segmentation fault.
#5   0x080549a1 in ?()
#4   0x4102e413 in ?()
#3   0x08054e41 in Py_Main()
#2   0x080d8bc6 in Py_Finalize()
#1   0x080e0764 in PyGC_Collect()
#0   0x080dfe50 in ?()



Pearu




More information about the Scipy-dev mailing list