This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients mcepl, vstinner
Date 2019-06-06.15:39:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1559835561.41.0.749918285161.issue37169@roundup.psfhosted.org>
In-reply-to
Content
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 (test.test_capi.PyMemDefaultTests) ... skipped 'need Py_DEBUG'
[ 2863s] test_pyobject_is_freed_free (test.test_capi.PyMemMallocDebugTests) ... FAIL
[ 2863s] test_pyobject_is_freed_free (test.test_capi.PyMemPymallocDebugTests) ... ok

So the correct line to reproduce the bug should be:

$ LD_LIBRARY_PATH=$PWD PYTHONMALLOC=malloc_debug ./python is_freed.py; echo $?
0
History
Date User Action Args
2019-06-06 15:39:21vstinnersetrecipients: + vstinner, mcepl
2019-06-06 15:39:21vstinnersetmessageid: <1559835561.41.0.749918285161.issue37169@roundup.psfhosted.org>
2019-06-06 15:39:21vstinnerlinkissue37169 messages
2019-06-06 15:39:21vstinnercreate