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 augustogoulart
Recipients a-j-buxton, augustogoulart, pablogsal, rhettinger, ronaldoussoren, serhiy.storchaka, terry.reedy, vstinner
Date 2018-11-13.13:13:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1542114814.82.0.788709270274.issue33930@psf.upfronthosting.co.za>
In-reply-to
Content
ronaldoussoren, I have tested (Debian 9) substituting "_PyObject_GC_UNTRACK(m);" to "PyObject_GC_UnTrack(m);", and although the tests pass, I'm can still see the segfault error.

diff --git a/Objects/methodobject.c b/Objects/methodobject.c
index cfea8cf410..cb8e279c7d 100644
--- a/Objects/methodobject.c
+++ b/Objects/methodobject.c
@@ -84,7 +84,7 @@ PyCFunction_GetFlags(PyObject *op)
 static void
 meth_dealloc(PyCFunctionObject *m)
 {
-    _PyObject_GC_UNTRACK(m);
+    PyObject_GC_UnTrack(m);
     if (m->m_weakreflist != NULL) {
         PyObject_ClearWeakRefs((PyObject*) m);
     }
History
Date User Action Args
2018-11-13 13:13:34augustogoulartsetrecipients: + augustogoulart, rhettinger, terry.reedy, ronaldoussoren, vstinner, serhiy.storchaka, pablogsal, a-j-buxton
2018-11-13 13:13:34augustogoulartsetmessageid: <1542114814.82.0.788709270274.issue33930@psf.upfronthosting.co.za>
2018-11-13 13:13:34augustogoulartlinkissue33930 messages
2018-11-13 13:13:34augustogoulartcreate