[SciPy-dev] All tests in test_basic pass

Robert Kern rkern at ucsd.edu
Wed Oct 5 19:57:35 EDT 2005


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

The stack trace:

Thread 0 Crashed:
0   org.python.python 	0x100bf9e8 PyObject_GC_UnTrack + 28 (gcmodule.c:1234)
1   org.python.python 	0x1004dfe4 subtype_dealloc + 196 (typeobject.c:643)
2   org.python.python 	0x10037fd4 dict_dealloc + 192 (dictobject.c:728)
3   org.python.python 	0x1004e1d8 subtype_dealloc + 696 (typeobject.c:692)
4   org.python.python 	0x10036984 PyDict_SetItem + 276 (dictobject.c:398)
5   org.python.python 	0x1003cbe8 PyObject_GenericSetAttr + 440
(object.c:1371)
6   org.python.python 	0x1003c62c PyObject_SetAttr + 244 (object.c:1124)
7   org.python.python 	0x1003dae4 PyObject_SetAttrString + 100
(object.c:1044)
8   org.python.python 	0x100b6548 sys_displayhook + 140 (sysmodule.c:105)

Also, when I run the tests from the command line (python -c "import
scipy; scipy.test(10,10)"), I get a segfault in the middle of the test run:

check_scalar
(scipy.base.function_base.test_function_base.test_vectorize) ... ok
check_simple
(scipy.base.function_base.test_function_base.test_vectorize) ... ok
check_matrix (scipy.base.twodim_base.test_twodim_base.test_diag) ...
zsh: segmentation fault  python -c "import scipy; scipy.test(10,10)"

with this stack trace:

Thread 0 Crashed:
0   org.python.python 	0x1003ee8c PyObject_Malloc + 88 (obmalloc.c:605)
1   multiarray.so     	0x002077c0 dyld_stub_PyErr_SetString + 1848400
2   multiarray.so     	0x0020b3fc dyld_stub_PyErr_SetString + 1863820
3   multiarray.so     	0x0020b230 dyld_stub_PyErr_SetString + 1863360
4   umath.so          	0x000c9adc initumath + 77344

Running test_twodim_base.py from the command line gives no error, nor
does running test_basic.py .

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter




More information about the SciPy-Dev mailing list