[SciPy-dev] weave.test() causes segfault!

Nicholas Konidaris npk at astro.ucsc.edu
Wed Oct 2 02:39:22 EDT 2002


Hello all --

[PYTHON STARTUP]
Python 2.2.1 (#11, Sep 30 2002, 16:34:45) 
[GCC 2.96 20000731 (Red Hat Linux 7.3 2.96-112)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import weave
>>> weave.test()
 creating test suite for: weave.ast_tools
No test suite found for  weave.base_info
No test suite found for  weave.base_spec
No test suite found for  weave.blitz_info
No test suite found for  weave.blitz_spec
 creating test suite for: weave.blitz_tools
 creating test suite for: weave.build_tools
 creating test suite for: weave.catalog
No test suite found for  weave.code_blocks
No test suite found for  weave.common_info
 creating test suite for: weave.common_spec
No test suite found for  weave.conversion_code
No test suite found for  weave.conversion_code_old
No test suite found for  weave.cxx_info
No test suite found for  weave.dumbdbm_patched
No test suite found for  weave.dumb_shelve
 creating test suite for: weave.ext_tools
building extensions here: /export/home/grads/npk/.python22_compiled/257540
building extensions here: /export/home/grads/npk/.python22_compiled/257541
No test suite found for  weave.inline_info
 creating test suite for: weave.inline_tools
No test suite found for  weave.lib2def
No test suite found for  weave.misc
No test suite found for  weave.scalar_info
 creating test suite for: weave.scalar_spec
 creating test suite for: weave.sequence_spec
 creating test suite for: weave.size_check
 creating test suite for: weave.slice_handler
No test suite found for  weave.standard_array_info
 creating test suite for: weave.standard_array_spec
No test suite found for  weave.swig_info
No test suite found for  weave.wx_info
No test suite found for  weave.wx_spec
No test suite found for  weave.tests
...
Expression: result[1:-1,1:-1] = (b[1:-1,1:-1] + b[2:,1:-1] + b[:-2,1:-1]+ b[1:-1,2:] + b[1:-1,:-2]) / 5.
Run: (10, 10) f

Ewarning: specified build_dir '_bad_path_' does not exist or is or is not writable. Trying default locations

...warning: specified build_dir '..' does not exist or is or is not writable. Trying default locations

.warning: specified build_dir '_bad_path_' does not exist or is or is not writable. Trying default locations

...warning: specified build_dir '..' does not exist or is or is not writable. Trying default locations

............................Segmentation fault (core dumped)



So I tried to look up _bad_path_ in the code (with grep) but I was not 
able to figure out what exactly the test suite is doing by putting bad 
paths into the pathlist.

I have the Numeric module, I have python 2.2, I'm not sure what is going 
on!

Please help!
Thank you
Nick




More information about the SciPy-Dev mailing list