[Python-modules-team] Bug#949240: src:subvertpy: tests crash with -dbg
Andrej Shadura
andrewsh at debian.org
Sat Jan 18 17:41:28 GMT 2020
Package: src:subvertpy
Version: 0.10.2~git20191228+2423bf1-1
Severity: normal
Dear Maintainer,
Tests crash with the latest snapshot of subvertpy when python3-all-dbg/
python-all-dbg is enabled. (I had to disable them in 07e5ac8.)
I: pybuild base:217: python3.8-dbg setup.py test
running test
running build
running build_py
running build_ext
running build_scripts
Running unittest without install.
.s./<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dbg_subvertpy/build/subvertpy/ra.py:50: DeprecationWarning: urllib.parse.splittype() is deprecated as of 3.8, use urllib.parse.urlparse() instead
(type, opaque) = splittype(url)
...................................................................................../<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dbg_subvertpy/build/subvertpy/tests/test_ra.py:121: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
self.ra.change_rev_prop(1, "foo", "bar")
../<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dbg_subvertpy/build/subvertpy/tests/__init__.py:109: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
self.file.change_prop(name, value)
./<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dbg_subvertpy/build/subvertpy/tests/test_ra.py:155: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
reporter.finish()
../usr/include/python3.8d/object.h:541: _Py_NegativeRefcount: Assertion failed: object has negative ref count
<object at 0x7f3b414247d0 is freed>
Fatal Python error: _PyObject_AssertFailed
Python runtime state: initialized
Current thread 0x00007f3b42fe1740 (most recent call first):
File "/usr/lib/python3.8/unittest/case.py", line 633 in _callTestMethod
File "/usr/lib/python3.8/unittest/case.py", line 676 in run
File "/usr/lib/python3.8/unittest/case.py", line 736 in __call__
File "/usr/lib/python3.8/unittest/suite.py", line 122 in run
File "/usr/lib/python3.8/unittest/suite.py", line 84 in __call__
File "/usr/lib/python3.8/unittest/suite.py", line 122 in run
File "/usr/lib/python3.8/unittest/suite.py", line 84 in __call__
File "/usr/lib/python3.8/unittest/suite.py", line 122 in run
File "/usr/lib/python3.8/unittest/suite.py", line 84 in __call__
File "/usr/lib/python3.8/unittest/runner.py", line 176 in run
File "/usr/lib/python3.8/unittest/main.py", line 271 in runTests
File "/usr/lib/python3.8/unittest/main.py", line 101 in __init__
File "setup.py", line 333 in run
File "/usr/lib/python3.8/distutils/dist.py", line 985 in run_command
File "/usr/lib/python3.8/distutils/dist.py", line 966 in run_commands
File "/usr/lib/python3.8/distutils/core.py", line 148 in setup
File "setup.py", line 427 in <module>
Aborted (core dumped)
E: pybuild pybuild:341: test: plugin distutils failed with: exit code=134: python3.8-dbg setup.py test
A similar issue is observed with python2.7-dbg.
--
Cheers,
Andrej
More information about the Python-modules-team
mailing list