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 vstinner
Date 2019-09-09.14:12:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568038329.73.0.111275785287.issue38070@roundup.psfhosted.org>
In-reply-to
Content
> visit_decref() is commonly found in C traceback (ex: gdb backtrace) of bugs related to the garbage collector.

Example with attached bpo-38037-bug.patch: you can apply this patch on the master branch to reintroduce  bpo-38037 bug.

vstinner@apu$ git apply bpo-38037-bug.patch
vstinner@apu$ make

Without PR 15782:

vstinner@apu$ ./python -c pass 
Segmentation fault (core dumped)


With PR 15782:

vstinner@apu$ ./python -c pass 
Modules/gcmodule.c:379: visit_decref: Assertion "!_PyObject_IsFreed(op)" failed
<object: freed>
Fatal Python error: _PyObject_AssertFailed

Current thread 0x00007f171a280740 (most recent call first):
Aborted (core dumped)


The bug is catched earlier. And Python provides more information.
History
Date User Action Args
2019-09-09 14:12:09vstinnersetrecipients: + vstinner
2019-09-09 14:12:09vstinnersetmessageid: <1568038329.73.0.111275785287.issue38070@roundup.psfhosted.org>
2019-09-09 14:12:09vstinnerlinkissue38070 messages
2019-09-09 14:12:09vstinnercreate