New submission from Matej Cepl <mc...@cepl.eu>:
When building openSUSE package for Python-3.8.0b1 (on x86_64 build system with the latest openSUSE/Tumbleweed) in the package which previously worked all the way up to 3.8.0.a4, I get this test failing: [ 5771s] ====================================================================== [ 5771s] FAIL: test_pyobject_is_freed_free (test.test_capi.PyMemMallocDebugTests) [ 5771s] ---------------------------------------------------------------------- [ 5771s] Traceback (most recent call last): [ 5771s] File "/home/abuild/rpmbuild/BUILD/Python-3.8.0b1/Lib/test/test_capi.py", line 729, in test_pyobject_is_freed_free [ 5771s] self.check_pyobject_is_freed('pyobject_freed') [ 5771s] File "/home/abuild/rpmbuild/BUILD/Python-3.8.0b1/Lib/test/test_capi.py", line 720, in check_pyobject_is_freed [ 5771s] assert_python_ok('-c', code, PYTHONMALLOC=self.PYTHONMALLOC) [ 5771s] File "/home/abuild/rpmbuild/BUILD/Python-3.8.0b1/Lib/test/support/script_helper.py", line 157, in assert_python_ok [ 5771s] return _assert_python(True, *args, **env_vars) [ 5771s] File "/home/abuild/rpmbuild/BUILD/Python-3.8.0b1/Lib/test/support/script_helper.py", line 143, in _assert_python [ 5771s] res.fail(cmd_line) [ 5771s] File "/home/abuild/rpmbuild/BUILD/Python-3.8.0b1/Lib/test/support/script_helper.py", line 70, in fail [ 5771s] raise AssertionError("Process return code is %d\n" [ 5771s] AssertionError: Process return code is 1 [ 5771s] command line: ['/home/abuild/rpmbuild/BUILD/Python-3.8.0b1/python', '-X', 'faulthandler', '-c', '\nimport gc, os, sys, _testcapi\n# Disable the GC to avoid crash on GC collection\ngc.disable()\nobj = _testcapi.pyobject_freed()\nerror = (_testcapi.pyobject_is_freed(obj) == False)\n# Exit immediately to avoid a crash while deallocating\n# the invalid object\nos._exit(int(error))\n'] [ 5771s] [ 5771s] stdout: [ 5771s] --- [ 5771s] [ 5771s] --- [ 5771s] [ 5771s] stderr: [ 5771s] --- [ 5771s] [ 5771s] --- [ 5771s] [ 5771s] ---------------------------------------------------------------------- ---------- components: Interpreter Core messages: 344782 nosy: mcepl priority: normal severity: normal status: open title: test_pyobject_is_freed_free fails with 3.8.0beta1 versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37169> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com