[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-21 Thread STINNER Victor
STINNER Victor added the comment: I have no idea why the test fails on this specific server, whereas it pass on our large fleet of buildbots which test various libc and various compilers and platforms. I cannot investigate if I cannot reproduce the failure. Someone should run the test in a

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-21 Thread Matej Cepl
Matej Cepl added the comment: I don't think this has been really fixed, see attached log,even with the patch applied I am still getting: [ 6220s] == [ 6220s] FAIL: test_pyobject_freed_is_freed

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-07 Thread STINNER Victor
STINNER Victor added the comment: Matej Cepl: thanks for the bug report, it should now be fixed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 ___ Python tracker

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 357626676035d2bb12ea92e0edf3c7b383d627ec by Victor Stinner in branch '3.8': bpo-37169: Rewrite _PyObject_IsFreed() unit tests (GH-13888) (GH-13895) https://github.com/python/cpython/commit/357626676035d2bb12ea92e0edf3c7b383d627ec --

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-07 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13769 pull_request: https://github.com/python/cpython/pull/13895 ___ Python tracker ___

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3bf0f3ad2046ac674d8e8a2c074a5a8b3327797d by Victor Stinner in branch 'master': bpo-37169: Rewrite _PyObject_IsFreed() unit tests (GH-13888) https://github.com/python/cpython/commit/3bf0f3ad2046ac674d8e8a2c074a5a8b3327797d --

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-07 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +13762 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13888 ___ Python tracker ___

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-06 Thread STINNER Victor
STINNER Victor added the comment: I designed unit tests to be optimistic: expect that freed memory will be untouched during a few Python instructions: # create an object, free its memory obj = _testcapi.pyobject_freed() # check that the object memory is freed error =

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-06 Thread STINNER Victor
STINNER Victor added the comment: Oh wait, only PyMemMallocDebugTests fails: class PyMemMallocDebugTests(PyMemDebugTests): PYTHONMALLOC = 'malloc_debug' Logs: [ 2863s] test_pyobject_is_freed_free (test.test_capi.PyMemDebugTests) ... ok [ 2863s] test_pyobject_is_freed_free

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-06 Thread STINNER Victor
STINNER Victor added the comment: test_pyobject_is_freed_free() test can be simplified as attached is_freed.py using: $ LD_LIBRARY_PATH=$PWD PYTHONMALLOC=debug ./python is_freed.py; echo $? 0 0 means success: the test pass. 1 means failure: the test fails. (Again, I cannot reproduce this

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-06 Thread STINNER Victor
STINNER Victor added the comment: Matej provides me a link to the build logs on IRC: It's GCC 9.1.1 (gcc9-9.1.1+r271393-1.2) The compilation uses PGO and LTO. ./configure --host=x86_64-suse-linux-gnu --build=x86_64-suse-linux-gnu --program-prefix= --disable-dependency-tracking

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-06 Thread Matej Cepl
Matej Cepl added the comment: Complete build log which shows all dependent libraries, compilation options, etc. If you want any other artifacts (config.log, Python.h) just let me know. -- Added file: https://bugs.python.org/file48397/log.txt.gz

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-06 Thread STINNER Victor
STINNER Victor added the comment: > When building openSUSE package for Python-3.8.0b1 (on x86_64 build system > with the latest openSUSE/Tumbleweed) How do you build Python? * configure command * C compiler * etc. -- ___ Python tracker

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-06 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-05 Thread Matej Cepl
New submission from Matej Cepl : 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]