Bug 614680

Summary: Try to print repr() when a fatal garbage collection assertion fails
Product: Red Hat Enterprise Linux 6 Reporter: Dave Malcolm <dmalcolm>
Component: pythonAssignee: Dave Malcolm <dmalcolm>
Status: CLOSED ERRATA QA Contact: Petr Šplíchal <psplicha>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: ohudlick
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-2.6.6-5.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 850013 (view as bug list) Environment:
Last Closed: 2011-05-19 11:36:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 850013, 971858    

Description Dave Malcolm 2010-07-15 00:11:16 UTC
Am seeing occasional assertion failures in the garbage collector.

These are typically reference-counting errors _somewhere_ in one of the DSOs linked into the python process, and are thus hard to track down.

See e.g. bug 613917

Arguably we could build without assertions, but this could well turn these errors into segfaults rather than asserts.

I've written a patch that changes these assertions so that they also attempt to print the repr() of the problem object to stderr before aborting, in the hope of better crash reports.

Sent upstream as:
http://bugs.python.org/issue9263

Comment 10 errata-xmlrpc 2011-05-19 11:36:42 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0554.html

Comment 11 errata-xmlrpc 2011-05-19 13:07:29 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0554.html