Comment 6 for bug 314814

Revision history for this message
rick_dean (rick-fdd) wrote :

The attached one line patch to test_ssl.py tries to
print the common name of the certificate's subject in the verify_cb()
but causes python to assert/abort for me with...

python: Modules/gcmodule.c:261: update_refs: Assertion `gc->gc.gc_refs != 0' failed.

This page http://arctrix.com/nas/python/gc/ has an excellent description
of gc_refs, although not the common correction for this failure.
This page https://www.cca-forum.org/bugs/babel/issue397 suggests
this type of problem can be caused by an extra Py_DECREF().