Xavier de Gaye added the comment:
That was really fast Victor!
I confirm that the '-R 23:23' refleak test does not crash any more here after
changeset 5d87a6b38422.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22588
STINNER Victor added the comment:
That was really fast Victor!
I modified test_capi to only run one testcase, and I modified the testcase
which caused the issue to run a subset of tests. By dichotomy, I found that
only one function caused the fatal error.
Does anyone know how to automatize
Xavier de Gaye added the comment:
With the attached patch (the patch does reintroduce the bug in
'test_incref_decref_API' for testing purposes), it is possible to find the
failing subtest rapidly:
Get the number of subtests (35 subsets):
$ export SUBTEST_RANGE=[]
$ ./python -m test -m
Changes by Xavier de Gaye xdeg...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file36870/subtest_in_range.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22588
___
STINNER Victor added the comment:
Please open a new issue, this one is closed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22588
___
___
New submission from Xavier de Gaye:
This does not happen on tests run with '-R 22:22' or a lower run count, but
occur systematically with '-R 23:23' or a greater run count.
$ ./python
Python 3.5.0a0 (default:1e1c6e306eb4, Oct 9 2014, 19:52:59)
[GCC 4.9.1 20140903 (prerelease)] on linux
Type
Stefan Krah added the comment:
I cannot reproduce this here. Did you run make distclean before compiling?
--
nosy: +skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22588
___
Roundup Robot added the comment:
New changeset 5d87a6b38422 by Victor Stinner in branch '3.4':
Issue #22588: Fix typo in _testcapi.test_incref_decref_API()
https://hg.python.org/cpython/rev/5d87a6b38422
--
nosy: +python-dev
___
Python tracker
STINNER Victor added the comment:
but occur systematically with '-R 23:23' or a greater run count.
I was able to reproduce the issue. I found that the error came from
test_incref_decref_API(). After my change, it looks like test_capi doesn't
crash anymore.
$ ./python -m test -R 23:23