Bug 850013 - Try to print repr() when a fatal garbage collection assertion fails
Summary: Try to print repr() when a fatal garbage collection assertion fails
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: python
Version: 7.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Bohuslav "Slavek" Kabrda
QA Contact: Branislav Náter
Depends On: 614680
Blocks: 971858
TreeView+ depends on / blocked
Reported: 2012-08-21 13:16 UTC by Branislav Náter
Modified: 2018-11-14 12:41 UTC (History)
2 users (show)

Fixed In Version: python-2.7.5-3.el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 614680
: 971858 (view as bug list)
Last Closed: 2014-06-13 12:50:20 UTC
Target Upstream Version:

Attachments (Terms of Use)

Comment 5 Dave Malcolm 2013-02-20 21:48:24 UTC
Refreshed patch against 2.7 committed to Fedora git "master" for Fedora 19:

Building python-2.7.3-25.fc19 for rawhide
Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=5038014

Comment 6 Bohuslav "Slavek" Kabrda 2013-07-24 10:03:41 UTC
This has been merged into RHEL 7 dist-git a while ago. The current build, python-2.7.5-3.el7 has this patch incorporated. Moving to MODIFIED.

Comment 8 Branislav Náter 2013-11-07 11:03:06 UTC
Fix has been verified on python-debug-2.7.5-8.el7 on all architectures.

:: [   LOG    ] :: Test

test_refcount_errors (__main__.GCTests) ... 
Assertion error message was:

/builddir/build/BUILD/Python-2.7.5/Modules/gcmodule.c:437: visit_decref: Assertion "gc->gc.gc_refs != 0" failed.
refcount was too small
object  : []
type    : list
refcount: 1
address : 0x9a789758


Ran 1 test in 0.091s

[39180 refs]
:: [   PASS   ] :: Running the test (Expected 0, got 0)

Comment 9 Ludek Smid 2014-06-13 12:50:20 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.

Note You need to log in before you can comment on or make changes to this bug.