Bugs item #1488906, was opened at 2006-05-15 11:05
Message generated for change (Comment added) made by collinwinter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1488906&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Interpreter Core
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Matejcik (spektrum)
Assigned to: Nobody/Anonymous (nobody)
Summary: endless loop in PyCFunction_Fini()

Initial Comment:
see https://bugzilla.novell.com/show_bug.cgi?id=171066

Basically, under some circumstances not yet determined,
PyCFunction_Fini() goes into an endless loop over a
cyclic linked list.

void
PyCFunction_Fini(void)
{
    while (free_list) {
        PyCFunctionObject *v = free_list;
        free_list = (PyCFunctionObject *)(v->m_self);
        PyObject_GC_Del(v);
    }
}

it looks like it's sufficient to do
v->m_self = NULL;
or something.
However, for one, i'm not sure if this wouldn't break
something, and for two, free_list should never be
cyclic, right?

----------------------------------------------------------------------

Comment By: Collin Winter (collinwinter)
Date: 2006-06-28 08:11

Message:
Logged In: YES 
user_id=1344176

I've been unable to reproduce this with any combination of
the following: libxml2 (v2.6.23, v2.6.26), Python (v2.4.1,
v2.4.2, v2.4.3, SVN r47141). Testing was done on Linux
2.6.13 x86 with gcc 3.3.6.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1488906&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to