[Numpy-discussion] crash at prompt exit after running test
cohen at lpta.in2p3.fr
Wed Mar 10 04:28:07 EST 2010
On 03/10/2010 01:55 AM, Pauli Virtanen wrote:
>> more fun :
>> [cohen at jarrett tests]$ pwd
>> [cohen at jarrett tests]$ python -c 'import test_ufunc'
>> python: Modules/gcmodule.c:277: visit_decref: Assertion `gc->gc.gc_refs
>> != 0' failed.
>> Aborted (core dumped)
> What happens if you only import the umath_tests module (or something, it's a .so under numpy.core)?
[cohen at jarrett core]$ export
[cohen at jarrett core]$ python
Python 2.6.2 (r262:71600, Jan 25 2010, 18:46:45)
[GCC 4.4.2 20091222 (Red Hat 4.4.2-20)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import umath_tests
python: Modules/gcmodule.c:277: visit_decref: Assertion `gc->gc.gc_refs
!= 0' failed.
Aborted (core dumped)
so this import also trigger the crash at exit...
> Just importing test_ufunc.py probably doesn't run a lot of extension code. Since you don't get crashes only by importing numpy, I really don't see many alternatives any more...
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
More information about the NumPy-Discussion