fatal error: GC object already tracked

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Vikram

    fatal error: GC object already tracked


    hi,

    i have a program which uses multiple threads and downloads pages using
    pycurl and processes these pages among other things. the program works
    fine with python 2.2 and pycurl 7.10.8 ;

    with python 2.3 i get two kinds of errors maybe related? a) python dumps
    core and prints out "Fatal Python error: GC object already tracked" b) the
    program just waits at update_refs() function inside the python GC code
    path and doesn't append anything to the logs nor perform any activity.


    any idea why or suggestions ?

    Vikram

    ps: the Fatal Python error: GC object already tracked" error seems to be
    an open bug filed by someone else in october 2003.

    ---
    (gdb) bt
    #0 0x8819082c in kill () from /usr/lib/libc_r.so.4
    #1 0x881dea8a in abort () from /usr/lib/libc_r.so.4
    #2 0x80d4eb5 in Py_FatalError ()
    #3 0x80855b4 in PyTuple_New ()
    #4 0x80b340a in load_args ()
    #5 0x80b2dc8 in call_function ()
    #6 0x80b02ac in eval_frame ()
    #7 0x80b3054 in fast_function ()
    #8 0x80b2eb5 in call_function ()
    #9 0x80b02ac in eval_frame ()
    #10 0x80b3054 in fast_function ()
    #11 0x80b2eb5 in call_function ()
    #12 0x80b02ac in eval_frame ()
    #13 0x80b3054 in fast_function ()
    #14 0x80b2eb5 in call_function ()
    #15 0x80b02ac in eval_frame ()
    #16 0x80b1821 in PyEval_EvalCode Ex ()
    #17 0x80b30fd in fast_function ()
    #18 0x80b2eb5 in call_function ()
    #19 0x80b02ac in eval_frame ()
    #20 0x80b1821 in PyEval_EvalCode Ex ()
    #21 0x80b30fd in fast_function ()
    #22 0x80b2eb5 in call_function ()
    #23 0x80b02ac in eval_frame ()
    #24 0x80b1821 in PyEval_EvalCode Ex ()
    #25 0x80f6fc6 in function_call ()
    #26 0x805ad0f in PyObject_Call ()
    #27 0x80b3750 in ext_do_call ()
    #28 0x80b03d1 in eval_frame ()
    #29 0x80b3054 in fast_function ()
    #30 0x80b2eb5 in call_function ()
    #31 0x80b02ac in eval_frame ()
    #32 0x80b1821 in PyEval_EvalCode Ex ()
    #33 0x80f6fc6 in function_call ()
    #34 0x805ad0f in PyObject_Call ()
    #35 0x8061b7d in instancemethod_ call ()
    #36 0x805ad0f in PyObject_Call ()
    #37 0x80b2a80 in PyEval_CallObje ctWithKeywords ()
    #38 0x80db217 in t_bootstrap ()
    #39 0x8816b0a8 in _thread_start () from /usr/lib/libc_r.so.4
    #40 0x0 in ?? ()


Working...